summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/attribute/searchcontext
Commit message (Collapse)AuthorAgeFilesLines
* Clearly separate convenience methods only used for testing.Henning Baldersheim2023-11-071-2/+2
|
* Update copyrightJon Bratseth2023-10-093-3/+3
|
* Store a limited number of posting list indexes in countHits() toTor Egge2023-09-271-0/+20
| | | | | reduce amount of dictionary entry filtering in fillArray() and fillBitVector() for regexp search and fuzzy search.
* Change from typedef to using in searchlib C++ code.Geir Storli2022-12-211-1/+1
|
* Avoid ambiguity when calling fill_array member function in attribute builder.Tor Egge2022-11-031-2/+4
|
* Use AttributeBuilder in searchcontext unit tests.Geir Storli2022-10-281-219/+79
| | | | Also change API in AttributeBuilder to use std::initializer_list.
* Verify that single dictionary entry from lookupRange() is a match.Tor Egge2022-10-251-9/+6
|
* Remove unused variables.Tor Egge2022-09-231-2/+0
|
* Avoid using vespalib::Identifiable.Henning Baldersheim2022-05-271-0/+1
|
* Include searchcommon/attribut/config.h yourself and prepare for hiding large ↵Henning Baldersheim2022-05-251-0/+1
| | | | | | implementation. Add setters to vespalib::GrowStrategy.
* Propagating annotations for fuzzy queryAlexey Chernyshev2022-04-071-1/+8
|
* Move SearchContext out from AttributeVector.Tor Egge2022-03-291-3/+3
|
* Introducing fuzzy searchAlexey Chernyshev2022-03-231-0/+72
|
* Remove stringop-overflow warning (searchlib).Tor Egge2022-02-261-1/+1
|
* Propagate memory allocator to growable bitvector in SingleBoolAttribute.Tor Egge2022-02-151-1/+1
|
* use more accessorsArne H Juul2021-11-121-17/+17
| | | | | * use getDocId() instead of directly accessing _docId some places * use getRank() instead of directly accessing _rankValue some places
* Include only what is needed.Henning Baldersheim2021-10-291-0/+1
|
* Update 2017 copyright notices.gjoranv2021-10-073-3/+3
|
* Make the SearchTerm enum a small scoped enum and rename to Type.Henning Baldersheim2021-03-041-30/+31
|
* Remove includes no longer necessary.Henning Baldersheim2021-02-251-2/+2
|
* - Add the cost to expensive tests.Henning Baldersheim2021-01-131-1/+1
| | | | - Use less resources on the fnet_parallel_rpc test bu just using as many threads as you have cores.
* Use stricter version of dynamic_cast.Tor Egge2021-01-041-1/+1
|
* Add noexcept specifiers to non-throwing constructors and operators.Tor Egge2020-12-051-2/+2
|
* Explicitly instantiate common attribute update member functions.Tor Egge2020-10-051-1/+0
|
* - Handle more than 64k hits in the element vector.Henning Baldersheim2020-05-181-52/+42
| | | | | - Avoid computing all vectors in full separately and instead do an incremental inline merge with. - Also avoid requiring the searchiterator aspect on the wrappers.
* Correctly handle search for "false" in the underlying search context of ↵Geir Storli2020-01-281-17/+108
| | | | | | | | singleboolattribute. This code path is used when searching on an imported bool attribute (from a parent document), combined with other query terms (e.g. under an AND) such that the search iterator for the imported bool attributes is not strict. In this case the underlying search context is used, and search for "false" would previously return all "true" documents instead.
* Rename searchcontext.cpp -> searchcontext_test.cppGeir Storli2020-01-282-1/+1
|
* Revert "Revert "Balder/add executeinfo""Henning Baldersheim2020-01-031-8/+9
|
* Revert "Balder/add executeinfo"Arnstein Ressem2020-01-031-9/+8
|
* Follow up review comments.Henning Baldersheim2020-01-021-2/+2
|
* Add ExecutionInfo to propagate more information than just strictness to ↵Henning Baldersheim2019-12-311-8/+9
| | | | | | | fetchPostings. The estimated hitrate that each iterator will will enable smarter query evaluation. Especially will it be possible to figure out if static up front cost can be avoided.
* Move QueryTermSimple to separate h and cpp files.Geir Storli2019-11-281-1/+1
|
* Fix setup of same element iterator to use the attribute search context from ↵Geir Storli2019-11-011-47/+0
| | | | | | | | | the child blueprint instead of the child search iterator. This fixes a bug that occurs if the search iterator from a fast-search attribute is a bit vector iterator. The bit vector iterator doesn't expose the attribute search context, so the setup of the same element iterator doesn't wrap it into an attribute element iterator that handles finding which elements that match. The result is that the same element iterator will not match any documents.
* Handle udat attribute files.Geir Storli2019-08-201-0/+1
|
* Remove "enable enumerated save" flag from attribute vectors as this should ↵Geir Storli2019-08-191-21/+28
| | | | | | be always on. For production code this has been on for several years already.
* Remove files used by old unit test runner.Tor Egge2019-02-192-2/+0
|
* clion recommended cleanup while browsing test.Henning Baldersheim2018-12-191-33/+31
|
* UINT1 -> BOOLHenning Baldersheim2018-12-161-1/+1
|
* Add test for range search and also fetch postings with correct strictness.Henning Baldersheim2018-12-061-25/+35
|
* Rename AttributeVector::saveAs() method to save().Tor Egge2018-08-171-3/+3
| | | | Don't update attribute vector file name in the renamed method.
* expose 2nd phase candidates as a referencing sorted hit sequenceHåvard Pettersen2018-08-141-1/+1
| | | | also stop keeping track of the re-rank count in the hit collector itself
* Ensure that all attribute iterators expose the search context creating the ↵Geir Storli2018-06-251-0/+46
| | | | | | iterator. This ensures that also fast-search struct field attributes work together with the sameElement operator.
* Change tests and reintroduce assert.Henning Baldersheim2018-05-241-1/+1
|
* Only return the weight of the first match. Accumulate on the outside.Henning Baldersheim2018-05-231-32/+41
|
* Ensure conformance tests pass.Henning Baldersheim2018-05-231-12/+25
|
* Add config for the alloc grow factor used when allocating buffers in ↵Geir Storli2018-01-221-2/+2
| | | | multi-value attributes.
* Init correct rangeHenning Baldersheim2017-06-221-2/+2
|
* Revert "Revert "Balder/do not use your own docidlimit""Henning Baldersheim2017-06-221-3/+3
|
* Revert "Balder/do not use your own docidlimit"Henning Baldersheim2017-06-221-3/+3
|
* init correct range on attribute iterators.Henning Baldersheim2017-06-221-3/+3
|