aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* Prevent eternal loop if bit vectors are shorter than docid limitHenning Baldersheim2023-10-031-6/+5
|
* Add disabled test to prove eternal loop.Henning Baldersheim2023-10-031-4/+35
|
* Add test counting seeksHenning Baldersheim2023-10-031-0/+16
|
* Refactor testHenning Baldersheim2023-10-031-127/+90
|
* Merge pull request #28723 from ↵Henning Baldersheim2023-10-021-12/+40
|\ | | | | | | | | vespa-engine/balder/lift-out-single-leaf-iterators-from-ws Lift out single iterators if they are leafs and tfmd is not needed.
| * If there is a single child in the ws, that also is a leaf, it will be be ↵Henning Baldersheim2023-09-291-1/+9
| | | | | | | | lifted out directly.
| * Add test for single term wsetsHenning Baldersheim2023-09-291-12/+32
| |
* | Normalize class names in attribute weighted set blueprint test.Tor Egge2023-09-291-4/+27
|/
* Store a limited number of posting list indexes in countHits() toTor Egge2023-09-271-0/+20
| | | | | reduce amount of dictionary entry filtering in fillArray() and fillBitVector() for regexp search and fuzzy search.
* Merge pull request #28654 from vespa-engine/balder/return-early-on-matchHenning Baldersheim2023-09-261-9/+9
|\ | | | | - Return early in doSeek if docId found.
| * Clean up code based on clions's adviseHenning Baldersheim2023-09-251-9/+9
| |
* | Integrate DFA-based fuzzy matching.Geir Storli2023-09-251-2/+2
|/
* Add another is_match member function to dfa fuzzy matcher that doesn'tTor Egge2023-09-251-18/+115
| | | | try to update directory iterator.
* Merge branch 'master' into balder/lift-single-filter-terms-out-from-wsHenning Baldersheim2023-09-252-14/+53
|\
| * Merge pull request #28626 from ↵Henning Baldersheim2023-09-251-3/+3
| |\ | | | | | | | | | | | | vespa-engine/balder/balder/wire-doom-into-fetch-postings Wire in doom and let hitrate be a float int
| | * Wire in doom and let hitrate be a float intHenning Baldersheim2023-09-221-3/+3
| | |
| * | Add prefix_size constructor argument to DfaFuzzyMatcher.Tor Egge2023-09-221-11/+50
| |/
* / - Single filter terms can be lifted out from weighted sets.Henning Baldersheim2023-09-231-28/+71
|/
* Merge pull request #28609 from ↵Geir Storli2023-09-221-2/+24
|\ | | | | | | | | vespa-engine/toregge/use-utf32-dfa-fuzzy-match-successor Use UTF-32 dfa fuzzy match successor.
| * Use UTF-32 dfa fuzzy match successor.Tor Egge2023-09-211-2/+24
| |
* | Merge pull request #28606 from ↵Geir Storli2023-09-211-0/+2
|\ \ | |/ |/| | | | | vespa-engine/geirst/fuzzy-matching-algorithm-query-property Add query property to control fuzzy matching algorithm.
| * Add query property to control fuzzy matching algorithm.Geir Storli2023-09-211-0/+2
| |
* | Extend allowed key types for FoldedStringCompare::compareFolded.Tor Egge2023-09-211-2/+34
|/
* Use UTF-8 string literals.Tor Egge2023-09-201-1/+9
|
* Merge pull request #28580 from ↵Tor Egge2023-09-202-3/+92
|\ | | | | | | | | vespa-engine/toregge/switch-sort-order-for-cased-string-enum-store Switch sort order for cased string enum store.
| * Switch sort order for cased string enum store.Tor Egge2023-09-202-3/+92
| |
* | Avoid incorrect match for brute force case sensitive prefix search.Tor Egge2023-09-201-0/+20
|/
* Stop overriding equal member function in EnumStoreStringComparator.Tor Egge2023-09-191-16/+11
|
* Add class that uses a LevenshteinDfa to perform fuzzy matching in a dictionary.Geir Storli2023-09-182-0/+254
| | | | | The dictionary iterator is advanced based on the successor string from the DFA each time the candidate word is _not_ a match.
* Add DfaStringComparator.Tor Egge2023-09-151-0/+25
|
* Rewrite enum comparator unit test to use gtest.Tor Egge2023-09-152-17/+15
|
* Control folding for FoldedStringCompare::comareFolded using templateTor Egge2023-09-152-0/+139
| | | | arguments.
* Add memory index write context details to index manager state explorer.Geir Storli2023-09-041-7/+26
| | | | This shows which index fields that are assigned to each executor id.
* Use std::filesystem::directory_iterator in TransLogClient unit test.Tor Egge2023-08-311-8/+5
|
* Use "_test" suffix for unit test cpp files.Geir Storli2023-08-3046-36/+36
|
* Make paged attribute test (checking growth of swap file) more robust.Tor Egge2023-08-251-17/+12
|
* Merge pull request #28054 from ↵Arne H Juul2023-08-172-5/+24
|\ | | | | | | | | vespa-engine/geirst/target-hits-max-adjustment-factor Control the auto-adjustment of targetHits in ANN using post-filtering.
| * Control the auto-adjustment of targetHits in ANN using post-filtering.Geir Storli2023-08-152-5/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | make one DistanceCalculator per NearestNeighborIterator instanceArne Juul2023-08-141-4/+6
|/
* Use auto and std::make_uniqueHenning Baldersheim2023-07-271-9/+9
|
* - Pack data closer to let config fit in 2 cache lines instead of 4.Henning Baldersheim2023-07-272-2/+2
| | | | | - Avoid plt indirection and allow more inlining of frequently called code. - Reapplication of #27646
* Merge pull request #27817 from ↵Henning Baldersheim2023-07-274-129/+59
|\ | | | | | | | | vespa-engine/revert-27773-revert-27643-balder/use-direct-weighted-set-also-for-filter-fields Revert "Revert "- Consolidate on isFilter.""
| * Require non-filter attribute to enable dwa, as its support is incomplete.Henning Baldersheim2023-07-191-2/+2
| |
| * Revert "Revert "- Consolidate on isFilter.""Henning Baldersheim2023-07-195-131/+61
| |
* | Prefer std::filesystem::exists over FastOS_StatInfoHenning Baldersheim2023-07-251-27/+20
| |
* | Drop very long words.Tor Egge2023-07-212-5/+22
| |
* | We only need the FieldSpecBase. No need to carry and copy the name around.Henning Baldersheim2023-07-192-4/+3
|/
* Drop non ancient non const GetSize/GetPositionHenning Baldersheim2023-07-183-6/+6
|
* Reduce use of vespalib::unlink.Tor Egge2023-07-171-5/+5
|
* Merge pull request #27785 from ↵Tor Egge2023-07-141-18/+1
|\ | | | | | | | | vespa-engine/toregge/use-std-filesystem-remove-in-docstore-unit-test Use std::filesystem::remove in docstore unit test.