summaryrefslogtreecommitdiffstats
path: root/searchlib
Commit message (Collapse)AuthorAgeFilesLines
* Adjust down the estimate when its unknown and avoid WhiteListBlueprint being ↵Geir Storli2024-05-063-8/+15
| | | | | | | strict. In cases where only attributes without fast-search are searched with e.g. an OR, this change avoids sorting the WhiteListBlueprint first under the root AND, which is very costly to evaluate.
* test and adjust some stuffHåvard Pettersen2024-05-036-7/+52
|
* when is actual non-strict array lookup fasterHåvard Pettersen2024-05-021-11/+27
| | | | ... than forced strict btree posting list
* Merge pull request #31089 from vespa-engine/geirst/add-more-or-perf-testsHåvard Pettersen2024-05-021-6/+24
|\ | | | | Integrate estimate for actual blueprint cost and add more OR non-stri…
| * Integrate estimate for actual blueprint cost and add more OR non-strict tests.Geir Storli2024-04-301-6/+24
| |
* | Merge pull request #31087 from ↵Henning Baldersheim2024-05-022-28/+68
|\ \ | | | | | | | | | | | | vespa-engine/toregge/handle-values-changing-from-a-to-b-to-a-for-interleaved-two-phase-put Handle tensor value changing from A to B to A for interleaved two pha…
| * | Handle tensor value changing from A to B to A for interleaved two phase put.Tor Egge2024-04-302-28/+68
| | |
* | | Merge pull request #31081 from vespa-engine/balder/wire-in-wand-rangeHenning Baldersheim2024-04-3015-83/+193
|\ \ \ | |/ / |/| | Balder/wire in wand range
| * | Update commentsHenning Baldersheim2024-04-302-2/+2
| | |
| * | Remove whitespaceHenning Baldersheim2024-04-291-1/+0
| | |
| * | Wire control of scoring range for weakand scorer from rank/query properties.Henning Baldersheim2024-04-2910-8/+74
| | |
| * | Allow control of wand rangeHenning Baldersheim2024-04-298-78/+123
| |/
* | Add const specifiers for HnswIndex member functions get_subspaces() andTor Egge2024-04-294-9/+15
| | | | | | | | check_consistency().
* | Check consistency after loading tensor attribute with index.Tor Egge2024-04-297-1/+85
|/ | | | Don't reconnect hnsw graph node without vector.
* If candidate is invalid drop out earlyHenning Baldersheim2024-04-271-5/+5
|
* Merge pull request #31061 from ↵Geir Storli2024-04-266-1/+62
|\ | | | | | | | | vespa-engine/toregge/expose-imported-attributes-in-metrics Expose imported attributes in metrics.
| * Expose imported attributes in metrics.Tor Egge2024-04-266-1/+62
| |
* | Merge pull request #31057 from vespa-engine/balder/allow-stat-in-scorerHenning Baldersheim2024-04-265-67/+50
|\ \ | | | | | | Allow scorer for wand to carry state
| * | Use no_unique_address for potential stateless scorersHenning Baldersheim2024-04-261-1/+1
| | |
| * | Use no_unique_address for scorerHenning Baldersheim2024-04-261-9/+9
| | |
| * | Allow scorer for wand to carry stateHenning Baldersheim2024-04-265-62/+45
| | |
* | | Mnor code health while reading codeHenning Baldersheim2024-04-261-31/+31
| |/ |/|
* | Merge pull request #31052 from vespa-engine/havardpe/estimate-actual-costGeir Storli2024-04-266-7/+109
|\ \ | |/ |/| estimate actual cost
| * estimate actual costHåvard Pettersen2024-04-256-7/+109
| |
* | Merge pull request #31055 from vespa-engine/balder/handle-tensor-not-presentHenning Baldersheim2024-04-261-7/+7
|\ \ | | | | | | Add final on MutableDenseValueView and use noexcept where applicable.
| * | Add final on MutableDenseValueView and use noexcept where applicable.Henning Baldersheim2024-04-251-7/+7
| | |
* | | Merge branch 'master' into balder/add-noexceptHenning Baldersheim2024-04-268-102/+85
|\| |
| * | Merge pull request #31048 from vespa-engine/balder/add-noexcept-5Henning Baldersheim2024-04-266-86/+72
| |\ \ | | | | | | | | Add noexcept
| | * | Add noexceptHenning Baldersheim2024-04-256-86/+72
| | | |
| * | | Use std::vectorHenning Baldersheim2024-04-252-16/+13
| | | |
* | | | Add noexcept and remove outdated commentHenning Baldersheim2024-04-252-3/+1
|/ / /
* / / Use non_existing_attribute_value to signal that value is the default value ↵Henning Baldersheim2024-04-255-11/+16
|/ / | | | | | | for an attribute that has not been set.
* | Use std::vector instead of vespalib::ArrayHenning Baldersheim2024-04-243-24/+26
| |
* | Merge pull request #31012 from ↵Henning Baldersheim2024-04-242-1/+8
|\ \ | | | | | | | | | | | | vespa-engine/toregge/use-frozen-btree-size-in-reader-thread search::predicate::SimpleIndex: Use frozen btree size in reader thread
| * | search::predicate::SimpleIndex: Use frozen btree size in reader threadTor Egge2024-04-242-1/+8
| | |
* | | Test more races for HNSW index prepare put.Tor Egge2024-04-241-13/+143
|/ /
* | Merge pull request #31008 from vespa-engine/balder/no-need-for-templateHenning Baldersheim2024-04-236-36/+54
|\ \ | | | | | | SelectResult does not need templates. Also move instead of copy
| * | SelectResult does not need templates. Also move instead of copyHenning Baldersheim2024-04-236-36/+54
| | |
* | | Merge pull request #31006 from vespa-engine/vekterli/fix-getter-typoHenning Baldersheim2024-04-234-5/+5
|\ \ \ | | | | | | | | Fix typo in getter-function
| * | | Fix typo in getter-functionTor Brede Vekterli2024-04-234-5/+5
| |/ /
* / / HNSW index: Drop candidate if typed cells are invalid.Tor Egge2024-04-231-1/+10
|/ /
* | Merge pull request #31005 from ↵Henning Baldersheim2024-04-231-6/+12
|\ \ | | | | | | | | | | | | vespa-engine/toregge/instantiate-more-variants-of-posting-list-params-get-and-set-member-functrions Instantiate more variants of search::index::PostingListParams
| * | Instantiate more variants of search::index::PostingListParamsTor Egge2024-04-231-6/+12
| | | | | | | | | | | | set and get member functions.
* | | Include iomanip to get declaration of std::setwTor Egge2024-04-231-0/+1
|/ /
* | Share code to calculate FlowStats based on attribute::HitEstimate.Geir Storli2024-04-234-48/+69
| | | | | | | | This also changes to using the formulas in flow_tuning.h for lookup and btree costs.
* | Share code to calculate FlowStats based on IDirectPostingStore::LookupResult.Geir Storli2024-04-233-30/+34
| |
* | Use explicit and do not expose nbostream in headerfile.Henning Baldersheim2024-04-2213-0/+16
| |
* | Merge pull request #30976 from ↵Henning Baldersheim2024-04-2223-93/+171
|\ \ | | | | | | | | | | | | vespa-engine/vekterli/wire-fuzzy-prefix-match-through-query-stack Wire fuzzy prefix matching support through the query stack
| * | Wire fuzzy prefix matching support through the query stackTor Brede Vekterli2024-04-1923-93/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds `prefix:[true|false]` annotation support to the `fuzzy` query operator in the YQL and JSON query languages. Fuzzy prefix matching semantics are wired through to the matcher implementations for both indexed and streaming search. Example usage: {maxEditDistance:1,prefix:true}fuzzy("foo") Will match `foo`, `foobar`, `foxtrot`, `zookeeper` and so on. It can be combined with the existing prefix locking feature: {maxEditDistance:1,prefixLength:2,prefix:true}fuzzy("foo") Which will match `foo`, `foobar`, `foxtrot` etc, but _not_ `zookeeper` since the locked prefix (`fo`) does not match. Due to the complexities involved with extending the legacy binary query stack representation, signalling prefix matching for the fuzzy term is done by pragmatically adding a new, generic "prefix matching" term-level flag. This is currently ignored for everything except fuzzy query items. Modernizing the query stack format to make it more extensible (i.e. move encoding to Protobuf) is on the backlog...!
* | | Merge pull request #30995 from ↵Geir Storli2024-04-229-18/+34
|\ \ \ | | | | | | | | | | | | | | | | vespa-engine/balder/remove-asserts-and-test-with-invalid-typedcells Test that distance calculation with invalid typed cells does not trig… MERGEOK