|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Lucene query parser. More...
Inheritance diagram for ilLuceneQueryParser:
Collaboration diagram for ilLuceneQueryParser:Public Member Functions | |
| __construct ($a_query_string) | |
| Constructor. More... | |
| parse () | |
| parse query string More... | |
| parseAutoWildcard () | |
| Append asterisk for remote search from global search form field. More... | |
| getQuery () | |
| get query More... | |
Static Public Member Functions | |
| static | validateQuery ($a_query) |
Protected Member Functions | |
| replaceOwnerCallback ($matches) | |
| Replace owner callback (preg_replace_callback) More... | |
Static Protected Member Functions | |
| static | checkAllowedCharacters ($query) |
| Check allowed characters. More... | |
| static | checkAsterisk ($query) |
| Check asterisk. More... | |
| static | checkAmpersands ($query) |
| Check ampersands. More... | |
| static | checkCaret ($query) |
| Check carets. More... | |
| static | checkSquiggle ($query) |
| Check squiggles. More... | |
| static | checkExclamationMark ($query) |
| Check exclamation marks (replacement for NOT) More... | |
| static | checkQuestionMark ($query) |
| Check question mark (wild card single character) More... | |
| static | checkParenthesis ($a_query) |
| Check parenthesis. More... | |
| static | checkPlusMinus ($a_query) |
| Check plus minus. More... | |
| static | checkANDORNOT ($a_query) |
| Check AND OR NOT. More... | |
| static | checkQuotes ($a_query) |
| Check quotes. More... | |
| static | checkColon ($a_query) |
| Check colon. More... | |
Protected Attributes | |
| $query_string | |
| $parsed_query | |
| ilLuceneQueryParser::__construct | ( | $a_query_string | ) |
Constructor.
| string | query string |
Reimplemented in ilLuceneAdvancedQueryParser.
Definition at line 46 of file class.ilLuceneQueryParser.php.
|
staticprotected |
Check allowed characters.
| LuceneQueryParserException |
Definition at line 131 of file class.ilLuceneQueryParser.php.
References $query.
|
staticprotected |
Check ampersands.
| LuceneQueryParserException |
Definition at line 157 of file class.ilLuceneQueryParser.php.
References $query.
|
staticprotected |
Check AND OR NOT.
| LuceneQueryParserException |
Definition at line 286 of file class.ilLuceneQueryParser.php.
|
staticprotected |
Check asterisk.
| LuceneQueryParserException |
Definition at line 144 of file class.ilLuceneQueryParser.php.
References $query.
|
staticprotected |
Check carets.
| LuceneQueryParserException |
Definition at line 173 of file class.ilLuceneQueryParser.php.
References $query.
Referenced by validateQuery().
Here is the caller graph for this function:
|
staticprotected |
Check colon.
| LuceneQueryParserException |
Definition at line 329 of file class.ilLuceneQueryParser.php.
|
staticprotected |
Check exclamation marks (replacement for NOT)
| LuceneQueryParserException |
Definition at line 199 of file class.ilLuceneQueryParser.php.
References $query.
|
staticprotected |
Check parenthesis.
| LuceneQueryParserException |
Definition at line 225 of file class.ilLuceneQueryParser.php.
Referenced by validateQuery().
Here is the caller graph for this function:
|
staticprotected |
Check plus minus.
| LuceneQueryParserException |
Definition at line 272 of file class.ilLuceneQueryParser.php.
|
staticprotected |
Check question mark (wild card single character)
| LuceneQueryParserException |
Definition at line 212 of file class.ilLuceneQueryParser.php.
References $query.
|
staticprotected |
Check quotes.
| LuceneQueryParserException |
Definition at line 302 of file class.ilLuceneQueryParser.php.
Referenced by validateQuery().
Here is the caller graph for this function:
|
staticprotected |
Check squiggles.
| LuceneQueryParserException |
Definition at line 186 of file class.ilLuceneQueryParser.php.
References $query.
Referenced by validateQuery().
Here is the caller graph for this function:| ilLuceneQueryParser::getQuery | ( | ) |
get query
Definition at line 82 of file class.ilLuceneQueryParser.php.
References $parsed_query.
| ilLuceneQueryParser::parse | ( | ) |
parse query string
Reimplemented in ilMailLuceneQueryParser, and ilLuceneAdvancedQueryParser.
Definition at line 55 of file class.ilLuceneQueryParser.php.
| ilLuceneQueryParser::parseAutoWildcard | ( | ) |
Append asterisk for remote search from global search form field.
Definition at line 64 of file class.ilLuceneQueryParser.php.
|
protected |
Replace owner callback (preg_replace_callback)
Definition at line 90 of file class.ilLuceneQueryParser.php.
References ilObjUser\_loginExists().
Here is the call graph for this function:
|
static |
| LuceneQueryParserException |
Definition at line 106 of file class.ilLuceneQueryParser.php.
References checkCaret(), checkParenthesis(), checkQuotes(), and checkSquiggle().
Referenced by ilMailQuickFilterInputGUI\checkInput(), and ilLuceneQueryInputGUI\checkInput().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 38 of file class.ilLuceneQueryParser.php.
Referenced by getQuery().
|
protected |
Definition at line 37 of file class.ilLuceneQueryParser.php.
Referenced by ilMailLuceneQueryParser\parse().