summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* Update comments and tests as memory size has increased by 8 bytes per entry ↵Henning Baldersheim2018-09-242-10/+17
| | | | in the cache.
* Add test for sizeof(Value)Henning Baldersheim2018-09-241-0/+1
|
* Add crc for uncompressed content to catch shady bugs.Henning Baldersheim2018-09-211-2/+9
|
* Add test for compressed contentHenning Baldersheim2018-09-211-1/+17
|
* Refactor for testability.Henning Baldersheim2018-09-211-0/+36
|
* Test simple grouping with attribute map lookup.Tor Egge2018-09-134-27/+61
|
* Use proper inheritance for (de)serialize.Tor Egge2018-09-111-2/+2
|
* Allocate identifiable id for AttributeMapLookupNode.Tor Egge2018-09-101-1/+26
|
* Rename AttributeKeyedNode to AttributeMapLookupNode.Tor Egge2018-09-101-3/+3
|
* Add support for indirect map lookup key.Tor Egge2018-09-071-0/+14
|
* Further reduce number of test values.Tor Egge2018-09-061-8/+8
|
* Extend AttributeNode test to also test AttributeKeyedNode.Tor Egge2018-09-061-1/+28
|
* Reduce number of test values.Tor Egge2018-09-061-28/+28
|
* Add unit test for AttributeNode.Tor Egge2018-09-042-0/+396
|
* Propagate mutability from config and add test for same.Henning Baldersheim2018-08-301-0/+6
|
* shared_ptr -> unique_ptrHenning Baldersheim2018-08-282-3/+3
|
* Only allow query time modification of attributes marked mutable.Henning Baldersheim2018-08-271-2/+10
|
* Wire in the attribute execution via the IAttributeContext.Henning Baldersheim2018-08-274-72/+34
| | | | Also execution in a task for containment.
* Merge pull request #6636 from vespa-engine/balder/add-attribute_operationHenning Baldersheim2018-08-234-71/+237
|\ | | | | Balder/add attribute operation
| * Extend to test all resultset types.Henning Baldersheim2018-08-232-21/+58
| |
| * Move AttributeOperation and AttributeFunctor to searc::attributeHenning Baldersheim2018-08-222-0/+150
| |
| * Avoid depending of ResultSet. Use more simpler types. Also remove some ↵Henning Baldersheim2018-08-221-71/+2
| | | | | | | | unused code and hide some implementation details.
| * Add test for the controling properties.Henning Baldersheim2018-08-201-0/+48
| |
* | Use std::make_xxxHenning Baldersheim2018-08-206-296/+150
|/ | | | | nested namespace And various other style changes.
* Rename AttributeVector::saveAs() method to save().Tor Egge2018-08-177-18/+18
| | | | Don't update attribute vector file name in the renamed method.
* Remove unused getIndexName method.Tor Egge2018-08-171-11/+0
|
* Remove snapshot concept accessHenning Baldersheim2018-08-171-7/+0
|
* Remove attribute vector saveAs method with two arguments.Tor Egge2018-08-172-2/+2
|
* Pass file name to attribute vector save method.Tor Egge2018-08-171-2/+2
|
* Merge pull request #6579 from vespa-engine/balder/deinline-for-gcc-8Henning Baldersheim2018-08-151-2/+7
|\ | | | | Balder/deinline for gcc 8
| * Deinline for gcc 8Henning Baldersheim2018-08-151-2/+7
| |
* | expose 2nd phase candidates as a referencing sorted hit sequenceHåvard Pettersen2018-08-143-30/+31
| | | | | | | | also stop keeping track of the re-rank count in the hit collector itself
* | added sorted hit sequence with testHåvard Pettersen2018-08-142-0/+36
|/
* Pass stringref by valueHenning Baldersheim2018-08-103-5/+5
|
* Remove unused code only used in testsHenning Baldersheim2018-07-271-4/+8
|
* Select the hits to rerank in the selectBest part instead of a later copy.Henning Baldersheim2018-07-271-12/+0
| | | | Stick to full hits instead of feature_t.
* Add test for getSortedHeapHitsHenning Baldersheim2018-07-261-2/+13
|
* Fix up clang-tidy warningsHenning Baldersheim2018-07-261-64/+56
|
* Remove stringref::c_str()Tor Brede Vekterli2018-07-252-4/+4
| | | | | | | | | | | | | The expected semantics of c_str() (a null-terminated string) cannot be satisfied with a string reference, so remove the function entirely to prevent people from using it in buggy ways. Replaces c_str() with data() in places where it is presumed safe, otherwise constructs temporary string instances. Certain callsites have been de-stringref'd in favor of regular strings, in particular where C APIs have been transitively called. The vast majority of these were called with string parameters anyway, so should not cause much extra allocation.
* - Do not follow the nullptr.Henning Baldersheim2018-07-231-1/+1
| | | | - Do not have an interface return a reference when it might refer a nullptr...
* Properly test writethrough on UPDATE strategyHenning Baldersheim2018-07-191-14/+37
|
* Properly test both INVALIDATE and UPDATE strategy. Fix bug with incorrect ↵Henning Baldersheim2018-07-191-4/+57
| | | | size calculations on updating existing elements.
* Add control of cache update policy when an item changes value.Henning Baldersheim2018-07-191-26/+27
|
* test returned value alsoArne Juul2018-07-163-0/+5
|
* test new APIArne Juul2018-07-132-0/+5
|
* test new APIArne Juul2018-07-131-0/+37
|
* add unit test for appendPosition()Arne Juul2018-07-091-0/+44
| | | | * previously this would trigger a bug and crash.
* Ensure that all attribute iterators expose the search context creating the ↵Geir Storli2018-06-251-0/+46
| | | | | | iterator. This ensures that also fast-search struct field attributes work together with the sameElement operator.
* some more cleanupArne Juul2018-06-204-15/+8
|
* move LOG_SETUP after other includesArne Juul2018-06-2018-56/+54
|