Hi

I have a dismax query with a mininimum match settings, this allows some terms to be missing in query results.

I would like give a feedback to the user, highlighting the not matched words. It would be interesting also to show the words with a very low frequence.

For instance searching for "purple pendrive" I would highlight that the results ignore the term "purple", beacuse we don't have any.

Can you suggest how to approach the problem?

I was thinking about the debugQuery output, but since I will not get details about all the results I probably will miss something.

I am trying to write a new SearchComponent but I don't know how to get term frequency data from a ResponseBuilder object... I am new to solr/lucene programming.

Thanks a lot




Reply via email to