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/21 04:34:00 UTC
[jira] [Assigned] (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 reassigned SOLR-15944:
-----------------------------------
Assignee: David Smiley
> 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