Re: Returning unique values for suggestion

2017-08-04 Thread Zheng Lin Edwin Yeo
Hi Walter, Can we consider this as a bug/improvement for the /suggest handler which uses highlighter? Regards, Edwin On 20 July 2017 at 10:14, Zheng Lin Edwin Yeo wrote: > I am getting something similar to yours too, but I'm using Solr 6.5.1. > > > "highlighting":{ >

Re: Returning unique values for suggestion

2017-07-19 Thread Zheng Lin Edwin Yeo
I am getting something similar to yours too, but I'm using Solr 6.5.1. "highlighting":{ "1":{ "content":["Incoming Call"]}, "2":{ "content":["Incoming Call"]}, "3":{ "content":["Outgoing Call"]}, "4":{ "content":["Outgoing Call"]},

Re: Returning unique values for suggestion

2017-07-19 Thread Walter Underwood
I was surprised to see duplicate suggestions coming from my 4.10.4 suggester. This is analyzing infix with terms loaded from the index. "titles_infix": { "chemistry": { "numFound": 10, "suggestions": [ { "term": "Chemistry", "weight": 5285, "payload": "" }, { "term": "Chemistry", "weight": 4548,

Returning unique values for suggestion

2017-07-19 Thread Zheng Lin Edwin Yeo
Hi, Is there any configuration that we can set for the /suggest handler, so that the suggestion output will only return unique records, and not duplicated? Below is my /suggest handler. all json true content 100 id, score on content true false html 100 204800 true