Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #12135 from ↵ | Geir Storli | 2020-02-11 | 8 | -373/+368 |
|\ | | | | | | | | | vespa-engine/geirst/hnsw-simplifications-with-distance-function-interface Hnsw simplifications with distance function interface | ||||
| * | Remove unneeded "template" keyword. | Geir Storli | 2020-02-11 | 1 | -2/+2 |
| | | |||||
| * | Rename HnswIndexBase -> HnswIndex and remove the templated class. | Geir Storli | 2020-02-10 | 6 | -504/+445 |
| | | |||||
| * | Move code to the hnsw index base class as we no longer depend on the float type. | Geir Storli | 2020-02-10 | 4 | -163/+158 |
| | | |||||
| * | Add interface used to calculate the distance between two n-dim vectors. | Geir Storli | 2020-02-10 | 7 | -24/+83 |
| | | |||||
* | | If debugging of SearchHandler is turned on, the 1k first request will have ↵ | Henning Baldersheim | 2020-02-11 | 1 | -0/+1 |
| | | | | | | | | | | | | trace and timing information. The 1k number is configurable in the container-http config. | ||||
* | | Merge pull request #12124 from vespa-engine/balder/set-constants-once | Henning Baldersheim | 2020-02-10 | 2 | -29/+33 |
|\ \ | | | | | | | Set constants once. | ||||
| * | | Set constants once. | Henning Baldersheim | 2020-02-07 | 2 | -29/+33 |
| | | | |||||
* | | | Add gather,slice,cast,unsqueeze onnx operations | Lester Solbakken | 2020-02-10 | 1 | -0/+50 |
| |/ |/| | |||||
* | | Merge pull request #12118 from vespa-engine/arnej/add-remove-to-hnsw-index | Geir Storli | 2020-02-07 | 4 | -2/+68 |
|\ \ | |/ |/| | implement remove_document | ||||
| * | implement remove_document | Arne Juul | 2020-02-07 | 4 | -2/+68 |
| | | |||||
* | | std::move and = default. | Henning Baldersheim | 2020-02-07 | 2 | -7/+4 |
| | | |||||
* | | Use std::make_shared and std::move | Henning Baldersheim | 2020-02-07 | 7 | -84/+73 |
|/ | |||||
* | Merge pull request #12097 from ↵ | Geir Storli | 2020-02-07 | 3 | -19/+17 |
|\ | | | | | | | | | vespa-engine/geirst/atomic-entry-ref-in-hnsw-index Implement wrapper for std::atomic of type EntryRef and use it in hnsw… | ||||
| * | Implement wrapper for std::atomic of type EntryRef and use it in hnsw index ↵ | Geir Storli | 2020-02-06 | 3 | -19/+17 |
| | | | | | | | | to get snapshotting of level arrays. | ||||
* | | Handle lookup in singlevalue byte attributes efficiently too. | Henning Baldersheim | 2020-02-06 | 1 | -0/+1 |
|/ | |||||
* | Store entry level as an int to simplify add_document() function. | Geir Storli | 2020-02-06 | 3 | -4/+4 |
| | |||||
* | Add support for adding a new document in multiple levels in the graph. | Geir Storli | 2020-02-06 | 6 | -38/+118 |
| | |||||
* | Add interface used to randomly draw the max level a new hnsw node should ↵ | Geir Storli | 2020-02-05 | 7 | -9/+43 |
| | | | | exist in. | ||||
* | Add function to array store that returns a writeable reference to an array. | Geir Storli | 2020-02-05 | 2 | -6/+6 |
| | |||||
* | Implement a select neighbor function that uses a heuristic the accounts for ↵ | Geir Storli | 2020-02-05 | 5 | -16/+154 |
| | | | | distances between candidates. | ||||
* | Merge pull request #12063 from vespa-engine/geirst/hnsw-index-skeleton | Arne H Juul | 2020-02-04 | 11 | -0/+613 |
|\ | | | | | Implement skeleton of a HNSW index on top of data stores. | ||||
| * | Implement skeleton of a HNSW index on top of data stores. | Geir Storli | 2020-02-04 | 11 | -0/+613 |
| | | | | | | | | Currently only supports adding documents to layer 0 with simple strategy for selecting neighbors. | ||||
* | | Forward isUndefined() for imported attributes to the target attribute vector | Tor Brede Vekterli | 2020-01-31 | 3 | -0/+19 |
|/ | | | | | Default implementation would always return false, which means that the undefined sentinel value would be returned to--and used by--the caller. | ||||
* | Use vespalib::alloc::Allo instead. Will handle large documents smoother. | Henning Baldersheim | 2020-01-30 | 1 | -4/+4 |
| | |||||
* | Do not hold the lock when visiting documents inflight. | Henning Baldersheim | 2020-01-30 | 2 | -2/+16 |
| | |||||
* | Merge pull request #11998 from ↵ | Tor Brede Vekterli | 2020-01-30 | 9 | -8/+69 |
|\ | | | | | | | | | vespa-engine/vekterli/add-readable-attribute-vector-accessor-to-iattribute-manager Add ReadableAttributeVector accessor to IAttributeManager | ||||
| * | Add ReadableAttributeVector accessor to IAttributeManager | Tor Brede Vekterli | 2020-01-29 | 9 | -8/+69 |
| | | | | | | | | | | | | | | | | | | | | Provides a unified interface for fetching both regular as well as imported attributes. Exposing `ReadableAttributeVector` instead of raw `AttributeVector` instances enforces that all access is done via appropriate acquired read guards. Refactor document selection processing code to use the new interface in order to prepare for imported field support in selections. | ||||
* | | Ensure that we never end up with a seemingly valid bit count of 0. | Henning Baldersheim | 2020-01-29 | 2 | -9/+8 |
| | | |||||
* | | Add testing of growing of bitvector when count is invalid | Henning Baldersheim | 2020-01-29 | 1 | -7/+15 |
| | | |||||
* | | Merge pull request #11986 from ↵ | Henning Baldersheim | 2020-01-28 | 4 | -37/+111 |
|\ \ | | | | | | | | | | | | | vespa-engine/geirst/fix-search-for-false-in-imported-bool-attributes Geirst/fix search for false in imported bool attributes | ||||
| * | | Make it more readable. | Geir Storli | 2020-01-28 | 1 | -2/+2 |
| | | | |||||
| * | | Correctly handle search for "false" in the underlying search context of ↵ | Geir Storli | 2020-01-28 | 3 | -36/+110 |
| | | | | | | | | | | | | | | | | | | | | | | | | singleboolattribute. This code path is used when searching on an imported bool attribute (from a parent document), combined with other query terms (e.g. under an AND) such that the search iterator for the imported bool attributes is not strict. In this case the underlying search context is used, and search for "false" would previously return all "true" documents instead. | ||||
| * | | Rename searchcontext.cpp -> searchcontext_test.cpp | Geir Storli | 2020-01-28 | 2 | -1/+1 |
| | | | |||||
* | | | Allow room for bringing allocation along to reduce the need to copy. | Henning Baldersheim | 2020-01-27 | 1 | -10/+4 |
|/ / | |||||
* | | Add include statements needed by newer build environments. | Tor Egge | 2020-01-26 | 3 | -0/+3 |
| | | |||||
* | | Include stdexcept before using std::runtime_error | Tor Egge | 2020-01-26 | 7 | -0/+7 |
| | | |||||
* | | Fix assert errors in unit tests. | Tor Egge | 2020-01-26 | 2 | -2/+2 |
| | | |||||
* | | Count bits faster when hardware supports it. | Henning Baldersheim | 2020-01-24 | 2 | -19/+1 |
| | | |||||
* | | Faster atomic operations based on PR review. | Henning Baldersheim | 2020-01-24 | 1 | -4/+5 |
| | | |||||
* | | Count after invalidating. | Henning Baldersheim | 2020-01-24 | 2 | -1/+2 |
| | | |||||
* | | Unroll tight loop. | Henning Baldersheim | 2020-01-24 | 1 | -1/+8 |
| | | |||||
* | | Use atomic sematics for cached number of true bits to ensure visibility. | Henning Baldersheim | 2020-01-24 | 1 | -9/+11 |
|/ | |||||
* | Merge pull request #11877 from ↵ | Henning Baldersheim | 2020-01-22 | 7 | -41/+23 |
|\ | | | | | | | | | vespa-engine/balder/add-noexcept-to-move-constructors-and-operators Balder/add noexcept to move constructors and operators | ||||
| * | Add noexcept to move constructors and operators | Henning Baldersheim | 2020-01-21 | 7 | -41/+23 |
| | | |||||
* | | Maintain the cached bitCount to avoid cost query time. | Henning Baldersheim | 2020-01-22 | 9 | -75/+72 |
|/ | |||||
* | Merge pull request #11822 from vespa-engine/balder/reduce-bytebuffer-exposure | Henning Baldersheim | 2020-01-21 | 16 | -64/+58 |
|\ | | | | | Balder/reduce bytebuffer exposure | ||||
| * | c_str -> data | Henning Baldersheim | 2020-01-21 | 15 | -41/+41 |
| | | |||||
| * | Make it known that getting serialized size will always be expensive. | Henning Baldersheim | 2020-01-20 | 1 | -14/+13 |
| | | |||||
| * | GC a load of unused code. ByteBuffer towards read only. | Henning Baldersheim | 2020-01-20 | 1 | -7/+2 |
| | |