Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #30611 from ↵ | Tor Brede Vekterli | 2024-03-13 | 7 | -98/+166 |
|\ | | | | | | | | | vespa-engine/vekterli/handle-imported-attributes-in-doc-select-fallback-path Use attributes when evaluating selection expression on full documents | ||||
| * | Use attributes when evaluating selection expression on full documents | Tor Brede Vekterli | 2024-03-12 | 7 | -98/+166 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This addresses an unintended shortcoming in our handling of imported fields, as these are exposed _only_ through attributes. Document selection evaluation is automatically optimized in the backend by pre-filtering documents that can be fully evaluated by exclusively looking at attribute values (this goes for both selection matching and mismatching). This is done by cloning the selection AST and replacing all applicable field value nodes with corresponding attribute references. However, if a document _cannot_ be evaluated from attributes alone, we fall back to reading it fully from the doc store, after which the original selection is evaluated on it. This is the crux of the problem, and prior to this commit an expression using both an imported field and a non-attribute field would fail to be evaluated since the full document evaluation would not have any knowledge of the attribute. This commit makes it so that also the full document evaluation will use a "patched" AST with all possible field references replaced with attribute lookups. Since we reuse an existing patched AST that was not otherwise used in this code path, there is no added overhead with this approach. | ||||
* | | Merge pull request #30580 from ↵ | Geir Storli | 2024-03-12 | 2 | -69/+75 |
|\ \ | | | | | | | | | | | | | vespa-engine/toregge/rewrite-searchcore-fusion-runner-unit-test-to-gtest Rewrite searchcore fusion runner unit test to gtest. | ||||
| * | | Rewrite searchcore fusion runner unit test to gtest. | Tor Egge | 2024-03-11 | 2 | -69/+75 |
| |/ | |||||
* | | Merge pull request #30579 from ↵ | Geir Storli | 2024-03-12 | 2 | -38/+35 |
|\ \ | | | | | | | | | | | | | vespa-engine/toregge/rewrite-searchcore-disk-index-cleaner-unit-test-to-gtest Rewrite searchcore DiskIndexCleaner unit test to gtest. | ||||
| * | | Rewrite searchcore DiskIndexCleaner unit test to gtest. | Tor Egge | 2024-03-11 | 2 | -38/+35 |
| |/ | |||||
* | | Merge pull request #30578 from ↵ | Geir Storli | 2024-03-12 | 2 | -31/+9 |
|\ \ | | | | | | | | | | | | | vespa-engine/toregge/rewrite-searchcore-feed-token-unit-test-to-gtest Rewrite searchcore FeedToken unit test to gtest. | ||||
| * | | Rewrite searchcore FeedToken unit test to gtest. | Tor Egge | 2024-03-11 | 2 | -31/+9 |
| |/ | |||||
* | | Merge pull request #30577 from ↵ | Geir Storli | 2024-03-12 | 1 | -42/+17 |
|\ \ | | | | | | | | | | | | | vespa-engine/toregge/rewrite-searchcore-feed-and-search-unit-test-to-gtest Rewrite searchcore feed and search unit test to gtest. | ||||
| * | | Rewrite searchcore feed and search unit test to gtest. | Tor Egge | 2024-03-11 | 1 | -42/+17 |
| |/ | |||||
* / | Rewrite searchcore attribute flush unit test to gtest. | Tor Egge | 2024-03-11 | 2 | -151/+78 |
|/ | |||||
* | Rename to reflect that is is a configid, not a search cluster. | Henning Baldersheim | 2024-03-05 | 1 | -3/+3 |
| | |||||
* | Cache the query stack if using ranking.queryCache and use it for proper ↵ | Henning Baldersheim | 2024-02-29 | 5 | -13/+33 |
| | | | | summary handling | ||||
* | c++11 for loops | Henning Baldersheim | 2024-02-29 | 1 | -10/+8 |
| | |||||
* | know the in-flow when sorting blueprints | Håvard Pettersen | 2024-02-23 | 1 | -2/+4 |
| | | | | | | also added the option and tagging mechanic needed to force selected blueprints to be strict even in a non-strict context as well as calculating how much time this saves you. | ||||
* | - Hide recall terms from ranking. | Henning Baldersheim | 2024-02-19 | 1 | -3/+3 |
| | | | | - Add noexcept. | ||||
* | vespa.summaryFeatures.cached is always 0.0 (false) | Henning Baldersheim | 2024-02-12 | 1 | -1/+0 |
| | |||||
* | Use smaller buffer for reading file headers. And GC some unused code. | Henning Baldersheim | 2024-02-09 | 3 | -35/+18 |
| | |||||
* | - Complete dumping of 1 index field before progressing to the next. | Henning Baldersheim | 2024-02-08 | 3 | -19/+19 |
| | | | | | - This prevents allocating memory buffers, and file descriptors for all fields concurrently. - It will reduce memory footprint during flush if there are many fields. | ||||
* | Add low-level benchmark program for search iterators. | Geir Storli | 2024-02-08 | 2 | -7/+7 |
| | | | | | Currently, it can benchmark the following query operators over an attribute vector: Single term, In, WeightedSet, DotProduct, Or. | ||||
* | Merge pull request #30199 from vespa-engine/havardpe/explicit-flow-defaults | Geir Storli | 2024-02-06 | 2 | -0/+6 |
|\ | | | | | make default flow stats more explicit | ||||
| * | make default flow stats more explicit | Håvard Pettersen | 2024-02-06 | 2 | -0/+6 |
| | | | | | | | | | | | | for both simple and complex leafs account for number of inner children in complex leafs account for seek nesting for complex leafs with children | ||||
* | | Merge pull request #30186 from ↵ | Geir Storli | 2024-02-06 | 1 | -3/+15 |
|\ \ | |/ |/| | | | | | vespa-engine/toregge/track-oldest-config-generation-used-for-streaming-search Track oldest config generation used for streaming search. | ||||
| * | Track oldest config generation used for streaming search. | Tor Egge | 2024-02-05 | 1 | -3/+15 |
| | | |||||
* | | Align flow stats calculation for leaf blueprints. | Geir Storli | 2024-02-05 | 1 | -5/+0 |
|/ | | | | | A special case is added for attributes without a known hit estimate, instead of trying to deduce this based on the size of the (legacy) absolute hit estimate. | ||||
* | Include missing config files. | Henning Baldersheim | 2024-02-05 | 1 | -0/+3 |
| | |||||
* | Merge pull request #30158 from ↵ | Henning Baldersheim | 2024-02-05 | 4 | -19/+0 |
|\ | | | | | | | | | vespa-engine/balder/disable_queue_limits_for_chained_merges-always-true disable_queue_limits_for_chained_merges has long been true, GC | ||||
| * | disable_queue_limits_for_chained_merges has long been true, GC | Henning Baldersheim | 2024-02-02 | 4 | -19/+0 |
| | | |||||
* | | Merge pull request #30140 from ↵ | Geir Storli | 2024-02-05 | 1 | -2/+4 |
|\ \ | |/ |/| | | | | | vespa-engine/havardpe/re-wire-flow-stats-calculation re-wire flow stats in blueprints | ||||
| * | re-wire flow stats in blueprints | Håvard Pettersen | 2024-02-02 | 1 | -2/+4 |
| | | |||||
* | | Merge pull request #30147 from vespa-engine/geirst/unknown-hit-estimate | Henning Baldersheim | 2024-02-02 | 2 | -4/+4 |
|\ \ | | | | | | | Tag hit estimates from attribute search contexts as unknown when appl… | ||||
| * | | Tag hit estimates from attribute search contexts as unknown when applicable. | Geir Storli | 2024-02-02 | 2 | -4/+4 |
| |/ | |||||
* | | Must also gc param description in parallell array. | Henning Baldersheim | 2024-02-02 | 1 | -1/+0 |
| | | |||||
* | | GC maxpendingidealstateoperations which has not been wired in for a long time. | Henning Baldersheim | 2024-02-02 | 4 | -10/+0 |
|/ | |||||
* | GC unused stor-bucketdb and stor-opslogger config. | Henning Baldersheim | 2024-01-30 | 1 | -5/+0 |
| | |||||
* | Merge pull request #29976 from ↵ | Arne H Juul | 2024-01-24 | 1 | -10/+59 |
|\ | | | | | | | | | vespa-engine/arnej/unit-test-verify-ranksetup-streaming write vsmfields.cfg and add smoke test | ||||
| * | unit test streaming mode where possible | Arne Juul | 2024-01-19 | 1 | -15/+22 |
| | | |||||
| * | write vsmfields.cfg and add smoke test | Arne Juul | 2024-01-19 | 1 | -6/+48 |
| | | |||||
* | | Merge pull request #30017 from vespa-engine/havardpe/wire-flow-cost | Henning Baldersheim | 2024-01-23 | 2 | -6/+6 |
|\ \ | | | | | | | wire in strict flow analysis and strict-aware sorting | ||||
| * | | wire in strict flow analysis and strict-aware sorting | Håvard Pettersen | 2024-01-22 | 2 | -6/+6 |
| |/ | | | | | | | | | | | | | | | | | | | strict_cost added to all blueprints separate top-down sort step after optimize move relative estimate out of blueprint state optimize all children; to calculate flow stats leaf defaults: matching>0.9: est: 0.5, cost: 1.0, strict_cost: 1.0 matching<=0.9: est: rel_est, cost: 1.0, strict_cost: rel_est | ||||
* | | Some use cases needs a lower limit | Henning Baldersheim | 2024-01-22 | 1 | -3/+2 |
| | | |||||
* | | must not do two_phase_put for partial update | Arne Juul | 2024-01-22 | 1 | -1/+1 |
|/ | |||||
* | cleanup | Arne Juul | 2024-01-17 | 1 | -2/+0 |
| | |||||
* | add streaming-mode handling | Arne Juul | 2024-01-17 | 4 | -20/+67 |
| | |||||
* | Searchcore version of persistence conformance unit test uses gtest. | Tor Egge | 2024-01-05 | 1 | -1/+0 |
| | |||||
* | Merge branch 'master' into balder/gc-unused-feature-flags | Henning Baldersheim | 2023-12-20 | 5 | -241/+129 |
|\ | |||||
| * | Merge pull request #29719 from vespa-engine/balder/drop-very-costly-assert | Henning Baldersheim | 2023-12-20 | 1 | -1/+0 |
| |\ | | | | | | | - Having expensive asserts during shutdown is not worthwhile. It does… | ||||
| | * | - Having expensive asserts during shutdown is not worthwhile. It does not ↵ | Henning Baldersheim | 2023-12-20 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | prevent persisting any errors, nor does it provide any information about what went wrong. | ||||
| * | | enable sorting on cost | Håvard Pettersen | 2023-12-20 | 3 | -6/+10 |
| |/ | |||||
| * | Estimate => Cost | Henning Baldersheim | 2023-12-19 | 3 | -4/+4 |
| | |