We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We claim to use Tantivy's query parser, but the NOT (-) operator doesn't seem to work:
-
import lancedb db = lancedb.connect("memory://") table = db.create_table('test', [{'text': 'apple fruit'}, {'text': 'apple'}, {'text': 'fruit'}]) table.create_fts_index(field_names='text', use_tantivy=False) table.search('apple -fruit', query_type="fts").to_list()
[{'text': 'apple fruit', '_score': 0.7803833484649658}, {'text': 'fruit', '_score': 0.5235483646392822}, {'text': 'apple', '_score': 0.5235483646392822}]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We claim to use Tantivy's query parser, but the NOT (
-
) operator doesn't seem to work:The text was updated successfully, but these errors were encountered: