org.jabref.logic.search.query.SearchQueryLuceneConversionTest.
| Modifier and Type | Field and Description |
|---|---|
| private final EnumSet |
| Access | Constructor and Description |
|---|---|
| public |
| searchFlags | back to summary |
|---|---|
| private final EnumSet<SearchFlags> searchFlags | |
| SearchToLuceneVisitor | back to summary |
|---|---|
| public SearchToLuceneVisitor(EnumSet<SearchFlags> searchFlags) | |
| buildFieldExpression | back to summary |
|---|---|
| private String buildFieldExpression(String field, String term, int operator, boolean isQuoted) | |
| escapeForLucene | back to summary |
|---|---|
| private static String escapeForLucene(String term) | |
| escapeQuotes | back to summary |
|---|---|
| private static String escapeQuotes(String term) | |
| isNegationOperator | back to summary |
|---|---|
| private static boolean isNegationOperator(int operator) | |
| isRegexOperator | back to summary |
|---|---|
| private static boolean isRegexOperator(int operator) | |
| isValidField | back to summary |
|---|---|
| private boolean isValidField(String field) A valid field is a field that is supported by the Lucene index. Currently, Lucene is used for files only. Metadata of the files is stored in the BibEntry. Thus, it does not make sense to search for "author" as field name as this is not stored in the Lucene index. | |
| visitBinaryExpression | back to summary |
|---|---|
| public String visitBinaryExpression(SearchParser. Overrides org. Implements org. Doc from org. Visit a parse tree produced by the The default implementation returns the result of calling
| |
| visitComparison | back to summary |
|---|---|
| public String visitComparison(SearchParser. Overrides org. Implements org. Doc from org. Visit a parse tree produced by The default implementation returns the result of calling
| |
| visitImplicitAndExpression | back to summary |
|---|---|
| public String visitImplicitAndExpression(SearchParser. Overrides org. Implements org. Doc from org. Visit a parse tree produced by the The default implementation returns the result of calling
| |
| visitNegatedExpression | back to summary |
|---|---|
| public String visitNegatedExpression(SearchParser. Overrides org. Implements org. Doc from org. Visit a parse tree produced by the The default implementation returns the result of calling
| |
| visitParenExpression | back to summary |
|---|---|
| public String visitParenExpression(SearchParser. Overrides org. Implements org. Doc from org. Visit a parse tree produced by the The default implementation returns the result of calling
| |
| visitStart | back to summary |
|---|---|
| public String visitStart(SearchParser. Overrides org. Implements org. Doc from org. Visit a parse tree produced by The default implementation returns the result of calling
| |