Tejasbhanushali created LUCENE-7224:
---------------------------------------

             Summary: Remove duplicate term in auto suggestion using copyfield 
in solr 5.5
                 Key: LUCENE-7224
                 URL: https://issues.apache.org/jira/browse/LUCENE-7224
             Project: Lucene - Core
          Issue Type: Bug
    Affects Versions: 5.5
            Reporter: Tejasbhanushali
            Priority: Blocker


{
  "responseHeader": {
    "status": 0,
    "QTime": 1473
  },
  "command": "build",
  "suggest": {
    "mySuggester": {
      "Fruits": {
        "numFound": 10,
        "suggestions": [
          {
            "term": "<b>Fruits</b> & Vegetables",
            "weight": 1000,
            "payload": ""
          },
          {
            "term": "<b>Fruits</b> & Vegetables",
            "weight": 1000,
            "payload": ""
          },
          {
            "term": "<b>Fruits</b> & Vegetables",
            "weight": 980,
            "payload": ""
          },
          {
            "term": "<b>Fruits</b> & Vegetables",
            "weight": 980,
            "payload": ""
          },
          {
            "term": "<b>Fruits</b> & Vegetables",
            "weight": 800,
            "payload": ""
          },
          {
            "term": "<b>Fruits</b> & Vegetables",
            "weight": 588,
            "payload": ""
          },
          {
            "term": "Cut <b>Fruits</b>",
            "weight": 456,
            "payload": ""
          },
          {
            "term": "<b>Fruits</b>",
            "weight": 456,
            "payload": ""
          },
          {
            "term": "<b>Fruits</b> & Vegetables",
            "weight": 456,
            "payload": ""
          },
          {
            "term": "<b>Fruits</b>",
            "weight": 456,
            "payload": ""
          }
        ]
      }
    }
  }
}

duplicate output getting on auto suggestion based on multiple filed using 
copyfield . FYI "Fruits</b> & Vegetables" .

we have segment --  category(multiple) -- subcategory(multiple)--products 
hierarchy 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to