@lancedb/lancedb β’ Docs
@lancedb/lancedb / MultiMatchQuery
Class: MultiMatchQuery
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 MultiMatchQuery()
Creates an instance of MultiMatchQuery.
Parameters
-
query:
string
The text query to search for across multiple columns. -
columns:
string
[] An array of column names to search within. -
options? Optional parameters for the multi-match query.
boosts
: An array of boost factors for each column (default is 1.0 for all).
-
options.boosts?:
number
[]
Returns
Methods
queryType()
The type of the full-text query.