[
https://issues.apache.org/jira/browse/SOLR-15944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17481024#comment-17481024
]
ASF subversion and git services commented on SOLR-15944:
--------------------------------------------------------
Commit bf55ef0801604df80919f9966162ec44a5aa9c18 in solr's branch
refs/heads/jira/SOLR15715 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: 20m
> 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: [email protected]
For additional commands, e-mail: [email protected]