aboutsummaryrefslogtreecommitdiffstats
path: root/streamingvisitors/src/vespa/vsm/vsm/fieldsearchspec.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move UTF8StringFieldSearcherBase tokenize member function to TokenizeReader.Tor Egge2024-03-271-4/+5
| | | | | Move anonymous normalize_mode funtion to a public static FieldSearchSpecMap::convert_normalize_mode member function.
* Reapply add virtual fields to index environment for streaming mode.Tor Egge2024-03-201-1/+12
|
* Revert "Add virtual fields to index environment for streaming mode."Henning Baldersheim2024-03-191-12/+1
|
* Add virtual fields to index environment for streaming mode.Tor Egge2024-03-191-1/+12
|
* Use multi_index_terms() returning boolean to differentiate betweenTor Egge2024-03-181-3/+3
| | | | | | multi term nodes that all searches the same index (e.g. Phrase) and multi term nodes that searches multiple indexes (e.g. Equiv, SameElement).
* Change parent class of search::streaming::SameElementQueryNode fromTor Egge2024-03-181-3/+3
| | | | search::streaming::AndQueryNode to search:streaming::MultiTerm.
* Handle search::streaming::EquivQueryNode as a leaf in the query tree.Tor Egge2024-02-091-1/+9
|
* Move Normalization from search::streaming => searchHenning Baldersheim2024-02-051-5/+5
|
* Support fuzzy term matching in streaming searchTor Brede Vekterli2024-01-181-1/+1
| | | | | | | | | | Uses a DFA-based matcher for max edits in {1, 2} and falls back to the legacy non-DFA matcher for all other values (including 0). Currently only supports fuzzy matching across the full field string, i.e. there's no implicit tokenization or whitespace removal. This matches the semantics we currently have for fuzzy search over attributes in a non-streaming case
* Propagate normalizing mode and max field length to new searcherTor Brede Vekterli2024-01-161-5/+11
| | | | | Needed to avoid default normalizing mode/max field length being used in the reconfigured searcher instance.
* Add regular expression support to streaming searchTor Brede Vekterli2024-01-151-1/+2
| | | | | | | | | | | | | | Introduces an explicit regex query term node (which wraps an RE2 regex instance internally) and extends the existing UTF-8 flexible string searcher to use this query node. Regex matching is optionally case (in)sensitive depending on the normalization mode used. Note on `searcher/searcher_test.cpp`: this adds a magic sentinel `#` char prefix to query term parsing in the test to let a query term be interpreted as a regex rather than exact/prefix/suffix/substring match.
* Use the normalize_mode config.Henning Baldersheim2024-01-101-14/+7
|
* Simplify ancient carefully hand optimized code in favour of simple readable codeHenning Baldersheim2024-01-101-24/+37
|
* - Must resolve index and check all fields if any require text matching.Henning Baldersheim2024-01-031-44/+55
| | | | | | - Make methods const if possible. - Return results instead of modifying a reference. - Varoius code unification.
* Standard plural of leaf is leaves.Tor Egge2023-11-301-2/+2
|
* Update copyrightJon Bratseth2023-10-091-1/+1
|
* Modernize C++ code with auto and range-based loops.Geir Storli2023-07-061-2/+2
|
* Setup distance metrics for streaming search.Tor Egge2023-06-051-0/+17
| | | | Add range checks when converting to internal distance threshold.
* Integrate nearest neighbor field searcher in streaming search.Geir Storli2023-04-211-7/+12
|
* Revert "Revert "Collapse vsm into streamingvisitors""Henning Baldersheim2022-05-151-0/+334
|
* Revert "Collapse vsm into streamingvisitors"Henning Baldersheim2022-05-151-334/+0
|
* Collapse vsm into streamingvisitorsHenning Baldersheim2022-05-141-0/+334