aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib
Commit message (Collapse)AuthorAgeFilesLines
* The AttributeContext is a short lived cache for attributes guards. Until we ↵Henning Baldersheim2023-05-263-7/+27
| | | | | | | use the thread bundle we do not need to use expensive locking to fill the cache. Most of the attributes are pulled in when building the blueprint tree, and that always happens singlethreaded.
* - Make the MatchContext value object movable.Henning Baldersheim2023-05-262-8/+8
| | | | - Reduce code visibility.
* Merge pull request #27213 from vespa-engine/bundle-typegjoranv2023-05-251-0/+3
|\ | | | | Bundle type
| * Add bundle type to all CORE bundles.gjoranv2023-05-251-0/+3
| |
* | Use a read/write lock as lookup is far more frequent than updatesHenning Baldersheim2023-05-253-35/+38
| |
* | - Use a rwlock as reading surpasses writing by a very large factor.Henning Baldersheim2023-05-255-31/+33
|/ | | | - size() does not need a lock.
* Merge pull request #27203 from vespa-engine/balder/enough-with-generation-guardHenning Baldersheim2023-05-243-19/+9
|\ | | | | Balder/enough with generation guard
| * Holding the generation guard is sufficientHenning Baldersheim2023-05-243-19/+9
| |
* | Factor out conversion between strings and distance metric toTor Egge2023-05-244-51/+77
|/ | | | DistanceMetricUtils.
* Merge pull request #27185 from ↵Henning Baldersheim2023-05-2311-129/+66
|\ | | | | | | | | vespa-engine/balder/inline-small-frequently-called-methods Balder/inline small frequently called methods
| * Call get_has_btree_dictionary once.Henning Baldersheim2023-05-233-27/+21
| | | | | | | | Order small members by size at the end to avoid holes in the class.
| * Inline trivial constructorsHenning Baldersheim2023-05-232-14/+6
| |
| * Inline trivial constructor and destructorHenning Baldersheim2023-05-232-10/+5
| |
| * Return correct iteratorHenning Baldersheim2023-05-231-1/+1
| |
| * Inline small frequently called methodsHenning Baldersheim2023-05-232-68/+31
| |
| * Use default implementationHenning Baldersheim2023-05-231-9/+2
| |
* | Reuse distance function when calculating multiple distances from a node.Tor Egge2023-05-232-15/+9
|/
* Merge pull request #27182 from ↵Geir Storli2023-05-239-21/+103
|\ | | | | | | | | vespa-engine/toregge/save-and-load-hnsw-max-squared-norm Store max squared norm in file header during hnsw index save when using
| * Store max squared norm in file header during hnsw index save when usingTor Egge2023-05-239-21/+103
| | | | | | | | dotproduct distance metric. Adjust hnsw index load.
* | Extract ucs4 and take ownership to avoid the dirty code using a mutext ↵Henning Baldersheim2023-05-235-18/+27
| | | | | | | | protected lazy construction.
* | Use a smallvector to avoid indirection in most common case, and reserve some ↵Henning Baldersheim2023-05-225-3/+5
|/ | | | space upfront
* Merge pull request #27144 from vespa-engine/balder/reduce-number-of-allocationsv8.165.119Henning Baldersheim2023-05-2113-36/+54
|\ | | | | Balder/reduce number of allocations
| * Move the matchdata layout.Henning Baldersheim2023-05-163-6/+2
| |
| * Make single field createBlueprint accessibleHenning Baldersheim2023-05-162-18/+16
| |
| * Add reserve to dot product blueprintsHenning Baldersheim2023-05-166-4/+27
| |
| * Add reserve and simplify MatchDataLayoutHenning Baldersheim2023-05-162-8/+9
| |
* | GC unused assert includesHenning Baldersheim2023-05-1736-66/+83
|/
* Remove unused field/attribute access hinting.Tor Egge2023-05-1330-76/+22
|
* Reduce included code.Henning Baldersheim2023-05-122-2/+7
|
* Max tree size 64k -> 1mHenning Baldersheim2023-05-122-7/+7
|
* Remove unused method.Henning Baldersheim2023-05-122-3/+2
|
* Use SmallVector to avoid allocation in the common case.Henning Baldersheim2023-05-1210-34/+57
|
* Pack the State a bit closer togetherHenning Baldersheim2023-05-123-8/+8
|
* As a single field per blueprint is the common use case, make that optimal ↵Henning Baldersheim2023-05-126-44/+55
| | | | more optimal.
* Move the fieldspec base vector.Henning Baldersheim2023-05-1110-150/+96
|
* Add attribute access hint for tensorFromWeightedSet feature.Tor Egge2023-05-101-0/+3
|
* Setup search visitor without proton process.Tor Egge2023-05-102-4/+4
|
* Use createContextParams helper method.Henning Baldersheim2023-05-103-23/+23
|
* Grab the fallback guard in the constructor to ensure it is held fetching the ↵Henning Baldersheim2023-05-104-10/+22
| | | | postinglists and generating possible bitvector.
* Wire the metastore read guard all the way and use it, if present.Henning Baldersheim2023-05-0912-59/+55
|
* Merge pull request #27052 from vespa-engine/balder/use-shared-ptr-for-read-guardHenning Baldersheim2023-05-0911-16/+20
|\ | | | | Use shared_ptr for the read guard
| * Use shared_ptr for the read guardHenning Baldersheim2023-05-0911-16/+20
| |
* | Use const auto&Tor Egge2023-05-091-3/+3
| |
* | Add RankingAssetsBuilder.Tor Egge2023-05-096-3/+137
|/
* Move ranking config to configdefinitions module.Tor Egge2023-05-0911-1/+410
|
* Revert "Move ranking config to configdefinitions module"Harald Musum2023-05-0811-411/+1
|
* Update class comment.Tor Egge2023-05-081-1/+2
|
* Move ranking config to configdefinitions module.Tor Egge2023-05-0811-1/+410
|
* Update closeness (rawscore) and distance for the dotproduct distance metric.Geir Storli2023-05-084-22/+24
| | | | | closeness and rawScore rank features return the dot product. distance rank feature returns the negative dot product.
* Make it possible to configure dotproduct distance metric.Geir Storli2023-05-055-20/+26
|