mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Fix/search 1623 (#196)
* [SEARCH-1623] Modified grammar and generated new Lexer and Parser(Modified for the too long method problem) * [SEARCH-1623] Added test case for testing name-dash identifiers * [SEARCH-1623] removed local references from FTSParser comments
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -21,6 +21,8 @@ ftsQuery:
|
|||||||
"test_txt_woof" -> "(DISJUNCTION (CONJUNCTION (DEFAULT (TERM test_txt_woof))))"
|
"test_txt_woof" -> "(DISJUNCTION (CONJUNCTION (DEFAULT (TERM test_txt_woof))))"
|
||||||
"test,txt,woof" -> "(DISJUNCTION (CONJUNCTION (DEFAULT (TERM test , txt , woof))))"
|
"test,txt,woof" -> "(DISJUNCTION (CONJUNCTION (DEFAULT (TERM test , txt , woof))))"
|
||||||
"test\:txt\:woof" -> "(DISJUNCTION (CONJUNCTION (DEFAULT (TERM test\\:txt\\:woof))))"
|
"test\:txt\:woof" -> "(DISJUNCTION (CONJUNCTION (DEFAULT (TERM test\\:txt\\:woof))))"
|
||||||
|
"name-dash:file" -> "(DISJUNCTION (CONJUNCTION (DEFAULT (TERM file (FIELD_REF name-dash)))))"
|
||||||
|
"name-dash:file.txt" -> "(DISJUNCTION (CONJUNCTION (DEFAULT (TERM file . txt (FIELD_REF name-dash)))))"
|
||||||
"+\++" -> "(DISJUNCTION (CONJUNCTION (MANDATORY (TERM \\++))))"
|
"+\++" -> "(DISJUNCTION (CONJUNCTION (MANDATORY (TERM \\++))))"
|
||||||
".txt" -> "(DISJUNCTION (CONJUNCTION (DEFAULT (TERM . txt))))"
|
".txt" -> "(DISJUNCTION (CONJUNCTION (DEFAULT (TERM . txt))))"
|
||||||
"*.txt" -> "(DISJUNCTION (CONJUNCTION (DEFAULT (TERM * . txt))))"
|
"*.txt" -> "(DISJUNCTION (CONJUNCTION (DEFAULT (TERM * . txt))))"
|
||||||
|
Reference in New Issue
Block a user