aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/query
Commit message (Collapse)AuthorAgeFilesLines
* Update copyrightJon Bratseth2023-10-098-8/+8
|
* Reduce number of items for large query when using address sanitizer.Tor Egge2023-07-071-5/+1
|
* Skip warning when using undefined sanitizer errorHenning Baldersheim2023-06-301-5/+5
|
* Use targetHits in nearestNeighbor streaming searcher.Geir Storli2023-04-251-6/+6
| | | | A distance heap is used to limit the number of produced document matches.
* Add unit test for nearest neighbor query node.Tor Egge2023-04-191-0/+37
|
* Expose SameElement query terms to ranking.Geir Storli2023-01-125-7/+6
| | | | | | 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-212-101/+98
|
* GC unused functionality.Henning Baldersheim2022-09-211-9/+3
|
* Add utility header for detecting sanitizer-instrumented compilationTor Brede Vekterli2022-05-031-18/+3
|
* Avoid bitwise and with boolean arguments.Tor Egge2022-04-251-7/+23
|
* Propagating annotations for fuzzy queryAlexey Chernyshev2022-04-074-8/+34
|
* Introducing fuzzy searchAlexey Chernyshev2022-03-233-2/+20
|
* reduce large query size when running with tsanHåvard Pettersen2022-03-171-2/+14
|
* use same name for abstract node typesArne H Juul2021-10-192-8/+8
|
* extend unit testArne H Juul2021-10-191-0/+2
|
* extend unit testArne H Juul2021-10-191-2/+18
|
* use custom types for true/false (NodeTypes::True, ProtonTrue, etc)Arne H Juul2021-10-192-3/+17
|
* add ITEM_TRUE and ITEM_FALSE query nodesArne H Juul2021-10-182-1/+5
|
* Update 2017 copyright notices.gjoranv2021-10-078-8/+8
|
* - 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.
* Downgrade to string in case of trouble.Henning Baldersheim2021-03-311-1/+2
|
* Add testing of multiterm and allow mixing and matching of string vs integer.Henning Baldersheim2021-03-301-0/+71
|
* - Let DotProduct,Wand and WeightedSet be Term nodes in the query tree as ↵Henning Baldersheim2021-03-293-98/+67
| | | | | | | | they really are. That restricts the nodes to what they can really do and makes them significantly cheaper. - In addition type conversion of numeric terms is delayed to when it is necessary. And as next step they can be avoided completely.
* - Simplify code by catching exception in one place.Henning Baldersheim2021-03-291-1/+1
| | | | | - Unify error handling to prevent reading past the buffer. - track positions by using to integers insteda of 2 pointers.
* - No need for _currCreator member, it can be constructed from _currFlags ↵Henning Baldersheim2021-03-291-1/+1
| | | | | | when needed. - No need for _size meber since we have both start and end of buffer.
* - Use faster std::to_chars.Henning Baldersheim2021-03-282-2/+5
| | | | | - Reorganize stackdumpitertor so members accesses frequently are colocated. - Add test to keep iteratorsize under control.
* No move or copy construction.Henning Baldersheim2021-03-041-193/+247
|
* Keep only one ucs4 buffer, and create the buffer lazy.Henning Baldersheim2021-03-041-2/+2
|
* Make the SearchTerm enum a small scoped enum and rename to Type.Henning Baldersheim2021-03-041-40/+46
|
* use size literals in searchlibArne Juul2021-02-151-2/+3
|
* add distanceThreshold option for nearestNeighbor operatorArne Juul2021-01-082-4/+5
|
* Avoid bitwise or of different enum types.Tor Egge2020-12-042-4/+4
|
* Add noexcept as indicated by -WnoeexceptHenning Baldersheim2020-10-071-2/+2
|
* finish rewrite to use GeoLocationArne Juul2020-07-152-2/+2
|
* clean up various issues with ParseItem classArne Juul2020-07-091-1/+0
| | | | | | | | | | | * SimpleQueryStack only used for one unit test, move it there * Actual instances of ParseItem also only used for same unit test. Split out the object representation into a separate SimpleQueryStackItem class in the unit test directory. * give location ITEM_LOCATION_TERM instead of overloading NUMTERM * ParseItem::ITEM_PAREN never used for anything, remove it * add comment for removal of PAREN enum in prelude/query/Item.java * refactor flag handling with one method per flag
* Detect use of clang version of address sanitizer.Tor Egge2020-05-251-0/+8
|
* Increase stack size when using address sanitizer.Tor Egge2020-05-241-0/+4
|
* extend NearestNeighborItemArne Juul2020-03-022-4/+5
|
* Give old query tests proper names.Geir Storli2019-11-284-8/+8
|
* Move query classes used in streaming search to namespace search::streaming.Geir Storli2019-11-282-0/+2
|
* Move query classes used in streaming search to separate sub-folder and ↵Geir Storli2019-11-282-2/+2
| | | | sub-library.
* remove "termindex" which is always -1Arne Juul2019-11-211-24/+0
|
* Add skeleton for NearestNeighborTerm in C++.Geir Storli2019-11-193-57/+67
|
* clion adviseHenning Baldersheim2019-03-181-13/+8
|
* Remove files used by old unit test runner.Tor Egge2019-02-192-3/+0
|
* Also check evaluate() in addition to evaluateHits and invert the check.Henning Baldersheim2018-06-061-2/+2
|
* Revert "Revert "Balder/sameelement in streaming""Henning Baldersheim2018-06-061-38/+116
|
* Revert "Balder/sameelement in streaming"Henning Baldersheim2018-06-061-116/+38
|
* Follow up om comments from @geirstHenning Baldersheim2018-06-051-35/+39
|
* Add testing of SameElementQueryNodeHenning Baldersheim2018-06-051-0/+76
|