#include <lance/detail/declarations.hpp>
|
| static FtsTokenList | tokenize (std::string_view text, std::optional< std::string > params_json=std::nullopt) |
| |
Owned token list produced by FtsTokenList::tokenize.
The list owns every token string. at() copies one token into a value, so the value remains usable after the list is destroyed.
Definition at line 2258 of file declarations.hpp.
◆ FtsTokenList() [1/2]
◆ FtsTokenList() [2/2]
◆ at()
| FtsToken lance::FtsTokenList::at |
( |
size_t | index | ) |
const |
Copy token index. Throws on an out-of-range index.
◆ c_handle()
◆ empty()
| bool lance::FtsTokenList::empty |
( |
| ) |
const |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ size()
| size_t lance::FtsTokenList::size |
( |
| ) |
const |
Number of tokens. Throws on a NULL handle.
◆ tokenize()
| static FtsTokenList lance::FtsTokenList::tokenize |
( |
std::string_view | text, |
|
|
std::optional< std::string > | params_json = std::nullopt ) |
|
static |
Tokenize an explicit UTF-8 byte range with native defaults or native InvertedIndexParams JSON. Embedded NUL bytes are preserved. A null params_json selects native defaults.
◆ tokens()
| std::vector< FtsToken > lance::FtsTokenList::tokens |
( |
| ) |
const |
Copy all tokens in native order.
The documentation for this class was generated from the following file: