Skip to content

@lancedb/lancedb β€’ Docs


@lancedb/lancedb / PhraseQuery

Class: PhraseQuery

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 PhraseQuery()

new PhraseQuery(query, column): PhraseQuery

Creates an instance of PhraseQuery.

Parameters

  • query: string The phrase to search for in the specified column.

  • column: string The name of the column to search within.

Returns

PhraseQuery

Methods

queryType()

queryType(): FullTextQueryType

The type of the full-text query.

Returns

FullTextQueryType

Implementation of

FullTextQuery.queryType