summaryrefslogtreecommitdiffstats
path: root/container-search/src/test/java/com/yahoo/search/yql/YqlParserTestCase.java
Commit message (Collapse)AuthorAgeFilesLines
* Add weakAnd grammar and parserJon Bratseth2022-01-091-18/+18
|
* Merge pull request #20665 from vespa-engine/bratseth/termlistJon Bratseth2022-01-071-0/+1
|\ | | | | Support an external list of terms in term list operators
| * Support an external list of terms in term list operatorsJon Bratseth2022-01-051-0/+1
| |
* | Skip a TRUE positive in toString()Jon Bratseth2022-01-061-2/+2
| |
* | Allow negative terms only in YQLJon Bratseth2022-01-061-3/+9
| |
* | Default positive in NotItem to TRUE instead of nullJon Bratseth2022-01-061-0/+6
|/
* Avoid deprecated APIsJon Bratseth2022-01-031-0/+7
|
* Don't require *both* curly and square brackets around annotationsJon Bratseth2021-12-221-60/+67
|
* Allow keywords as YQL properties without quotingJon Bratseth2021-12-211-4/+4
|
* Output YQL annotations without quotesJon Bratseth2021-12-211-4/+4
|
* Allow unquoted annotationsJon Bratseth2021-12-201-160/+166
|
* Don't require semicolon in YQL statementsJon Bratseth2021-12-201-76/+66
|
* Upgrade Antlr4 to 4.9.3Bjørn Christian Seime2021-12-141-3/+2
| | | | Remove tokens that are empty in lexer definition
* Simplify by requiring only constants in maps and arrays at grammar levelJon Marius Venstad2021-12-141-1/+2
|
* Add unit test of query with missing escaping and unicode charBjørn Christian Seime2021-11-221-3/+9
|
* add TrueItemArne H Juul2021-10-211-1/+4
|
* add YQL parsing/serialization for FalseItemArne H Juul2021-10-201-0/+5
|
* Supply and use appropriate stub methodsJon Bratseth2021-10-101-4/+2
|
* Update 2017 copyright notices.gjoranv2021-10-071-1/+1
|
* Change WAND to WEAKAND in debug output formatJon Bratseth2021-04-141-3/+3
|
* Merge pull request #17047 from vespa-engine/bratseth/dash-in-sourceJon Bratseth2021-03-191-0/+6
|\ | | | | Allow dash in ident as it is legal in source names
| * Allow dash in ident as it is legal in source namesJon Bratseth2021-03-181-0/+6
| |
* | Merge pull request #17054 from vespa-engine/bratseth/add-castJon Bratseth2021-03-191-0/+6
|\ \ | | | | | | Add cast to keyword list
| * | Add cast tokeyword listJon Bratseth2021-03-191-0/+6
| |/
* / Remove active queries metrics that are never setJon Bratseth2021-03-121-0/+6
|/
* Deprecate score-thresholdJon Bratseth2021-02-081-0/+1
|
* add distanceThreshold option for nearestNeighbor operatorArne Juul2021-01-081-3/+7
|
* Skip logging only for IllegalInputExceptionJon Bratseth2020-08-181-2/+2
| | | | | | | | | | | | | | - Add IllegalInputException to signal cases where we know the exception is caused by illegal input received from the requestor. - Only skip logging for IllegalInputException instead of the superclass IllegalArgumentException as that is also used to signal illegal arguments to methods due to bugs which are otherwise hard to debug. - Throw IllegalInputException rather than IllegalArgumentException where appropriate. - Deprecated QueryException as it was only used to be able to separate between query string and query parameter exceptions, and not doing that consistently, and is in a package we don't want more use of. - Clean up some cases where the wrong exception was thrown.
* update unit tests from @bratsethArne Juul2020-08-101-0/+5
|
* Allow references when expecting numbersJon Bratseth2020-08-061-10/+8
|
* refactor and require unit for distanceArne Juul2020-07-151-4/+4
|
* test geoLocation parsing and generationArne Juul2020-07-151-0/+18
|
* use more descriptive namesArne Juul2020-07-061-3/+3
|
* update SelectParser and add targetHitsArne Juul2020-06-191-7/+7
| | | | | | | | | | * targetHits is now the preferred annotation replacing targetNumHits (for wand,weakand,nearestneighbor), the old name still works as an alias * note: targetNumHits is still produced when serializing to YQL * debugging/trace output will print the "targetHits" form * add nearestNeighborItem support to SelectParser * implement disclose() in nearestNeighborItem
* extend NearestNeighborItemArne Juul2020-03-021-2/+4
|
* updates after reviewArne Juul2019-11-191-2/+2
|
* add NearestNeighborItem with validationArne Juul2019-11-191-0/+8
|
* YQL parsing/serialization improvementsJon Bratseth2019-11-071-1/+25
| | | | | | - Serialize annotated range and weightedset with bracing - Parse Infinity in ranges - Better error messages in range parsing
* Add 'like' to reserved words usable as identifiersJon Bratseth2019-09-301-0/+6
|
* A single element under sameElement operator can be pulled out to avoid the ↵Henning Baldersheim2019-06-271-1/+1
| | | | sameElement operator.
* Support URI matching in YQLJon Bratseth2019-05-231-1/+123
|
* Test searching for backslashJon Bratseth2019-05-201-4/+30
|
* Add BoolItemJon Bratseth2019-02-011-6/+15
|
* unit test toString() of phrase containing alternativesArne Juul2019-01-231-0/+1
|
* Support for configuring and feeding float16 and bool field typesJon Bratseth2018-12-141-0/+6
|
* Improve error messagesJon Bratseth2018-11-061-7/+7
|
* Revert "Merge pull request #7409 from ↵Jon Bratseth2018-10-261-59/+35
| | | | | | | vespa-engine/revert-7380-bratseth/segment-yql-by-default" This reverts commit 1cb09174cb579936eae49f7db632113795b0666a, reversing changes made to eedcfc980db65da04eaca866693ef215f337f325.
* Revert "Bratseth/segment yql by default"Harald Musum2018-10-221-35/+59
|
* Segment 'contains' text by defaultJon Bratseth2018-10-191-34/+11
| | | | | | | | | | | | | | The current default is to not segment text given to 'contains' in YQL outside of userInput, which means that submitting text that is not pre-tokenized in exactly the same way as the tokenizer of the field won't work (such as the queries "contains 'foo bar'", or contains foo.bar). Because of this default choice, apparently some complicated logic was added to track when it needs to be automatically replaced with a more reasonable choice, in the case where one Vespa instance federates to another. I removed that now, because it doesn't seem necessary without the bad default.
* Nonfunctional changes onlyJon Bratseth2018-10-191-25/+24
|