Hi,

Forgive me using this channel but I didn't find better place to ask and 
eventually propose the change below.

I'm just implementing content tagging with use of Solr Tagger Handler and I'm 
wondering why "tags" in Tagger response is an array of arrays instead of array 
of objects?

As in example from
https://solr.apache.org/guide/8_7/the-tagger-handler.html

{
  "responseHeader":{
    "status":0,
    "QTime":1},
  "tagsCount":1,
  "tags":[[
      "startOffset",6,
      "endOffset",19,
      "ids",["5128581"]]],
  "response":{"numFound":1,"start":0,"docs":[
      {
        "id":"5128581",
        "name":["New York City"],
        "countrycode":["US"]}]
  }}

Wouldn't it be more intuitive and easy to use:


...

  "tags":[{

      "startOffset":6,

      "endOffset":19,

      "ids":["5128581"]}],

...


Best regards,
Łukasz Sokołowski

Reply via email to