summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java
Commit message (Collapse)AuthorAgeFilesLines
* Decode onceJon Bratseth2020-09-011-0/+26
|
* Merge pull request #14155 from vespa-engine/bratseth/avoid-manual-zone-noiseJon Bratseth2020-08-251-12/+9
|\ | | | | Reduce noise
| * Reduce noiseJon Bratseth2020-08-251-12/+9
| |
* | ensure that locations are sent downArne Juul2020-08-201-0/+17
|/ | | | | | | * when the query tree contains a GeoLocationItem somewhere, it is quite likely that this will be used for producing a summary field, and therefore summaryNeedsQuery should return true in this case.
* Merge pull request #14077 from vespa-engine/bratseth/exceptionsJon Bratseth2020-08-1858-346/+376
|\ | | | | Skip logging only for IllegalInputException
| * Skip logging only for IllegalInputExceptionJon Bratseth2020-08-1858-346/+376
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | avoid using message as format string directlyArne Juul2020-08-161-2/+2
| |
* | tighten allowed location syntax, and simplifyArne Juul2020-08-161-92/+62
|/ | | | | * Note: we stopped supporting 1-d locations in Vespa 5.x, so this should not break any applications.
* backend handles -1 as "infinite" radius, stop using silly big numberArne Juul2020-08-133-4/+4
|
* ensure connected query items are TaggableArne Juul2020-08-104-2/+24
|
* Check generality correctly on compactionJon Bratseth2020-08-073-10/+11
|
* Allow references when expecting numbersJon Bratseth2020-08-062-19/+29
|
* Expose raw summary dataJon Bratseth2020-08-052-2/+7
| | | | This makes it easier to serialize hits.
* Remove incorrect provenance infoJon Bratseth2020-08-054-10/+39
| | | | | | | When we combine all resolutions of some value the provenance information carried by the value becomes ptoentially incorrect. Since we do this for efficiency and tracking provenance info is just helper functionality, we remove the provenance info in these cases.
* Merge pull request #13981 from vespa-engine/bratseth/compactJon Bratseth2020-08-055-47/+99
|\ | | | | Bratseth/compact
| * Compact single valuesJon Bratseth2020-08-045-47/+99
| |
* | Name the transport threads to understand how things are interconnected.Henning Baldersheim2020-08-042-3/+3
| |
* | Merge pull request #11679 from ↵Bjørn Meland2020-07-201-6/+11
|\ \ | |/ |/| | | | | vespa-engine/revert-10510-bjormel/endpoint-as-a-dimension-for-search-requests Revert "VESPA-16236: endpoint as a dimension to search requests"
| * Revert "VESPA-16236: endpoint as a dimension to search requests"Bjørn Meland2020-01-071-6/+11
| |
* | Faster lookup given many variantsJon Bratseth2020-07-173-30/+102
| |
* | change DistanceParser API, mark as BetaArne Juul2020-07-152-7/+7
| |
* | use Objects.hashArne Juul2020-07-151-1/+1
| |
* | avoid un-needed changeArne Juul2020-07-151-1/+1
| |
* | add TODOArne Juul2020-07-151-0/+1
| |
* | fix copyright and commentsArne Juul2020-07-151-12/+16
| |
* | refactor and require unit for distanceArne Juul2020-07-152-25/+23
| |
* | mark new Item as BetaArne Juul2020-07-151-1/+2
| |
* | SelectParser should import most of its constants from YqlParserArne Juul2020-07-152-116/+124
| |
* | more descriptive enum name for geo location termArne Juul2020-07-152-2/+2
| |
* | convert to backend syntaxArne Juul2020-07-151-1/+1
| |
* | test geoLocation parsing and generationArne Juul2020-07-153-11/+57
| |
* | preserve "no radius" aspectArne Juul2020-07-152-19/+32
| |
* | minimal YQL supportArne Juul2020-07-155-10/+77
| |
* | add LocationItem query itemArne Juul2020-07-151-0/+105
| |
* | clean up various issues with ParseItem classArne Juul2020-07-091-2/+3
| | | | | | | | | | | | | | | | | | | | | | * SimpleQueryStack only used for one unit test, move it there * Actual instances of ParseItem also only used for same unit test. Split out the object representation into a separate SimpleQueryStackItem class in the unit test directory. * give location ITEM_LOCATION_TERM instead of overloading NUMTERM * ParseItem::ITEM_PAREN never used for anything, remove it * add comment for removal of PAREN enum in prelude/query/Item.java * refactor flag handling with one method per flag
* | Value nodes have priority over non-value nodesJon Bratseth2020-07-031-1/+5
| |
* | Use existing uncompressed lengthJon Bratseth2020-07-012-5/+7
| |
* | Formatting changes only#Jon Bratseth2020-07-013-29/+32
| |
* | Add support for serializing and compressing once, instead of once per ↵Henning Baldersheim2020-06-305-12/+42
| | | | | | | | backend node.
* | Remove unused methodJon Bratseth2020-06-301-14/+0
| |
* | Skip variants on disjoint pathsJon Bratseth2020-06-305-13/+31
| |
* | Remove unused internal methodsJon Bratseth2020-06-301-2/+3
| |
* | Collect all information in one visitingJon Bratseth2020-06-308-204/+61
| |
* | Segment to phrase not and when inside an expicit phraseJon Bratseth2020-06-245-34/+43
| |
* | extend unit test and fix bug found by itArne Juul2020-06-191-1/+1
| |
* | update SelectParser and add targetHitsArne Juul2020-06-194-10/+79
| | | | | | | | | | | | | | | | | | | | * 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
* | Test SpareCapacityMaintainerJon Bratseth2020-06-172-15/+8
| |
* | Disallow unbound tensor dimensions in document fieldsJon Bratseth2020-06-081-1/+1
| |
* | Allow from 5% skew in document distribution and still get good results when ↵Henning Baldersheim2020-05-282-2/+10
| | | | | | | | asking for many hits.
* | Make the main constructor take a CompiledQueryProfileRegistrygjoranv2020-05-221-1/+23
| | | | | | | | .. instead of QueryProfilesConfig