I tried the autoRelax future, but it does not serve the purpose. The
autoRelax is applied when words are removed from query field due to
stopwords, etc
So it is applied before the results are fetched.
In my case, if no results are found, I want best possible results.
So if I search for +A +B +C +D
Hello All,
I want to modify a boolean AND search.
Just to give an example.
If somebody searches for +A +B +C, but if there is no document which
contains all three phrases, it should return the least +A +B or +A +C.
Could you please tell me which classes will I need to modify for this ?
Thanks,
N