@lancedb/lancedb • Docs
@lancedb/lancedb / BooleanQuery
Class: BooleanQuery¶
Represents a full-text query interface. This interface defines the structure and behavior for full-text queries, including methods to retrieve the query type and convert the query to a dictionary format.
Implements¶
Constructors¶
new BooleanQuery()¶
Creates an instance of BooleanQuery.
Parameters¶
- queries: [
Occur,FullTextQuery][] An array of (Occur, FullTextQuery objects) to combine. Occur specifies whether the query must match, or should match.
Returns¶
Methods¶
queryType()¶
The type of the full-text query.