lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Getting duplicate output while doing auto suggestion based on multiple filed using copy filed in solr 5.5
Date Sun, 17 Apr 2016 03:03:12 GMT
You haven't responded to Chris's request for clarification.

Best,
Erick

On Fri, Apr 15, 2016 at 11:43 PM, Tejas Bhanushali
<contact.tejasbhanushali@gmail.com> wrote:
> any update on it?
>
> On Fri, Apr 15, 2016 at 11:18 PM, Tejas Bhanushali <
> contact.tejasbhanushali@gmail.com> wrote:
>
>> Hi Team,
>>
>> Im getting the duplicate result when i do auto suggestion based on
>> multiple filed by using copy filed . i have below table configuration .
>>
>> Segment -- have multiple category -- have multiple sub category -- have
>> multiple products.
>>
>> suggestion are given based on
>> segment name, category name, sub category name and product name.
>>
>> below is output .
>>
>> ---------------
>>
>> {
>>   "responseHeader": {
>>     "status": 0,
>>     "QTime": 1375
>>   },
>>   "command": "build",
>>   "suggest": {
>>     "mySuggester": {
>>       "Fruit": {
>>         "numFound": 10,
>>         "suggestions": [
>>           {
>>             "term": "<b>Fruit</b>s & Vegetables",
>>             "weight": 1000,
>>             "payload": ""
>>           },
>>           {
>>             "term": "<b>Fruit</b>s & Vegetables",
>>             "weight": 1000,
>>             "payload": ""
>>           },
>>           {
>>             "term": "<b>Fruit</b>s & Vegetables",
>>             "weight": 980,
>>             "payload": ""
>>           },
>>           {
>>             "term": "<b>Fruit</b>s & Vegetables",
>>             "weight": 980,
>>             "payload": ""
>>           },
>>           {
>>             "term": "<b>Fruit</b>s & Vegetables",
>>             "weight": 800,
>>             "payload": ""
>>           },
>>           {
>>             "term": "<b>Fruit</b>s & Vegetables",
>>             "weight": 588,
>>             "payload": ""
>>           },
>>           {
>>             "term": "Cut <b>Fruit</b>s",
>>             "weight": 456,
>>             "payload": ""
>>           },
>>           {
>>             "term": "<b>Fruit</b>s",
>>             "weight": 456,
>>             "payload": ""
>>           },
>>           {
>>             "term": "<b>Fruit</b>s & Vegetables",
>>             "weight": 456,
>>             "payload": ""
>>           },
>>           {
>>             "term": "<b>Fruit</b>s",
>>             "weight": 456,
>>             "payload": ""
>>           }
>>         ]
>>       }
>>     }
>>   }
>> }
>>
>> --
>> Thanks & Regards,
>>
>> Tejas Bhanushali
>>
>
>
>
> --
> Thanks & Regards,
>
> Tejas Bhanushali

Mime
View raw message