summaryrefslogtreecommitdiffstats
path: root/searchlib
Commit message (Collapse)AuthorAgeFilesLines
* test conversion of match features to protobuf replyHåvard Pettersen2021-11-051-49/+79
|
* Merge pull request #19879 from ↵Håvard Pettersen2021-11-051-0/+21
|\ | | | | | | | | vespa-engine/arnej/convert-match-features-to-protobuf feature values in SearchReply -> protobuf
| * use data() with size()Arne H Juul2021-11-051-1/+1
| |
| * use the other assertArne H Juul2021-11-051-2/+2
| |
| * simplifyArne H Juul2021-11-051-15/+9
| |
| * remove leftover debug printArne H Juul2021-11-051-5/+0
| |
| * feature values in SearchReply -> protobufArne H Juul2021-11-051-0/+32
| |
* | Merge pull request #19873 from ↵Geir Storli2021-11-0512-179/+301
|\ \ | |/ |/| | | | | vespa-engine/toregge/split-test-ordered-field-index-inserter Move portions of search::memoryindex::test::OrderedFieldIndexInserter to
| * Move portions of search::memoryindex::test::OrderedFieldIndexInserter toTor Egge2021-11-0412-179/+301
| | | | | | | | search::memoryindex::test::OrderedFieldIndexInserterBackend.
* | Cleanup - no functional changesJon Bratseth2021-11-042-58/+37
| |
* | Merge pull request #19872 from vespa-engine/havardpe/calculate-match-featuresHåvard Pettersen2021-11-043-11/+20
|\ \ | |/ |/| calculate match features
| * calculate match featuresHåvard Pettersen2021-11-043-11/+20
| | | | | | | | | | | | + factor out feature extraction + improve summary feature testing + extract returned docids with ordering
* | Relax check for stopping fusion.Tor Egge2021-11-041-1/+1
|/
* Merge pull request #19852 from ↵Geir Storli2021-11-0419-102/+362
|\ | | | | | | | | vespa-engine/toregge/add-document-inverter-collection Add DocumentInverterCollection.
| * Add unit test for document inverter collection.Tor Egge2021-11-0410-34/+183
| |
| * Add max number of document inverters as a constructor argument to documentTor Egge2021-11-043-4/+4
| | | | | | | | inverter collection.
| * Always bundle URI fields.Tor Egge2021-11-043-15/+66
| |
| * Add DocumentInverterCollection.Tor Egge2021-11-039-65/+125
| |
* | Avoid using deprecated methodsHenning Baldersheim2021-11-031-1/+1
| |
* | Avoid intermediate NegativeNode in the leaf nodes, adding approximately ↵Henning Baldersheim2021-11-037-29/+67
|/ | | | 15-20% extra nodes.
* Update expected resultsHenning Baldersheim2021-11-033-8/+8
|
* Avoid keeping string around in the leaf nodes. It is not worth the space.Henning Baldersheim2021-11-032-5/+1
|
* Also override function()Henning Baldersheim2021-11-033-1/+18
|
* Add a LongValue to preserve integer numbers.Henning Baldersheim2021-11-035-13/+159
|
* Merge pull request #19779 from vespa-engine/arnej/add-match-features-in-protocolArne H Juul2021-11-031-0/+7
|\ | | | | add skeleton for match features
| * update names in protocolArne H Juul2021-10-291-3/+3
| |
| * proposed protocol extensionArne H Juul2021-10-291-0/+7
| |
* | Make StringValue symmetric so it can accept its output (toString) as input.Henning Baldersheim2021-11-035-8/+34
| |
* | Move portions of DocumentInverter to DocumentInverterContext.Tor Egge2021-11-0210-138/+202
| |
* | Merge pull request #19836 from ↵Jon Bratseth2021-11-024-4/+6
|\ \ | | | | | | | | | | | | vespa-engine/balder/only-need-one-instance-to-signal-emptiness Only need a single instance to represent the empty argument.
| * | Only need a single instance to represent the empty argument.Henning Baldersheim2021-11-024-4/+6
| | |
* | | added match features to rank setupHåvard Pettersen2021-11-025-0/+91
|/ /
* | added new rank feature "onnx(model_name)"Håvard Pettersen2021-11-024-11/+30
| | | | | | | | | | | | | | | | | | | | | | Works the same as "onnxModel(model_name)", but is not treated as the exact same feature (features are currently not allowed to have multiple base names). If both variants are used at the same time, the model may be calculated twice, but the model cache will still make sure that the model itself is only loaded once. The plan is to deprecate and possibly remove the "onnxModel(model_name)" variant at some point in the future.
* | Unify on using a list for backing.Henning Baldersheim2021-11-023-41/+29
| |
* | Use UTF-8 bytewise ordering for StringResultNode comparisonsTor Brede Vekterli2021-11-012-24/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The C++ backend uses `memcmp` ordering of UTF-8 strings for its `StringResultNode` instances and expects the container to feed it nodes in the same order. However, the Java code used `String` internally, which compares UTF-16 codepoints instead of UTF-8 octets. These may not agree on the ordering, particularly in the presence of surrogate pairs. Java `StringResultNode` now uses a raw UTF-8 byte array as its value backing, which has the added benefit that (de-)serializing is effectively a no-op. Some extra `String` roundtrip work needed now to support the various type-erased `ResultNode` functionality, but this is not expected to be called in a hot path.
* | Fix compilation when using gcc 9:Tor Egge2021-10-311-1/+2
| | | | | | | | | | - Include header file for atomic when needed. - Use normal function template instead of abbreviated function template.
* | Remove the lids in one task instead of 1k tasks for full buckets on delete ↵Henning Baldersheim2021-10-296-14/+36
| | | | | | | | bucket.
* | Use hash over and ordered mapHenning Baldersheim2021-10-292-10/+5
| |
* | Clean and simplify default value handlingHenning Baldersheim2021-10-2912-42/+17
| |
* | If attribute is mutable, default value is zero.Henning Baldersheim2021-10-293-25/+54
| |
* | - GC unused getFloatFromEnum and getIntFromEnum.Henning Baldersheim2021-10-296-29/+12
| | | | | | | | - Make _defaultValue const.
* | GC unused friend declaration.Henning Baldersheim2021-10-291-10/+0
| |
* | Include only what is needed.Henning Baldersheim2021-10-296-17/+6
| |
* | Rename ISequencedTaskExecutor::sync() to sync_all().Tor Egge2021-10-285-39/+39
| |
* | Avoid deprecated functions in OpenSSL 3.0.Tor Egge2021-10-281-8/+25
|/
* Do not hold the bucket guard longer than necessary.Henning Baldersheim2021-10-281-8/+4
|
* Merge pull request #19755 from vespa-engine/update-oath-copyrightsJon Bratseth2021-10-28108-108/+108
|\ | | | | Update oath copyrights
| * Update 2020 Oath copyrights.gjoranv2021-10-2716-16/+16
| |
| * Update 2019 Oath copyrights.gjoranv2021-10-2792-92/+92
| |
* | Eliminate Clang 12 warning about explicit qualification required to useTor Egge2021-10-273-4/+4
|/ | | | member 'applyArithmetic' from dependent base class.