Bug 1012185

Summary: RFE - Support searching with booleans and with regex
Product: [Community] PressGang CCMS Reporter: Ruediger Landmann <rlandman>
Component: CCMS-CoreAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 3.0CC: cbredesen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ruediger Landmann 2013-09-25 23:24:03 UTC
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):
Current prod

How reproducible:
100%

Steps to Reproduce:
1. enter two or more words in the search field
2. click search

Actual results:
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

Expected results:
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. 

Additional info:
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.

Comment 1 Matthew Casperson 2013-09-30 21:04:57 UTC
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.