Solr sort search using AND operator first and then results from OR operator -
let's have phrase like:
cyclone winston fiji relief appeal
and first want display words in results, , search, , after display results have @ least 1 word in it, or search.
is possible, , how should done?
so first i'll see results like:
cyclone winston fiji relief appeal
appeal cyclone winston fiji relief
appeal fiji relief cyclone winston
...
and results like:
cyclon
widston
appeal
fiji
...
solr (lucene actually) not have , and or commands - in-reality must, should, , not each term. , said should match standard should use case, happens when don't special. terms match, more relevant is.
so, if not getting that, else problem. can enable debugging see happens (though takes time understand output). 1 scenario using edismax , searching across multiple fields matches coming different sources. best field match used , other matches shadowed. using tie parameter can that.
Comments
Post a Comment