Copy link to clipboard
Copied
Hi,
I have the latest RH 2017 rel. 2. I generated the classic "red green" test project:
First Topic has two words: red green
Second Topic one word: red
Third Topic one word: green.
Generate using RH2017 version of Charcoal_Grey layout.
Search parameters set as follow:
In output, search for green AND NOT red.
Result: all 3 topics are shown as results. Should only show Topic 3. Seems boolean operators are being ignored.
Tested latest versions of: Chrome, FF, IE 11 (after applying .js fixes)
Similar test in RH 2015 rel 4 worked properly.
Seems boolean search has stopped working. Is there some fix I can make to re-enable it?
Thanks,
Jeanne
Copy link to clipboard
Copied
After digging around, I see that in RH 2017 the mhfhost.js file has some new code that strips stopwords out of the search string. Since "and" and "not" are both stopwords, it is screwing up search. Workaround for us for now will be to remove those from the stopwords list.
One other thing I noticed after removing those terms from the stoplist: if you include "and not" in the phrase (i.e. you want to use boolean operators), you must also uncheck the “Include all words in search” box or else the search will not work.
Jeanne