SearchQueryVisitor:
visitImplicitAndExpression uses OR semantics (anyMatch) instead of AND,
so space-separated bare terms like "machine learning" match any group containing
either word. Explicit AND/OR/NOT and parentheses work as expected.
| Access | Constructor and Description |
|---|---|
| public |
| groupName | back to summary |
|---|---|
| private final String groupName | |
| GroupNameFilterVisitor | back to summary |
|---|---|
| public GroupNameFilterVisitor(String groupName) | |
| matches | back to summary |
|---|---|
| public static boolean matches(String groupName, String query) Implemented a static method that checks whether the group name matches the given query string. | |
| visitBinaryExpression | back to summary |
|---|---|
| public Boolean 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 Boolean visitComparison(SearchParser. Overrides org. Implements org. Doc from org. Visit a parse tree produced by The default implementation returns the result of calling
| |
| visitComparisonExpression | back to summary |
|---|---|
| public Boolean visitComparisonExpression(SearchParser. Overrides org. Implements org. Doc from org. Visit a parse tree produced by the The default implementation returns the result of calling
| |
| visitImplicitAndExpression | back to summary |
|---|---|
| public Boolean 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 Boolean 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 Boolean 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 Boolean visitStart(SearchParser. Overrides org. Implements org. Doc from org. Visit a parse tree produced by The default implementation returns the result of calling
| |