summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #18716 from ↵Henning Baldersheim2021-08-113-9/+12
|\ | | | | | | | | vespa-engine/havardpe/avoid-crash-on-runtime-onnx-errors avoid crash on run-time onnx errors
| * avoid crash on run-time onnx errorsHåvard Pettersen2021-08-113-9/+12
| | | | | | | | | | | | | | | | - warn about onnx model dry-run being disabled - catch and report onnx errors during ranking - zero-fill failed results to avoid re-using previous results - use explicit output size in fragile model (output became float[2] instead of float[batch] anyways)
* | Unify on using hex for hash values.Henning Baldersheim2021-08-111-1/+1
| |
* | Remove outdated commentHenning Baldersheim2021-08-111-4/+4
| |
* | Properly access the feature name for hashed edges.Henning Baldersheim2021-08-111-4/+4
| |
* | Add unit test with comment of what is incorrect with hashed partiotion edges ↵Henning Baldersheim2021-08-111-2/+30
| | | | | | | | and feature generation.
* | Refactor to avoid multiple hash lookups and code bloat.Henning Baldersheim2021-08-111-4/+3
| |
* | Minor cleanup.Henning Baldersheim2021-08-101-24/+14
|/
* Generalize how address space usage is reported from attribute vectors.Geir Storli2021-07-152-21/+22
| | | | | This prepares for reporting address space usage for more attribute vector components, not only enum store and multi-value mapping.
* GC unused 'partitionid' and various other members of MonitorReply that are ↵Henning Baldersheim2021-06-262-14/+1
| | | | long gone.
* dry run onnx models on setupHåvard Pettersen2021-06-234-3/+78
|
* also test tensorFromLabels with single-value integer attributeArne Juul2021-06-181-0/+18
|
* Expose bug reletate to initialization of most costly features K computation.Henning Baldersheim2021-06-112-23/+53
|
* Clean up code layout and GC unused members. No semtic changes.Henning Baldersheim2021-06-095-23/+23
|
* Move roundUp2inN<T> to vespalib.Henning Baldersheim2021-06-041-1/+1
|
* If there are hickups in the feed chain preventing normal commit rate, we ↵Henning Baldersheim2021-06-041-8/+41
| | | | | | need to prevent lasting huge temporary buffers. So cap buffers and start from scratch if peaks are detected.
* Avoid tracking information to keep docids close when that is not necessary.Henning Baldersheim2021-06-032-12/+19
| | | | | Just append on add, and then do an explicit sort the one place that requires operations on a doc to be ordered.
* use explicit expression nameHåvard Pettersen2021-06-021-11/+11
|
* Reenable tensor attribute compaction test.Tor Egge2021-06-011-8/+10
|
* external ranking expressionsHåvard Pettersen2021-05-201-6/+23
| | | | loaded from potentially compressed files
* Revert "external ranking expressions"Harald Musum2021-05-201-23/+6
|
* external ranking expressionsHåvard Pettersen2021-05-181-6/+23
| | | | loaded from potentially compressed files
* support functional constantsHåvard Pettersen2021-05-111-1/+45
| | | | | | | | | | | | be more specific about const number values (GDBT trees): is_const -> is_const_double get_const_value -> get_const_double_value Add more generic 'get_const_value' that can also be used for tensor values. Allow it to be called even in the case of parse error, in which case it does not produce a value (same as for non-const sub-expressions).
* Allow more rounding errors for small (zero) distances.Tor Egge2021-05-011-4/+9
|
* Add explicit casts to char, to avoid warning when char is unsigned.Tor Egge2021-04-302-2/+2
|
* Use int for FastOS_UNIX_Application::GetOpt() return value.Tor Egge2021-04-306-6/+6
|
* Add testing of too short strings.Henning Baldersheim2021-04-231-0/+6
|
* - Prevent the rewrite that happens with equiv and phrase to handle floating ↵Henning Baldersheim2021-04-221-0/+18
| | | | | | point queries in string fields, from happening in under a same-element node. - Add raw stackdump from previously failing query.
* Support both case sensitive, and case-insensitive search in non-fast-search ↵Henning Baldersheim2021-04-221-0/+80
| | | | attributes.
* Drop incomplete dictionary snapshots.Tor Egge2021-04-211-17/+0
|
* - Signal that we are using the default comaparator with no additional or ↵Henning Baldersheim2021-04-203-12/+11
| | | | | | | mutable state. - Separate refering the stateless comparator, and creating new statefull comparators. - Keep the Comparator creation close.
* Merge pull request #17494 from vespa-engine/balder/various-comparator-cleanupHenning Baldersheim2021-04-201-4/+4
|\ | | | | - Make all use of comparator const.
| * Avoid the need for 'prefix' for types where it does not make sense.Henning Baldersheim2021-04-191-4/+4
| |
* | Add consider_compact methods to posting store.Tor Egge2021-04-201-6/+31
|/
* Add member functions for scanning dictionary and compacting posting store.Tor Egge2021-04-191-26/+35
|
* Add compaction of PostingStore.Tor Egge2021-04-162-0/+232
|
* Merge pull request #17403 from ↵Henning Baldersheim2021-04-141-0/+65
|\ | | | | | | | | vespa-engine/toregge/compact-enum-store-dictionary-when-needed Compact enum store dictionary when needed.
| * Compact enum store dictionary when needed.Tor Egge2021-04-131-0/+65
| |
* | actually wants floatArne Juul2021-04-132-2/+3
| |
* | let the distance function decide how it wants the query tensor convertedArne Juul2021-04-123-3/+3
| |
* | test a bit moreArne Juul2021-04-121-1/+27
| |
* | fix NNS distance for new cell typesArne Juul2021-04-124-5/+9
|/ | | | This reverts commit f167fe4362c5e4e20a7605b99205cfbee77c569a.
* Revert "fix NNS distance for new cell types"Arnstein Ressem2021-04-124-9/+5
|
* Merge pull request #17342 from ↵Arne H Juul2021-04-124-5/+9
|\ | | | | | | | | vespa-engine/arnej/redo-nn-distance-for-new-cell-types fix NNS distance for new cell types
| * fix NNS distance for new cell typesArne Juul2021-04-094-5/+9
| |
* | Add CompactionStrategy methods to determine if compaction should be performed.Tor Egge2021-04-093-9/+4
|/
* Avoid noncompliant use of std::is_sorted (The comparison function did notTor Egge2021-04-081-0/+2
| | | | satisfy the requirements for Compare.). Use std::adjacent_find instead.
* Sort unique values during load if needed.Tor Egge2021-04-082-3/+24
|
* Rename unit test type parameters.Tor Egge2021-04-061-24/+24
|
* Downgrade to string in case of trouble.Henning Baldersheim2021-03-311-1/+2
|