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:
eliaporciani
2019-12-27 09:56:30 +01:00
committed by GitHub
parent 97cef5d5b5
commit a73e79fa33
4 changed files with 18752 additions and 11185 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -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))))"
"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 \\++))))"
".txt" -> "(DISJUNCTION (CONJUNCTION (DEFAULT (TERM . txt))))"
"*.txt" -> "(DISJUNCTION (CONJUNCTION (DEFAULT (TERM * . txt))))"