summaryrefslogtreecommitdiffstats
path: root/searchlib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #29698 from vespa-engine/havardpe/best-flow-costv8.276.19Henning Baldersheim2023-12-183-0/+127
|\ | | | | verify that suggested sort order gives minimal flow cost
| * verify that suggested sort order gives minimal flow costHåvard Pettersen2023-12-183-0/+127
| |
* | Merge pull request #29697 from vespa-engine/geirst/multi-term-or-filter-searchGeir Storli2023-12-1811-61/+62
|\ \ | | | | | | Rename DocumentWeightOrFilterSearch to MultiTermOrFilterSearch.
| * | Rename DocumentWeightOrFilterSearch to MultiTermOrFilterSearch.Geir Storli2023-12-1811-61/+62
| |/
* | Merge pull request #29691 from vespa-engine/havardpe/dump-blueprint-costHenning Baldersheim2023-12-184-5/+70
|\ \ | | | | | | dump blueprint cost
| * | dump blueprint costHåvard Pettersen2023-12-184-5/+70
| | | | | | | | | | | | and ignore it when comparing structures
* | | do nested collapsing of AND when collapsing ANDNOTHåvard Pettersen2023-12-182-1/+24
| |/ |/| | | | | | | | | this is needed since the AND getting the extra AND as a child has already been processed for the optimize pass that performs AND collapsing.
* | - When estimating number of hits in range measure at both ends of range, as ↵Henning Baldersheim2023-12-171-11/+28
|/ | | | | | they might be very different. - Reduce the effect of outliers in the measured range by considering the global rate.
* Merge pull request #29679 from vespa-engine/balder/leaner-hotpathHenning Baldersheim2023-12-152-28/+36
|\ | | | | Balder/leaner hotpath
| * Hint at the most likely branches.Henning Baldersheim2023-12-151-17/+9
| |
| * Deinline the coldest path too.Henning Baldersheim2023-12-152-3/+13
| |
| * - Separate hot/cold path to enable compiler to make an even leaner hot path.Henning Baldersheim2023-12-152-14/+20
| |
* | Remove most of the now void clock indirection.Henning Baldersheim2023-12-152-14/+6
|/
* Revert "Balder/separate hot cold path tomake fast path faster"Henning Baldersheim2023-12-152-41/+34
|
* Merge pull request #29663 from ↵Henning Baldersheim2023-12-152-34/+41
|\ | | | | | | | | vespa-engine/balder/separate-hot-cold-path-tomake-fast-path-faster Balder/separate hot cold path tomake fast path faster
| * Update comments to reflect updated chunk sizeHenning Baldersheim2023-12-151-2/+2
| |
| * Hint at the most likely branches.Henning Baldersheim2023-12-141-17/+9
| |
| * Deinline the coldest path too.Henning Baldersheim2023-12-142-3/+13
| |
| * - Increase chunk size from 64 => 256 bytes. 4x cache line on intel, and 2x ↵Henning Baldersheim2023-12-142-6/+5
| | | | | | | | on arm64.
| * - Separate hot/cold path to enable compiler to make an even leaner hot path.Henning Baldersheim2023-12-142-14/+20
| |
* | Better naming and simpler code.Henning Baldersheim2023-12-153-6/+6
| |
* | - Add a doom that will not expire until it does not matter anymore.Henning Baldersheim2023-12-157-62/+74
|/ | | | | - Doom can never be null. - Wire doom into fillBitVector. Using it will be a separate PR.
* Merge pull request #29657 from ↵Henning Baldersheim2023-12-144-49/+103
|\ | | | | | | | | vespa-engine/geirst/direct-posting-store-single-string-attribute Support direct posting store API for single string attribute.
| * Simplify after code review.Geir Storli2023-12-143-9/+2
| |
| * Support direct posting store API for single string attribute.Geir Storli2023-12-144-49/+110
| |
* | Merge pull request #29654 from vespa-engine/havardpe/query-eval-flowHenning Baldersheim2023-12-149-33/+230
|\ \ | | | | | | use flow to calculate relative estimates and iterator cost
| * | use flow to calculate relative estimates and iterator costHåvard Pettersen2023-12-149-33/+230
| |/
* | Initialize _owned_bv in constructorHenning Baldersheim2023-12-141-1/+2
| |
* | Amdahl's law needs due respect. By allocating bitvector and zero ↵Henning Baldersheim2023-12-141-18/+22
|/ | | | | | | | | initializing it in the producing thread we achieve: - Shift work from sequential path to parallell path. - Avoid filling master threads cache during bitvector creation. - Pull directly into correct workers cache. - And increase the chance the memory is allocated in a numa region close to you.
* Merge pull request #29639 from ↵Geir Storli2023-12-1324-71/+218
|\ | | | | | | | | vespa-engine/geirst/direct-posting-store-single-integer-attributes Support direct posting store API for single integer attributes.
| * Support direct posting store API for single integer attributes.Geir Storli2023-12-1324-71/+218
| |
* | Merge pull request #29634 from ↵Henning Baldersheim2023-12-1313-140/+136
|\ \ | | | | | | | | | | | | vespa-engine/balder/make-it-build-without-optimization - Add some more extern templates to enable code to build with -O0.
| * | - Add some more extern templates to enable code to build with -O0.Henning Baldersheim2023-12-1313-140/+136
| |/ | | | | | | - Add some more noexcept.
* | Merge pull request #29630 from ↵Henning Baldersheim2023-12-1311-25/+113
|\ \ | | | | | | | | | | | | vespa-engine/balder/use-thread-bundle-for-range-fetchpostings Balder/use thread bundle for range fetchpostings
| * | Rewrite partition code to follow same pattern as in GlobalFilter.Henning Baldersheim2023-12-131-5/+9
| | |
| * | Follow config if using supplied thread bundle or not.Henning Baldersheim2023-12-124-0/+17
| | |
| * | Use provided thread bundle to compute effective range in parallel.Henning Baldersheim2023-12-125-18/+85
| | |
| * | Use const reference instead of copying vector.Henning Baldersheim2023-12-122-7/+7
| | |
* | | Add DotProductTerm for streaming search.Tor Egge2023-12-137-9/+158
| |/ |/|
* | get_integer_value only has implementations in leafs.Henning Baldersheim2023-12-131-4/+3
| |
* | Prepare for direct posting store integration for single value attributes.Geir Storli2023-12-1211-208/+318
| |
* | Merge pull request #29620 from ↵Geir Storli2023-12-121-16/+31
|\ \ | |/ |/| | | | | vespa-engine/geirst/refactor-direct-multi-term-blueprint-test Prepare for running with different attribute types.
| * Prepare for running with different attribute types.Geir Storli2023-12-121-16/+31
| |
* | Merge pull request #29617 from ↵Henning Baldersheim2023-12-1212-47/+62
|\ \ | |/ |/| | | | | vespa-engine/balder/wire-thread-bundle-to-executeinfo-and-requestcontext Wire in thread bundle to execute info and request context.
| * Unify on using reference where possible.Henning Baldersheim2023-12-127-32/+34
| |
| * Wire in thread bundle to execute info and request context.Henning Baldersheim2023-12-1211-36/+49
| |
* | Generalize DirectMultiTermBlueprint for different direct posting store types.Geir Storli2023-12-125-31/+33
|/
* float => double to to unify with estimate.Henning Baldersheim2023-12-122-16/+16
|
* No need to guard here. This is called once from the top after blueprint tree ↵Henning Baldersheim2023-12-111-10/+6
| | | | has been completely built.
* Revert "Revert "relative estimate""Henning Baldersheim2023-12-118-20/+189
|