summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/tensor
Commit message (Collapse)AuthorAgeFilesLines
* Add class to track mapping from docid to [nodeid] used in hnsw index.Geir Storli2022-11-142-0/+101
| | | | This class is to be used when supporting multiple vectors per document.
* Add HnswIdentityMapping.Tor Egge2022-11-091-6/+6
|
* Rename HnswNode to HnswTestNode.Tor Egge2022-11-091-10/+10
|
* Add search::tensor::SubspaceType.Tor Egge2022-11-042-4/+23
|
* Pass VectorBundle to NearestNeighborIndex::prepare_add_document member function.Tor Egge2022-11-042-3/+3
|
* Add search::tensor::DocVectorAccess::get_vectors() member function.Tor Egge2022-11-034-16/+23
|
* Pass subspace to DocVectorAccess::get_vector member function.Tor Egge2022-11-024-14/+56
|
* Rename HNSW graph member functions:Tor Egge2022-10-261-8/+8
| | | | | make_node_for_document => make_node remove_node_for_document => remove_node
* Use nodeid instead of docid to identify an HNSW graph node.Tor Egge2022-10-252-19/+19
|
* Skip reclaim_labels on original buffer when it has been copied as part of ↵Tor Egge2022-10-141-3/+2
| | | | | | compaction or fallback copy (due to datastore buffer fallback resize).
* Remove unneeded calls to update_oldest_used_generation().Geir Storli2022-10-132-2/+0
| | | | This is already done in incGeneration().
* Rename clearHoldLists() -> reclaim_all_memory().Geir Storli2022-10-121-1/+1
|
* Rename trimHoldLists() -> reclaim_memory().Geir Storli2022-10-122-2/+2
|
* Rename transferHoldLists() -> assign_generation().Geir Storli2022-10-122-2/+2
|
* Rename first used generation -> oldest used generation.Geir Storli2022-10-122-4/+4
|
* Rename ICompactable::move to move_on_compact.Tor Egge2022-10-112-8/+9
|
* Share code for loading and saving tensor attribute betweenTor Egge2022-10-071-3/+3
| | | | SerializedFastValueAttribute and DirectTensorAttribute.
* Rename search::tensor::DirectTensorStore::get_tensor to get_tensor_ptr.Tor Egge2022-10-071-4/+4
|
* Add unit test for TensorBufferTypeMapper.Tor Egge2022-10-072-0/+130
|
* Deinline TestParam copy constructor.Tor Egge2022-10-031-0/+3
|
* Add TensorBufferStore.Tor Egge2022-09-302-0/+173
|
* Add tensor buffer operations.Tor Egge2022-09-302-0/+197
|
* add support for multi-bitvector global filterHåvard Pettersen2022-09-131-12/+3
| | | | | move some testing convenience into GlobalFilter make more realistic bitvectors for filter testing
* GlobalFilter is now an interfaceHåvard Pettersen2022-09-121-7/+14
| | | | instead of a shared optional BitVector
* fix undefined behavior in unit tests -- WIPHåvard Pettersen2022-06-071-1/+3
|
* Add acquire_node_ref() member function to HnswGraph.Tor Egge2022-03-221-5/+5
|
* Use constantHarald Musum2022-02-191-1/+1
|
* Somehow a paren got lost before comittingHarald Musum2022-02-181-1/+1
|
* Use EXPECT_NEAR when comparingHarald Musum2022-02-181-1/+1
| | | | EXPECT_DOUBLE_EQ fails on arm64 for some reason
* compare new GeoGcd with implementation as tensor distanceArne H Juul2022-01-171-0/+5
|
* Calculate need for compaction when updating stats.Tor Egge2021-12-091-2/+3
|
* Reduce alignment for small dense tensors.Tor Egge2021-12-091-1/+10
|
* Add CompactionSpec.Tor Egge2021-12-081-2/+6
| | | | | Pass CompactionStrategy to DataStoreBase::startCompactWorstBuffers in preparation for compacting more buffers in the same compaction round.
* Move CompactionStrategy from searchcommon to vespalib.Tor Egge2021-12-081-2/+2
|
* Both arguments to distancecalculations will always be the same and have ↵Henning Baldersheim2021-11-261-4/+0
| | | | expected type, also for Int8Float.
* Update 2020 Oath copyrights.gjoranv2021-10-272-2/+2
|
* Update Verizon Media copyright notices.gjoranv2021-10-077-7/+7
|
* Update 2017 copyright notices.gjoranv2021-10-072-2/+2
|
* Change loading of nearest neighbor index to use direct I/O instead of mmapping.Geir Storli2021-09-151-2/+18
| | | | This should reduce memory spike during loading.
* Reduce memory spike during loading of hnsw index by committing at regular ↵Geir Storli2021-09-101-3/+2
| | | | | | | intervals. This ensures that memory buffers on hold lists are trimmed while loading, keeping the excess memory usage at a minimum.
* Compact HNSW index when ratio of dead bytes / address space is too highTor Egge2021-08-181-1/+117
| | | | relative to used bytes / address space.
* A swappable attribute will use a file backed memory allocator.Henning Baldersheim2021-08-121-4/+4
|
* Allow more rounding errors for small (zero) distances.Tor Egge2021-05-011-4/+9
|
* actually wants floatArne Juul2021-04-132-2/+3
|
* let the distance function decide how it wants the query tensor convertedArne Juul2021-04-122-2/+2
|
* test a bit moreArne Juul2021-04-121-1/+27
|
* fix NNS distance for new cell typesArne Juul2021-04-123-4/+8
| | | | This reverts commit f167fe4362c5e4e20a7605b99205cfbee77c569a.
* Revert "fix NNS distance for new cell types"Arnstein Ressem2021-04-123-8/+4
|
* fix NNS distance for new cell typesArne Juul2021-04-093-4/+8
|
* Remove experimental use of mmap file allocator for dense tensor data.Geir Storli2021-03-261-4/+4
|