You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2022/01/25 05:17:00 UTC

[jira] [Resolved] (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:all-tabpanel ]

David Smiley resolved SOLR-15944.
---------------------------------
    Fix Version/s: 9.0
       Resolution: Fixed

> 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
>             Fix For: 9.0
>
>          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: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org