lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tejas Bhanushali <contact.tejasbhanush...@gmail.com>
Subject Re: Getting duplicate output while doing auto suggestion based on multiple filed using copy filed in solr 5.5
Date Sat, 16 Apr 2016 06:43:36 GMT
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message