You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/01/21 22:36:00 UTC
[jira] [Commented] (SOLR-15944) Tagger JSON should use an object, not an array
[ https://issues.apache.org/jira/browse/SOLR-15944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17480277#comment-17480277 ]
ASF subversion and git services commented on SOLR-15944:
--------------------------------------------------------
Commit bf55ef0801604df80919f9966162ec44a5aa9c18 in solr's branch refs/heads/main from David Smiley
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=bf55ef0 ]
SOLR-15944: Tagger: JSON response should use map not array (#552)
(for each tag)
> Tagger JSON should use an object, not an array
> ----------------------------------------------
>
> Key: SOLR-15944
> URL: https://issues.apache.org/jira/browse/SOLR-15944
> Project: Solr
> Issue Type: Bug
> Reporter: David Smiley
> Assignee: David Smiley
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The SolrTextTagger's tag structure in JSON looks like this by default:
> {noformat}
> tags":[[
> "startOffset",6,
> "endOffset",19,
> "ids",["5128581"]]]
> {noformat}
> But really it should be in an object form:
> {noformat}
> "tags":[{
> "startOffset":6,
> "endOffset":19,
> "ids":["5128581"]}]
> {noformat}
> Reported on the dev list by a user: https://lists.apache.org/thread/45x8q8x8zjhqbv9n7fyczyq558t2rfcv
> This is easily fixed.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org