Item12951: Stopwords are treated as regex in search which can cause confusion
Current State: Closed
Released In: 2.0.0
Target Release: major
The default set of Stopwords in the search contains "i.e.".
The Parser.pm treats this stopword as a regexp which matches all four letter words starting with "i" and third character "e".
So, for instance a search for "IEEE" is leading to 0 results.
Either it should be documented that stopwords are regular expressions (and then change "i.e." to "i\.e\.") or the stopwords should not be treated this way.
Thank you and best regards,
- 30 Jun 2014
Thanks for catching this. It will be fixed in Foswiki 1.2. The search code will auto quote any meta characters passed in the stopwords. Note that if you've worked around this by changing the stopword to
, after 1.2, the escapes will need to be removed, or the stopword will literally be
- 01 Jul 2014