summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/query/properties/QueryProperties.java
Commit message (Collapse)AuthorAgeFilesLines
* Resolve embed refs from query profileJon Bratseth2024-02-151-1/+1
|
* add "ranking.globalPhase.rerankCount" as a query propertyArne Juul2023-10-121-4/+7
|
* Update copyrightJon Bratseth2023-10-091-1/+1
|
* Control the auto-adjustment of targetHits in ANN using post-filtering.Geir Storli2023-08-151-0/+1
| | | | | | | | | | | | | | 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
|
* 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-021-66/+20
|
* 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-231-0/+3
|
* Add query trace parameters for profiling backend query evaluation.Geir Storli2023-01-201-0/+22
| | | | | With this change, profiling of matching, first-phase ranking, and second-phase ranking can be tuned separately.
* Support direct tensor renderingJon Bratseth2023-01-141-1/+1
|
* Allow control via ranking.keepRankCountHenning Baldersheim2022-11-181-0/+3
|
* Wire in query parameter profileDepth to control how deep down in the depency ↵Henning Baldersheim2022-08-251-0/+2
| | | | | | tree profiling shall go.
* Default to tensor short form more placesJon Bratseth2022-06-161-1/+1
|
* Move explainLevel into query.traceJon Bratseth2022-06-141-3/+3
|
* Refactor: Pull tracing into its own classJon Bratseth2022-06-141-4/+16
|
* Remove on Vespa 8Jon Bratseth2022-06-081-6/+1
|
* Name matching query properties using camelCase as done elsewhere.Geir Storli2022-05-051-8/+13
| | | | Also provide the lowercase version as alias for backwards compatibility.
* Remove print statementJon Bratseth2022-05-041-1/+0
|
* Add 'input' as alias to 'ranking.feature'Jon Bratseth2022-05-041-6/+2
|
* Add support for approximate nearest neighbor threshold settings in Query API.Geir Storli2022-04-291-0/+4
|
* Add RankProfileInputPropertiesJon Bratseth2022-04-071-14/+1
|
* Slightly more validationJon Bratseth2022-03-311-16/+21
|
* Validate query feature tensor typesJon Bratseth2022-03-291-0/+1
| | | | | | - Validate tensor feature types when a tensor is set programmatically. - Add a toShortString for messages containing tensors. - Consistent and nicer spacing in tensor string forms.
* Rename defaultEmbedderName to defaultEmbedderIdLester Solbakken2022-03-221-1/+1
|
* Add embedder selection argument to query parameter transformationLester Solbakken2022-03-211-3/+7
|
* Revert "Revert "Bratseth/presentation format tensors""Jon Bratseth2022-02-081-17/+31
| | | | This reverts commit 154c8837f1ca166816d289db82fed90baca72e54.
* Revert "Bratseth/presentation format tensors"Harald Musum2022-02-071-31/+17
|
* Wire in property presentation.format.tensors with alias format.tensorsJon Bratseth2022-02-071-17/+31
| | | | | | | - Move presentation.format.tensors from JsonRenderer to Presentation - Add aliases recursively - Allow compound aliases - Allow a query profile type to describe its own value
* Update 2017 copyright notices.gjoranv2021-10-071-1/+1
|
* Pass destinationJon Bratseth2021-09-301-1/+1
| | | | | This allows embedders to switch on it to enable bucket testing and similar.
* encode -> embedJon Bratseth2021-09-281-5/+5
|
* Encode tensors passed as encode(text)Jon Bratseth2021-09-201-7/+23
|
* Add API for rerank-countJon Bratseth2020-09-301-0/+3
|
* Skip logging only for IllegalInputExceptionJon Bratseth2020-08-181-3/+4
| | | | | | | | | | | | | | - 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.
* Correct anonymous subtype resolvingJon Bratseth2020-05-111-26/+46
| | | | | - If an anonymous subtype is resolved, let it go out of scope when nesting - Validate rather than ignoring all parameters in the query API
* Support clearing values in query profilesJon Bratseth2020-02-131-1/+1
|
* Non-functional changes onlyJon Bratseth2020-02-031-1/+1
|
* Treat rank features as tensors (or doubles)Jon Bratseth2020-01-091-4/+16
| | | | | | | | | | | | | | | | The purpose of this is to prepare to disallow rank feature strings (which can't be parsed to doubles or tensors) on Vespa 8. Currently, such strings will be converted to numbers by hashing them during evaluation, but this is not useful (as the hash can be computed before setting if desired), and leads to confusion when a feature is intended set from a tensor string but ends up as a hash due to missing type information in the configuration. Changes: - Parse numeric rank features into doubles as soon as possible - Deprecate the methods accessing rank features as strings - Allow double features to be accessible as tensors
* Non-functional changes onlyJon Bratseth2019-12-041-3/+3
|
* Allow old style select with query profile typesJon Bratseth2019-10-181-14/+27
|
* Enable grouping session cache by defaultBjørn Christian Seime2019-08-211-1/+1
|
* Add &explainleve=Henning Baldersheim2019-03-191-0/+3
|
* Map locale to a query propertyJon Bratseth2019-01-241-0/+3
|
* Do Vespa 7 TODOsJon Bratseth2019-01-211-2/+1
|
* Remove deprecated codeJon Bratseth2019-01-211-6/+0
|
* Turn softtimeout on by defaultJon Bratseth2019-01-211-3/+3
|