Lance C/C++ Bindings
C ABI and header-only C++ RAII wrappers for the Lance columnar data format
Loading...
Searching...
No Matches
LanceFtsTokenView Struct Reference

#include <lance/lance.h>

Public Attributes

const char * text
 
size_t text_len
 
uint32_t position
 

Detailed Description

Borrowed view of one token produced by lance_fts_tokenize.

text is not NUL-terminated and may contain embedded NUL bytes; read exactly text_len bytes. The pointer remains valid until the owning LanceFtsTokenList is closed. position is the native normalized token position after Lance removes leading gaps.

Definition at line 10643 of file lance.h.

Member Data Documentation

◆ position

uint32_t LanceFtsTokenView::position

Definition at line 10646 of file lance.h.

◆ text

const char* LanceFtsTokenView::text

Definition at line 10644 of file lance.h.

◆ text_len

size_t LanceFtsTokenView::text_len

Definition at line 10645 of file lance.h.


The documentation for this struct was generated from the following file: