ILIAS
release_4-3 Revision
|
Lucene query parser. More...
Public Member Functions | |
__construct ($a_query_string) | |
Constructor. | |
parse () | |
parse query string | |
getQuery () | |
get query |
Static Public Member Functions | |
static | validateQuery ($a_query) |
Protected Member Functions | |
replaceOwnerCallback ($matches) | |
Replace owner callback (preg_replace_callback) |
Static Protected Member Functions | |
static | checkAllowedCharacters ($query) |
Check allowed characters. | |
static | checkAsterisk ($query) |
Check asterisk. | |
static | checkAmpersands ($query) |
Check ampersands. | |
static | checkCaret ($query) |
Check carets. | |
static | checkSquiggle ($query) |
Check squiggles. | |
static | checkExclamationMark ($query) |
Check exclamation marks (replacement for NOT) | |
static | checkQuestionMark ($query) |
Check question mark (wild card single character) | |
static | checkParenthesis ($a_query) |
Check parenthesis. | |
static | checkPlusMinus ($a_query) |
Check plus minus. | |
static | checkANDORNOT ($a_query) |
Check AND OR NOT. | |
static | checkQuotes ($a_query) |
Check quotes. | |
static | checkColon ($a_query) |
Check colon. |
Protected Attributes | |
$parsed_query |
Private Attributes | |
$query_string |
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 113 of file class.ilLuceneQueryParser.php.
References $query.
|
staticprotected |
Check ampersands.
LuceneQueryParserException |
Definition at line 139 of file class.ilLuceneQueryParser.php.
References $query.
|
staticprotected |
Check AND OR NOT.
LuceneQueryParserException |
Definition at line 268 of file class.ilLuceneQueryParser.php.
|
staticprotected |
Check asterisk.
LuceneQueryParserException |
Definition at line 126 of file class.ilLuceneQueryParser.php.
References $query.
|
staticprotected |
Check carets.
LuceneQueryParserException |
Definition at line 155 of file class.ilLuceneQueryParser.php.
References $query.
Referenced by validateQuery().
|
staticprotected |
Check colon.
LuceneQueryParserException |
Definition at line 311 of file class.ilLuceneQueryParser.php.
|
staticprotected |
Check exclamation marks (replacement for NOT)
LuceneQueryParserException |
Definition at line 181 of file class.ilLuceneQueryParser.php.
References $query.
|
staticprotected |
Check parenthesis.
LuceneQueryParserException |
Definition at line 207 of file class.ilLuceneQueryParser.php.
Referenced by validateQuery().
|
staticprotected |
Check plus minus.
LuceneQueryParserException |
Definition at line 254 of file class.ilLuceneQueryParser.php.
|
staticprotected |
Check question mark (wild card single character)
LuceneQueryParserException |
Definition at line 194 of file class.ilLuceneQueryParser.php.
References $query.
|
staticprotected |
Check quotes.
LuceneQueryParserException |
Definition at line 284 of file class.ilLuceneQueryParser.php.
Referenced by validateQuery().
|
staticprotected |
Check squiggles.
LuceneQueryParserException |
Definition at line 168 of file class.ilLuceneQueryParser.php.
References $query.
Referenced by validateQuery().
ilLuceneQueryParser::getQuery | ( | ) |
get query
Definition at line 64 of file class.ilLuceneQueryParser.php.
References $parsed_query.
ilLuceneQueryParser::parse | ( | ) |
parse query string
Reimplemented in ilLuceneAdvancedQueryParser.
Definition at line 55 of file class.ilLuceneQueryParser.php.
Referenced by ilLuceneSearchGUI\showSavedResults().
|
protected |
Replace owner callback (preg_replace_callback)
Definition at line 72 of file class.ilLuceneQueryParser.php.
References $usr_id, and ilObjUser\_loginExists().
|
static |
LuceneQueryParserException |
Definition at line 88 of file class.ilLuceneQueryParser.php.
References checkCaret(), checkParenthesis(), checkQuotes(), and checkSquiggle().
Referenced by ilLuceneQueryInputGUI\checkInput().
|
protected |
Definition at line 38 of file class.ilLuceneQueryParser.php.
Referenced by getQuery().
|
private |
Definition at line 37 of file class.ilLuceneQueryParser.php.