|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 127 of file class.ilLuceneQueryParser.php.
References $query.
|
staticprotected |
Check ampersands.
| LuceneQueryParserException |
Definition at line 151 of file class.ilLuceneQueryParser.php.
References $query.
|
staticprotected |
Check AND OR NOT.
| LuceneQueryParserException |
Definition at line 267 of file class.ilLuceneQueryParser.php.
|
staticprotected |
Check asterisk.
| LuceneQueryParserException |
Definition at line 139 of file class.ilLuceneQueryParser.php.
References $query.
|
staticprotected |
Check carets.
| LuceneQueryParserException |
Definition at line 165 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 306 of file class.ilLuceneQueryParser.php.
|
staticprotected |
Check exclamation marks (replacement for NOT)
| LuceneQueryParserException |
Definition at line 189 of file class.ilLuceneQueryParser.php.
References $query.
|
staticprotected |
Check parenthesis.
| LuceneQueryParserException |
Definition at line 213 of file class.ilLuceneQueryParser.php.
Referenced by validateQuery().
Here is the caller graph for this function:
|
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 201 of file class.ilLuceneQueryParser.php.
References $query.
|
staticprotected |
Check quotes.
| LuceneQueryParserException |
Definition at line 282 of file class.ilLuceneQueryParser.php.
Referenced by validateQuery().
Here is the caller graph for this function:
|
staticprotected |
Check squiggles.
| LuceneQueryParserException |
Definition at line 177 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 80 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 88 of file class.ilLuceneQueryParser.php.
References ilObjUser\_loginExists().
Here is the call graph for this function:
|
static |
| LuceneQueryParserException |
Definition at line 102 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().