summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/query
Commit message (Collapse)AuthorAgeFilesLines
* add "ranking.globalPhase.rerankCount" as a query propertyArne Juul2023-10-123-5/+86
|
* Update copyrightJon Bratseth2023-10-09118-118/+118
|
* Add link for common runtime errorJo Kristian Bergum2023-08-171-1/+3
|
* Control the auto-adjustment of targetHits in ANN using post-filtering.Geir Storli2023-08-152-2/+15
| | | | | | | | | | | | | | When searching the HNSW index in a post-filtering case, targetHits is auto-adjusted in an effort to still expose targetHits hits to first-phase ranking after post-filtering. The following formula is now used to ensure an upper bound of adjustedTargetHits, avoiding that the search in the HNSW index takes too long. adjustedTargetHits = min(targetHits / estimatedHitRatio, targetHits * targetHitsMaxAdjustmentFactor). The target-hits-max-adjustment-factor can be set in a rank profile and overriden per query. The value is in the range [1.0,inf], with the default being 20.0. When setting this to 1.0, auto-adjustment of targetHits is effectively disabled.
* Clarify error handlingHenning Baldersheim2023-08-031-1/+1
|
* Use `IllegalInputException` to ensure invalid query is returned as 400 responseBjørn Christian Seime2023-08-032-3/+4
|
* Keep error handling in one place.Henning Baldersheim2023-08-021-6/+5
|
* Handle cased/lowercased the same way as the rest.Henning Baldersheim2023-08-021-32/+15
|
* Simplify error handlingHenning Baldersheim2023-08-022-69/+23
|
* Use a common map for getters and settersHenning Baldersheim2023-08-021-116/+67
|
* Use a map of setter lambdas.Henning Baldersheim2023-08-021-212/+156
|
* - Put a lambda for getting predefined properties in a hash map.Henning Baldersheim2023-08-021-86/+69
| | | | | | - Lookup the correct getter by a single lookup instead of navigating a large complicated if tree with quite a few branch mispredictions. - Will do the same for setters afterwards.
* Add support for controlling rank-score-drop-limit from container query time.Henning Baldersheim2023-06-232-0/+13
|
* Move to SchemaInfoJon Bratseth2023-06-121-27/+10
| | | | | | | Add the missing constructs to SchemaInfo to be able to use it in place of IndexFacts for validation, and rewrite QueryValidator to use it. The new validation (for prefix search on indexes) is disabled until this is verified, so this should be a no-op.
* Build with jdk20Jon Bratseth2023-04-171-1/+1
|
* - Use CompoundName.fromHenning Baldersheim2023-03-295-10/+9
| | | | - Deprecate unused SubProperties
* Use CompoundName.from in tests and construction of static objects.Henning Baldersheim2023-03-294-8/+8
|
* Cache the generated temporary CompoundName keys.Henning Baldersheim2023-03-272-9/+8
|
* Dealias nn fieldsJon Bratseth2023-01-271-1/+1
|
* Add query trace parameters for profiling backend query evaluation.Geir Storli2023-01-205-9/+193
| | | | | With this change, profiling of matching, first-phase ranking, and second-phase ranking can be tuned separately.
* Support direct tensor renderingJon Bratseth2023-01-142-12/+42
|
* Use JsonFormat for JSON renderingJon Bratseth2023-01-131-7/+6
|
* No functional changesJon Bratseth2023-01-061-1/+1
|
* Revert "Revert "Let list handling catch up with Java 17""Henning Baldersheim2022-12-025-33/+29
|
* Revert "Let list handling catch up with Java 17"Bjørn Christian Seime2022-12-025-29/+33
|
* Let list handling catch up with Java 17Henning Baldersheim2022-12-025-33/+29
|
* Cleanup and throw IllegalArgumentException on invalid pathJon Bratseth2022-11-251-1/+1
|
* Allow control via ranking.keepRankCountHenning Baldersheim2022-11-182-0/+13
|
* Don't interpret ref: as a query profile ref unnecessarilyJon Bratseth2022-11-101-3/+5
|
* Various cleanup and code deduplication.Henning Baldersheim2022-10-131-4/+2
|
* Cleanup, and throw better exceptionsJon Bratseth2022-10-131-19/+21
|
* - Use a common scratchpad for serializing the different parts of the query.Henning Baldersheim2022-10-121-18/+12
| | | | | | - Use a threadlocal for the scratchpad. This avoids costly resizing, or initialiing too large buffer for every query. Using a thread local is fine now that we limit the number of search threads to a reasonable number = #cores * 2.
* Optimize CompoundName.first with 0 elements to return CompoundName.empty.Henning Baldersheim2022-10-111-1/+1
| | | | Optimize CompoundName.first with all elements to return self.
* Apply aliases to sortspecJon Bratseth2022-09-082-27/+38
|
* No aliasing of trace.profileDepth.Henning Baldersheim2022-08-251-1/+1
|
* Wire in query parameter profileDepth to control how deep down in the depency ↵Henning Baldersheim2022-08-252-2/+10
| | | | | | tree profiling shall go.
* Improve messages on type mismatchJon Bratseth2022-08-091-5/+7
|
* Deprecate ConfigGetterHarald Musum2022-07-071-0/+1
|
* Add test, faster size, and order primary/secondary as expected.Henning Baldersheim2022-07-022-2/+12
|
* Avoid map creationJon Bratseth2022-07-022-7/+98
|
* If the context map is empty just return the defaultHenning Baldersheim2022-06-243-4/+3
|
* Use already defined stringsHenning Baldersheim2022-06-241-3/+3
|
* If it already has all keys there is no need to create a new hashmap.Henning Baldersheim2022-06-241-3/+7
|
* Precompute a zone context to avoid always having to compute them on the fly.Henning Baldersheim2022-06-241-1/+9
|
* Default to tensor short form more placesJon Bratseth2022-06-161-1/+1
|
* Merge pull request #23097 from vespa-engine/bratseth/traceJon Bratseth2022-06-155-15/+269
|\ | | | | Bratseth/trace
| * Move explainLevel into query.traceJon Bratseth2022-06-142-5/+13
| |
| * Turn tracing of the query on/off by trace.query=true/falseJon Bratseth2022-06-141-1/+1
| |
| * Refactor: Pull tracing into its own classJon Bratseth2022-06-145-12/+258
| |
* | Support zone context variants for native propertiesJon Bratseth2022-06-132-14/+30
|/