We switched to full text search with the last update to 4.4.7 few weeks ago. That leads to some confusion regarding the QuickSearch.
In /Search/Simple.html
one reads
Any word not recognized by RT is searched for in ticket subjects.
You can search for any word in full ticket history by typing fulltext:word.
But the source uses FTS a default:
sub HandleDefault {
my $fts = RT->Config->Get('FullTextSearch');
if ($fts->{Enable} and $fts->{Indexed}) {
return default => "Content LIKE '$_[1]'";
} else {
return default => "Subject LIKE '$_[1]'";
}
(lib/RT/Search/Simple.pm
line 280ff)
Three solutions possible
- change the text in
/Search/Simple.html
- change the default back to subject in any case
- implement a configuration item (RT_Config) to choose the default and change the text
- search in both per default
Content LIKE 'query' OR Subject LIKE 'query'
Our users seem to prefer to search the subject or both.
In my opinion point 4. is the real “Quicksearch”.
What do you think should be done?