#include <QueryTextHandler.hpp>
Inheritance diagram for QueryTextHandler:
Public Methods | |
QueryTextHandler () | |
char * | handleWord (char *word) |
Handle a word, possibly transforming it. | |
void | setIndex (const Index *ind) |
Set the index used to check for acronyms. |
The QueryTextHandler checks query terms against an Index and adds the uppercase form of the term to the query if it occurs more frequently than the parsed form passed to the QueryTextHandler. This is to help catch query terms that are acronyms but are not capitalized in the query.
|
|
|
Handle a word, possibly transforming it.
Reimplemented from TextHandler. |
|
Set the index used to check for acronyms.
|