summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/features/prod_features.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use "_test" suffix for unit test cpp files.Geir Storli2023-08-301-2256/+0
|
* Limit fields used for match feature.Tor Egge2023-07-131-2/+23
|
* Empty string is now a valid keyHenning Baldersheim2023-04-131-1/+4
|
* - Improve sanity checking of input to distance-to-path feature.Henning Baldersheim2023-02-061-4/+5
| | | | - Keep comment
* Expose SameElement query terms to ranking.Geir Storli2023-01-121-0/+11
| | | | | | A TermFieldMatchData is allocated per SameElement term, and this is used to signal matching docids in doUnpack() on the SameElement search iterator. This allows using the matches() rank feature on a field (virtual) that is searched using a SameElement term.
* Change from typedef to using in searchlib C++ code.Geir Storli2022-12-211-2/+2
|
* Separate where you nede an actual hash, and where you want the string hashed ↵Henning Baldersheim2022-11-201-10/+10
| | | | to a double.
* Use AttributeBuilder in prod features unit tests.Geir Storli2022-10-311-78/+49
|
* more testing (arnej)Håvard Pettersen2022-06-091-3/+5
|
* disallow bad position fieldArne H Juul2022-06-091-2/+2
|
* Add bm25() and matches() and remove now() as default rank features to be ↵Geir Storli2022-06-081-2/+2
| | | | dumped on Vespa 8.
* Include searchcommon/attribut/config.h yourself and prepare for hiding large ↵Henning Baldersheim2022-05-251-0/+1
| | | | | | implementation. Add setters to vespalib::GrowStrategy.
* Use IMultiValueReadView in dot product feature instead of getRawValues().Tor Egge2022-04-111-2/+2
|
* add unit tests for new featuresArne H Juul2022-01-311-1/+66
|
* Update 2017 copyright notices.gjoranv2021-10-071-1/+1
|
* Explicitly instantiate common attribute update member functions.Tor Egge2020-10-051-1/+0
|
* also test new distance outputsArne Juul2020-08-251-8/+25
|
* add more outputs to distance featureArne Juul2020-08-121-2/+2
|
* remove fef::Location, use common::GeoLocationSpec insteadArne Juul2020-07-161-11/+18
|
* Followup from PR comments.Henning Baldersheim2020-06-301-13/+10
| | | | | | - CamelCase globalsequence -> globalSequence - 0x80000 -> 0x10000 - Factor out computation to header file and use in both test and globalSequence feature.
* Rename unique feature to globalsequence.Henning Baldersheim2020-06-291-8/+22
| | | | | | | Invert so that the first doc from the first node will sort first, followed by the first doc from the second node, and the the last doc of the last node at the end. It will produce number in the range (1 << 48) down to zero. Sequence = (1 << 48) - ((docId << 16) | disributionKey)
* Follow up on PR comments.Henning Baldersheim2020-06-231-2/+0
|
* Add a rank feature that will use the distribution key to provide a globally ↵Henning Baldersheim2020-06-221-0/+22
| | | | | | unique number. unique = (docId << 16 | distributionKey)
* Reduce code duplication. Rand48 class is in vespalib.Tor Egge2020-04-251-3/+3
|
* - Add testing of enumerated weighted sets.Henning Baldersheim2020-03-311-4/+6
| | | | | - Add testing that query can use floating point numbers for the weight. - Stay with the type feature_t for query. Do not assume th ethe weight type used in the attribute.
* Merge pull request #12618 from vespa-engine/balder/use-fast-map-for-few-elementsHenning Baldersheim2020-03-191-4/+6
|\ | | | | Balder/use fast map for few elements.
| * Special handle for non-enumerated integer fields too.Henning Baldersheim2020-03-181-4/+6
| |
* | use label marker for distance and closeness featuresArne Juul2020-03-171-3/+5
|/ | | | | | | * distance feature now has a two arguments version, allowing the user to explicitly specify label or field * extend closeness feature the same ways as distance feature * add unit test for NNS closeness
* test must now setup field info correctlyArne Juul2020-03-121-2/+13
|
* Test must specify field type.Henning Baldersheim2020-03-051-4/+5
|
* Add tests for bool, byte, long, and double attributes.Henning Baldersheim2020-02-241-7/+35
|
* Follow clion adviseHenning Baldersheim2020-02-231-74/+54
|
* Block multiple load calls for same attribute vector.Tor Egge2019-08-291-0/+1
|
* Expose absolute values for document frequency in ITermFieldData (as needed ↵Geir Storli2019-06-121-2/+4
| | | | by bm25 feature).
* Add optimized support for array<byte>Henning Baldersheim2019-05-221-24/+35
|
* Add test for SingleZeroValueExecutor too.Henning Baldersheim2019-05-091-0/+3
|
* Use a query that actually produce a non-zeroo result.Henning Baldersheim2019-05-081-4/+6
|
* Add a test that we select the most optimal execution also for non-enumerated ↵Henning Baldersheim2019-05-081-16/+23
| | | | wset<int>
* Also make a faster DotproductExecutor when using enumerated values.Henning Baldersheim2019-05-071-3/+1
|
* Also use a specialized implementation for wset. For now only non enum versions.Henning Baldersheim2019-05-071-2/+2
|
* Rename AttributeVector::saveAs() method to save().Tor Egge2018-08-171-1/+1
| | | | Don't update attribute vector file name in the renamed method.
* Rename feature randomNormalMatch -> randomNormalStableLester Solbakken2018-06-151-15/+15
|
* Move match version of random normal to it's own featureLester Solbakken2018-06-141-23/+44
|
* Remove unnecessary logging in unit testLester Solbakken2018-06-141-2/+0
|
* Fix random normal match testLester Solbakken2018-06-141-6/+21
|
* Add match to output in randomNormal testLester Solbakken2018-06-131-1/+1
|
* Add randomNormal.matchLester Solbakken2018-06-131-0/+10
|
* remove TensorSum (use more generic TensorReduce instead)Håvard Pettersen2017-10-261-1/+1
|
* Replace tab with spaces.Geir Storli2017-09-131-1/+1
|
* Update copyright headersJon Bratseth2017-06-141-1/+1
|