Re: How to find out which search terms have matches in a search

2018-06-18 Thread Derek Poh
Hi Erik I have explored the facetquery but it doesnotreally help. Thank you for your suggestion. On 12/6/2018 7:49 PM, Erik Hatcher wrote: Derek - One trick I like to do is try various forms of a query all in one go. With facet=on, you can: &facet.query=big brown bear &facet.query=

Re: How to find out which search terms have matches in a search

2018-06-18 Thread Derek Poh
Seems like theHighlight feature could help but with some workaround. Will need to explore more on it. Thank you. On 12/6/2018 5:32 PM, Alessandro Benedetti wrote: I would recommend to look into the Highlight feature[1] . There are few implementations and they should be all right for your user r

Re: How to find out which search terms have matches in a search

2018-06-12 Thread Erik Hatcher
Derek - One trick I like to do is try various forms of a query all in one go. With facet=on, you can: &facet.query=big brown bear &facet.query=big brown &facet.query=brown bear &facet.query=big &facet.query=brown &facet.query=bear The returned counts give you an indication of what

Re: How to find out which search terms have matches in a search

2018-06-12 Thread Alessandro Benedetti
I would recommend to look into the Highlight feature[1] . There are few implementations and they should be all right for your user requirement. Regards [1] https://lucene.apache.org/solr/guide/7_3/highlighting.html - --- Alessandro Benedetti Search Consultant, R&D Software Engi

Re: How to find out which search terms have matches in a search

2018-06-12 Thread Derek Poh
Sorry I realized the strike through on the term "bear" in "big brown bear" cannot be displayaccordinglyin the mailing list. My aim is to have the search terms "big brown bear", display on the search result page with the term "bear" striked through since it does not have a match in the search res

How to find out which search terms have matches in a search

2018-06-11 Thread Derek Poh
Hi How can I find out which search terms have matches in a search? Eg. The search terms are "big brown bear".And only "big" and "brown" have matches in the searchresult. Can Solr return this information that "big" and "brown" have matches in the search result? I want touse this information to