| Title | Search cannot find terms with underscores |
| Date | 26-Apr-2005 00:38:06 EEST |
| Version | 2.1.166 |
| Submitter | ThomVaught |
| Bug criticality | MediumBug |
| Browser version | Firefox |
| Bug status | ClosedBug |
| PageProvider used | default |
| Servlet Container | Tomcat |
| Operating System | Linux |
| URL | http://sandbox.jspwiki.org/Wiki.jsp?page=Cannot_Find_Me![]() |
| Java version | 1.4.02 |
I cannot get the search engine to find terms with an underscore character in them. However, filenames with a period require the entire filename to match. It seems that there is a mismatch between the search index tokenizer and the search tokenizer. Is there a config paramter to control this or is this a genuine bug?
You are probably right. You can turn off lucene with "jspwiki.useLucene=false", and switch the analyzer with "jspwiki.lucene.analyzer=<classname>".
I'll need to delve into Lucene indexing a bit more these days...
This is almost 2 years old, can be closed I guess, if not, feel free to re-open.
