#include <lance/detail/declarations.hpp>
|
| static FtsQuery | match (const std::string &terms, std::optional< std::string > column=std::nullopt, const FtsMatchOptions &options={}) |
| |
| static FtsQuery | phrase (const std::string &terms, std::optional< std::string > column=std::nullopt, const FtsPhraseOptions &options={}) |
| |
| static FtsQuery | boolean (const std::vector< std::pair< FtsOccur, const FtsQuery * > > &clauses) |
| |
| static FtsQuery | boost (const FtsQuery &positive, const FtsQuery &negative, const FtsBoostOptions &options={}) |
| |
| static FtsQuery | multi_match (const std::string &terms, const std::vector< std::string > &columns, const FtsMultiMatchOptions &options={}) |
| |
| static FtsQuery | combined_fields (const std::string &terms, const std::vector< std::string > &columns, const FtsCombinedFieldsOptions &options={}) |
| |
Immutable full-text query value. Composite factories copy their child values, and Scanner::full_text_search snapshots the tree, so handles may be destroyed before the scan runs.
Definition at line 2186 of file declarations.hpp.
◆ FtsQuery() [1/2]
| lance::FtsQuery::FtsQuery |
( |
FtsQuery && | | ) |
|
|
defaultnoexcept |
◆ FtsQuery() [2/2]
| lance::FtsQuery::FtsQuery |
( |
const FtsQuery & | | ) |
|
|
delete |
◆ boolean()
Boolean query. An empty clause list is allowed here; scan planning rejects a tree without a positive clause.
◆ boost()
Boost (boosting) query: the negative child's score is multiplied by negative_boost and subtracted from the positive child's score.
◆ c_handle()
◆ combined_fields()
| static FtsQuery lance::FtsQuery::combined_fields |
( |
const std::string & | terms, |
|
|
const std::vector< std::string > & | columns, |
|
|
const FtsCombinedFieldsOptions & | options = {} ) |
|
static |
CombinedFields (BM25F) query: blends term statistics across all target columns.
◆ match()
| static FtsQuery lance::FtsQuery::match |
( |
const std::string & | terms, |
|
|
std::optional< std::string > | column = std::nullopt, |
|
|
const FtsMatchOptions & | options = {} ) |
|
static |
Match query. A null column lets scan planning resolve the indexed columns.
◆ multi_match()
| static FtsQuery lance::FtsQuery::multi_match |
( |
const std::string & | terms, |
|
|
const std::vector< std::string > & | columns, |
|
|
const FtsMultiMatchOptions & | options = {} ) |
|
static |
MultiMatch query: scores each field independently and keeps the maximum field score.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ phrase()
| static FtsQuery lance::FtsQuery::phrase |
( |
const std::string & | terms, |
|
|
std::optional< std::string > | column = std::nullopt, |
|
|
const FtsPhraseOptions & | options = {} ) |
|
static |
Phrase query. A null column lets scan planning resolve the indexed columns.
The documentation for this class was generated from the following file: