Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change tests and reintroduce assert. | Henning Baldersheim | 2018-05-24 | 1 | -1/+1 |
| | |||||
* | Renaming and constification after code review comments. | Henning Baldersheim | 2018-05-24 | 1 | -2/+2 |
| | |||||
* | Only return the weight of the first match. Accumulate on the outside. | Henning Baldersheim | 2018-05-23 | 1 | -32/+41 |
| | |||||
* | Ensure conformance tests pass. | Henning Baldersheim | 2018-05-23 | 1 | -12/+25 |
| | |||||
* | Refactored to allow iteration over matching elements. | Henning Baldersheim | 2018-05-23 | 1 | -7/+7 |
| | |||||
* | Remove redundant typedef | Henning Baldersheim | 2018-05-11 | 1 | -1/+0 |
| | |||||
* | Adjust naming: referenced lid -> target lid. | Tor Egge | 2018-04-26 | 1 | -44/+44 |
| | |||||
* | Test that isImported() returns true. | Geir Storli | 2018-04-23 | 1 | -0/+4 |
| | |||||
* | Remove unused AttributeEnumGuard. | Tor Egge | 2018-04-20 | 1 | -1/+1 |
| | |||||
* | Change AttributeContext to use makeReadGuard method on attribute vectors. | Tor Egge | 2018-04-20 | 3 | -13/+22 |
| | |||||
* | Change target attribute type in ImportedAttributeVector to | Tor Egge | 2018-04-20 | 1 | -1/+1 |
| | | | | ReadableAttributeVector. | ||||
* | Add type-safe down-cast to ITensorAttribute in IAttributeVector and use this ↵ | Geir Storli | 2018-04-19 | 1 | -2/+7 |
| | | | | instead of dynamic_cast. | ||||
* | Add ReadableAttributeVector interface used to create a short-lived read ↵ | Geir Storli | 2018-04-19 | 2 | -1/+2 |
| | | | | | | guard over an attribute vector. Let AttributeVector and ImportedAttributeVector implement this interface. | ||||
* | Remove useReadGuard template argument from fixtures as read guard is always ↵ | Geir Storli | 2018-04-19 | 1 | -104/+18 |
| | | | | used now. | ||||
* | Change ImportedAttributeVector to no longer implement IAttributeVector API. | Geir Storli | 2018-04-19 | 2 | -31/+26 |
| | | | | All read access happens through short lived ImportedAttributeVectorReadGuard. | ||||
* | make the test pass again as the code was already correct. | Henning Baldersheim | 2018-04-03 | 1 | -1/+1 |
| | |||||
* | Add test to prove that the filter aspect is correctly handled also for the ↵ | Henning Baldersheim | 2018-04-03 | 1 | -1/+22 |
| | | | | DirectAttributeBlueprint | ||||
* | Cleanup formatting. | Henning Baldersheim | 2018-03-24 | 1 | -32/+18 |
| | |||||
* | Rewrite test to new test syntax | Henning Baldersheim | 2018-03-24 | 1 | -61/+25 |
| | |||||
* | Improve buffer allocation strategy in data store by matching underlying ↵ | Geir Storli | 2018-01-26 | 1 | -11/+20 |
| | | | | | | | | allocators. This should reduce the amount of memory wasted in allocations. 1) heap allocation: buffer size is power of 2 to match vespamalloc. 2) mmap allocation: buffer size is multiple of huge page size (2MB) to match mmap allocator. | ||||
* | Keep imported tensor attribute vector read guard live during access. | Tor Egge | 2018-01-23 | 1 | -1/+2 |
| | |||||
* | Revert "Revert "Add imported tensor attribute vector"" | Tor Egge | 2018-01-23 | 1 | -0/+97 |
| | |||||
* | Revert "Add imported tensor attribute vector" | Håkon Hallingstad | 2018-01-23 | 1 | -97/+0 |
| | |||||
* | Merge pull request #4733 from ↵ | Tor Brede Vekterli | 2018-01-23 | 1 | -0/+97 |
|\ | | | | | | | | | vespa-engine/toregge/add-imported-tensor-attribute-vector Add imported tensor attribute vector | ||||
| * | Use ASSERT_TRUE instead of EXPECT_TRUE. | Tor Egge | 2018-01-23 | 1 | -1/+1 |
| | | | | | | | | Continuing on failure would lead to test program crashing. | ||||
| * | Fix typo in tensor spec. | Tor Egge | 2018-01-22 | 1 | -1/+1 |
| | | |||||
| * | Add imported tensor attribute vector read guard. | Tor Egge | 2018-01-22 | 1 | -0/+97 |
| | | | | | | | | | | Extend unit tests for imported attribute vector to check imported tensor attribute. | ||||
* | | Add config for the alloc grow factor used when allocating buffers in ↵ | Geir Storli | 2018-01-22 | 2 | -7/+7 |
| | | | | | | | | multi-value attributes. | ||||
* | | Add more conservative buffer allocation strategy in datastore buffers. | Geir Storli | 2018-01-19 | 1 | -2/+8 |
|/ | | | | | | | | | | | This should greatly reduce the memory footprint of multi-value attribute vectors which uses an array store for underlying values. The size of a new buffer is calculated as (simplified): *) before: (size of previous buffer) * 2 *) now: (size of all previous buffers) * allocation grow factor (default = 0.2) In addition we now support resizing of all buffers, not only the first one. | ||||
* | Eliminate mutated version of Runnable. | Tor Egge | 2017-12-12 | 4 | -61/+17 |
| | |||||
* | Use standard locking in searchlib (pass 1). | Tor Egge | 2017-12-12 | 2 | -13/+13 |
| | |||||
* | update external code (getType->type) | Håvard Pettersen | 2017-11-28 | 1 | -3/+3 |
| | |||||
* | Make attribute disk usage estimate more robust. Use cached values instead | Tor Egge | 2017-09-21 | 1 | -0/+1 |
| | | | | of calling methods that require an attribute guard being held. | ||||
* | Keep a document meta store read guard together with bitvector posting list ↵ | Geir Storli | 2017-09-11 | 2 | -2/+5 |
| | | | | | | in search cache for imported attributes. This is to ensure that no lids that are cached in the bitvector are re-used until the guard is released. | ||||
* | Use bit vector search cache in imported search context if available. | Geir Storli | 2017-09-06 | 2 | -21/+90 |
| | | | | | Try to use bit vector from cache for the given query term if found. Insert bit vector posting list into cache after calculation. | ||||
* | Implement simple bitvector search cache for use in imported attribute vector. | Geir Storli | 2017-09-06 | 2 | -0/+69 |
| | |||||
* | Test that reference attribute tracks unique gids. | Tor Egge | 2017-09-03 | 1 | -0/+34 |
| | |||||
* | Keep track of mapping from gid to referenced lid in reference attribute | Tor Egge | 2017-08-31 | 1 | -35/+6 |
| | | | | | | even when no documents currently reference that gid in the reference attribute. This eliminates the need for using the gid to lid mapper after populateReferencedLids() has been called. | ||||
* | Propagate API changes to GidToLidChangeListener and ReferenceAttribute: | Tor Egge | 2017-08-30 | 1 | -12/+15 |
| | | | | Split put and remove notifications into separate methods. | ||||
* | If fetchPostings() is called with strict set to true then build | Tor Egge | 2017-08-24 | 1 | -1/+8 |
| | | | | | | | | synthetic posting list based on reverse mapping and result of scanning target attribute (via target search context and corresponding search iterator). Use synthetic posting list if available when creating iterator. | ||||
* | Explicit `this` not needed for own type member | Tor Brede Vekterli | 2017-08-24 | 1 | -1/+1 |
| | |||||
* | Map child LID to parent LID space in onSerializeFor...Sort functions | Tor Brede Vekterli | 2017-08-24 | 1 | -16/+37 |
| | |||||
* | Adjust test names. | Tor Egge | 2017-08-23 | 1 | -2/+2 |
| | |||||
* | Trim down unit test. | Tor Egge | 2017-08-23 | 1 | -116/+5 |
| | | | | | | | | Test adding info from multiple posting lists to bit vector. Make internal merge method private. Move comment. | ||||
* | Add unit test for posting list merger. | Tor Egge | 2017-08-23 | 2 | -0/+275 |
| | |||||
* | Add string from enum lookup to IAttributeVector | Tor Brede Vekterli | 2017-08-21 | 1 | -0/+22 |
| | |||||
* | Merge pull request #3158 from ↵ | Geir Storli | 2017-08-21 | 1 | -23/+101 |
|\ | | | | | | | | | vespa-engine/toregge/add-imported-attribute-vector-read-guard Add ImportedAttributeVectorReadGuard, used to handle imported attributes | ||||
| * | Add ImportedAttributeVectorReadGuard, used to handle imported attributes | Tor Egge | 2017-08-18 | 1 | -23/+101 |
| | | | | | | | | via ImportedAttributesContext in a safe manner. | ||||
* | | Remove more clutter in fastos/types.h | Henning Baldersheim | 2017-08-18 | 1 | -2/+1 |
|/ | |||||
* | Factor out ReferenceMappings from ReferenceAttribute. | Tor Egge | 2017-08-15 | 1 | -2/+3 |
| |