summaryrefslogtreecommitdiffstats
path: root/searchlib
Commit message (Collapse)AuthorAgeFilesLines
* Adjust member function names to reflect what is being compacted.Tor Egge2021-04-127-19/+19
|
* Add CompactionStrategy methods to determine if compaction should be performed.Tor Egge2021-04-097-41/+10
|
* Use consistent namingHenning Baldersheim2021-04-082-5/+9
|
* Wire the whole dictionary cfg all the way.Henning Baldersheim2021-04-084-7/+7
|
* Wire in match configHenning Baldersheim2021-04-081-1/+14
|
* Avoid noncompliant use of std::is_sorted (The comparison function did notTor Egge2021-04-082-2/+4
| | | | satisfy the requirements for Compare.). Use std::adjacent_find instead.
* If unique values can be unsorted then any enum value change isTor Egge2021-04-082-2/+4
| | | | considered to be a folded change (separate posting list).
* Sort unique values during load if needed.Tor Egge2021-04-0820-19/+110
|
* only allow getDirectEvaluator when arguments are accessed normallyArne Juul2021-04-061-0/+5
|
* add unit test for lambda optimization bugArne Juul2021-04-061-0/+2
|
* Rename unit test type parameters.Tor Egge2021-04-061-24/+24
|
* Merge pull request #17264 from vespa-engine/balder/avoid-expensive-dynamic-castHenning Baldersheim2021-04-064-27/+17
|\ | | | | Avoid expensive dynamic_cast
| * Remove assert that no longer has any purpose.Henning Baldersheim2021-04-061-1/+0
| |
| * Avoid expensive dynamic_castHenning Baldersheim2021-04-024-26/+17
| |
* | Reserve size for property maps.Henning Baldersheim2021-04-045-4/+12
|/
* - Based on feedback from callgrind and perf add hint about most likely ↵Henning Baldersheim2021-03-314-56/+31
| | | | | | branch in frequently called code. - Inline small frequent methods.
* Assert that the impossible will never happen.Henning Baldersheim2021-03-311-4/+3
|
* Downgrade to string in case of trouble.Henning Baldersheim2021-03-313-1/+21
|
* Ensure and check zero termination.Henning Baldersheim2021-03-313-3/+10
|
* Avoid null pointer dereference.Tor Egge2021-03-311-1/+1
|
* Merge pull request #17236 from vespa-engine/arnej/nns-for-imported-tensorArne H Juul2021-03-319-28/+46
|\ | | | | add wiring to allow NNS for imported tensor
| * check tensor type of attribute explicitlyArne Juul2021-03-311-6/+7
| |
| * add wiring to allow NNS for imported tensorArne Juul2021-03-309-27/+44
| |
* | Merge pull request #17244 from ↵Henning Baldersheim2021-03-302-1/+13
|\ \ | | | | | | | | | | | | vespa-engine/toregge/enable-limited-range-search-with-hash-dictionary Enable limited range search with hash dictionary (i.e. fallback to filtering).
| * | Enable limited range search with hash dictionary (i.e. fallback to filtering).Tor Egge2021-03-302-1/+13
| | |
* | | Merge pull request #17226 from vespa-engine/balder/dotproduct-as-termHenning Baldersheim2021-03-3034-370/+645
|\ \ \ | |/ / |/| | - Let DotProduct,Wand and WeightedSet be Term nodes in the query tree…
| * | Add testing of multiterm and allow mixing and matching of string vs integer.Henning Baldersheim2021-03-302-9/+79
| | |
| * | - Add type to MultiTerm to enable perfect replication.Henning Baldersheim2021-03-303-5/+24
| | | | | | | | | | | | - Ensure the string is zero terminated.
| * | Report errors when there are too few items on the stack.Henning Baldersheim2021-03-301-3/+6
| | |
| * | Keep a local instance instead of a const reference.Henning Baldersheim2021-03-301-1/+1
| | |
| * | Enough to keep the stringref.Henning Baldersheim2021-03-301-1/+1
| | |
| * | - Use a LookupKey to further delay data conversion until we know it is ↵Henning Baldersheim2021-03-2912-99/+168
| | | | | | | | | | | | | | | | | | necessary. - GC unused code
| * | - Let DotProduct,Wand and WeightedSet be Term nodes in the query tree as ↵Henning Baldersheim2021-03-2925-292/+406
| | | | | | | | | | | | | | | | | | | | | | | | they really are. That restricts the nodes to what they can really do and makes them significantly cheaper. - In addition type conversion of numeric terms is delayed to when it is necessary. And as next step they can be avoided completely.
* | | Merge pull request #17234 from ↵Henning Baldersheim2021-03-306-75/+171
|\ \ \ | | | | | | | | | | | | | | | | vespa-engine/oregge/hash-only-unique-store-dictionary Handle UniqueStoreDictionary without B-tree.
| * | | Handle UniqueStoreDictionary without B-tree.Tor Egge2021-03-306-75/+171
| | | |
* | | | Avoid dynamic castHenning Baldersheim2021-03-304-23/+26
|/ / /
* | | Add missing move operators that avoid alot of copying when dealing with ↵Henning Baldersheim2021-03-297-18/+32
| | | | | | | | | | | | vectors and maps.
* | | Add noexcept specifier to lambda.Tor Egge2021-03-291-1/+1
|/ /
* | Factor out ReadSnapshot from UniqueStoreDictionary.Tor Egge2021-03-291-2/+5
| |
* | - Simplify code by catching exception in one place.Henning Baldersheim2021-03-294-143/+107
| | | | | | | | | | - Unify error handling to prevent reading past the buffer. - track positions by using to integers insteda of 2 pointers.
* | - No need for _currCreator member, it can be constructed from _currFlags ↵Henning Baldersheim2021-03-294-37/+27
| | | | | | | | | | | | when needed. - No need for _size meber since we have both start and end of buffer.
* | - Use faster std::to_chars.Henning Baldersheim2021-03-288-62/+57
|/ | | | | - Reorganize stackdumpitertor so members accesses frequently are colocated. - Add test to keep iteratorsize under control.
* Merge pull request #17212 from ↵Arne H Juul2021-03-268-365/+4
|\ | | | | | | | | vespa-engine/geirst/remove-serialized-tensor-attribute Remove SerializedTensorAttribute that is replaced by SerializedFastVa…
| * Remove SerializedTensorAttribute that is replaced by ↵Geir Storli2021-03-268-365/+4
| | | | | | | | SerializedFastValueAttribute.
* | Merge pull request #17201 from ↵Henning Baldersheim2021-03-262-24/+31
|\ \ | |/ |/| | | | | vespa-engine/balder/reduce-inlining-and-template-arguments Remove template parameter not needed and reduce inlining.
| * Remove template parameter not needed and reduce inlining.Henning Baldersheim2021-03-262-24/+31
| |
* | Merge pull request #17205 from ↵Geir Storli2021-03-265-54/+11
|\ \ | |/ |/| | | | | vespa-engine/geirst/remove-experimental-use-of-mmap-file-allocator Remove experimental use of mmap file allocator for dense tensor data.
| * Remove experimental use of mmap file allocator for dense tensor data.Geir Storli2021-03-265-54/+11
| |
* | add some sanity checkingArne Juul2021-03-261-0/+12
|/
* Merge pull request #17199 from ↵Henning Baldersheim2021-03-262-4/+4
|\ | | | | | | | | vespa-engine/toregge/rename-simple-hash-map-to-sharded-hash-map Rename SimpleHashMap to ShardedHashMap.