Red Hat Bugzilla – Bug 1012185
RFE - Support searching with booleans and with regex
Last modified: 2014-08-04 18:29:20 EDT
Description of problem:
Search currently only returns hits on phrases in a topic. Search could be made far more useful if it also supported searching for words with booleans and with regexes. Search functionality equivalent to what a user might be used to when grepping a local filesystem would be nice to have.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. enter two or more words in the search field
2. click search
The words are treated as a phrase. Unless those words occur in that precise order within a topic, you will not find it with search
Search should default to boolean OR, but support boolean AND. Phrase searching should still be supported, either with quotes in the search box or a GUI control. Regexes would be even more useful.
The current implementation is probably non-intuitive for folks familiar with Internet search engines. They might be surprised that the words they enter are being searched for as an exact phrase.
This feature is actually supported by Hibernate search. However, Hibernate search may have to be replaced with a sql free text search when we implement clustering.