summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* Use more descriptive type name (EC -> EncodeContext).Tor Egge2018-04-131-2/+2
|
* Add comments.Tor Egge2018-04-131-15/+22
| | | | Use more descriptive variable names.
* Rename test function name.Tor Egge2018-04-131-2/+2
|
* Replace some assert statements with test macros.Tor Egge2018-04-131-5/+4
|
* Simplify pagedict4 unit tests by moving ownership of encode and decodeTor Egge2018-04-132-59/+9
| | | | contexts to shared test classes.
* Add unit test for pagedict4 reading where dictionary page is filled by a ↵Tor Egge2018-04-132-0/+214
| | | | single count.
* Factor out classes for read/write access to memory based pagedict4 structuresTor Egge2018-04-131-158/+6
| | | | used by unit tests.
* make the test pass again as the code was already correct.Henning Baldersheim2018-04-031-1/+1
|
* Add test to prove that the filter aspect is correctly handled also for the ↵Henning Baldersheim2018-04-031-1/+22
| | | | DirectAttributeBlueprint
* Cleanup formatting.Henning Baldersheim2018-03-241-32/+18
|
* Rewrite test to new test syntaxHenning Baldersheim2018-03-241-61/+25
|
* Merge pull request #4989 from vespa-engine/balder/filter-qflagsHenning Baldersheim2018-02-092-4/+4
|\ | | | | Ensure that we filter and QFLAGS and do not automatically say we have…
| * Ensure that we filter and QFLAGS and do not automatically say we have the ↵Henning Baldersheim2018-02-092-4/+4
| | | | | | | | same capabilities as our master.
* | Compute nodes queried/replied more correctly during merge to get it more ↵Henning Baldersheim2018-02-091-2/+2
|/ | | | correct in MLD cases.
* Also keep track of nodes queried/replied.Henning Baldersheim2018-02-061-13/+11
|
* Don't use uint16_t when UChar is needed.Tor Egge2018-01-272-2/+2
| | | | Include needed unicode header file.
* Improve buffer allocation strategy in data store by matching underlying ↵Geir Storli2018-01-265-39/+70
| | | | | | | | 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 Egge2018-01-231-1/+2
|
* Revert "Revert "Add imported tensor attribute vector""Tor Egge2018-01-231-0/+97
|
* Revert "Add imported tensor attribute vector"Håkon Hallingstad2018-01-231-97/+0
|
* Merge pull request #4733 from ↵Tor Brede Vekterli2018-01-231-0/+97
|\ | | | | | | | | vespa-engine/toregge/add-imported-tensor-attribute-vector Add imported tensor attribute vector
| * Use ASSERT_TRUE instead of EXPECT_TRUE.Tor Egge2018-01-231-1/+1
| | | | | | | | Continuing on failure would lead to test program crashing.
| * Fix typo in tensor spec.Tor Egge2018-01-221-1/+1
| |
| * Add imported tensor attribute vector read guard.Tor Egge2018-01-221-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 Storli2018-01-222-7/+7
| | | | | | | | multi-value attributes.
* | Add more conservative buffer allocation strategy in datastore buffers.Geir Storli2018-01-198-43/+180
|/ | | | | | | | | | | 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.
* Rewrite to new syntax for test function setup.Geir Storli2018-01-161-74/+23
|
* Use FreeListAllocator in free list unit test and remove unused function.Geir Storli2018-01-161-20/+32
|
* Revert "Revert "Revert "Balder/group multiple commits rebased 1"""Henning Baldersheim2018-01-142-261/+237
|
* Revert accidental commit.Henning Baldersheim2018-01-121-0/+1
|
* Ensure that we do not drop it on the floor.Henning Baldersheim2018-01-121-1/+0
|
* Extend test to cover async commit too.Henning Baldersheim2018-01-121-188/+225
|
* Revert "Revert "Balder/group multiple commits rebased 1""Henning Baldersheim2018-01-122-60/+47
|
* Revert "Balder/group multiple commits rebased 1"Arnstein Ressem2018-01-122-47/+60
|
* Wire in the remaining config and make it not require restart.Henning Baldersheim2018-01-102-17/+18
|
* Combine crc and compression.Henning Baldersheim2018-01-101-3/+3
|
* Normal functionality regained.Henning Baldersheim2018-01-101-7/+4
|
* Refactor Packet and read of TLS.Henning Baldersheim2018-01-102-35/+24
|
* Eliminate mutated version of Runnable.Tor Egge2017-12-124-61/+17
|
* Use standard locking in searchlib (pass 1).Tor Egge2017-12-122-13/+13
|
* Track max session run time per Domain and return it as part of DomainInfo.Geir Storli2017-12-041-6/+17
|
* update external code (getType->type)Håvard Pettersen2017-11-282-4/+4
|
* Enable Java tensor conformance testLester Solbakken2017-11-161-0/+4
|
* Use std::lock_guard instead of std::unique_lock.Tor Egge2017-11-131-1/+1
|
* clean up tensor engine APIHåvard Pettersen2017-11-075-7/+6
| | | | make Tensor a subclass of Value
* Use std::mutex and std::condition_variable instead of FastOS_Cond.Tor Egge2017-10-271-8/+12
|
* remove TensorSum (use more generic TensorReduce instead)Håvard Pettersen2017-10-261-1/+1
|
* do not discard search iteratorsHåvard Pettersen2017-10-131-1/+5
|
* Remove subscribe to TLS.Henning Baldersheim2017-10-112-180/+17
|
* Remove useFync argument.Henning Baldersheim2017-10-101-1/+1
| | | | Do not use default values in argumentlist.