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
Install search extension pg_search from ParadeDB. This will enable an 'Elastic Search like' search index inside Postgres.
pg_search
https://docs.paradedb.com/deploy/self-hosted/extensions
As part of your SQL migration scripts you have to create the search index you need:
CREATE INDEX search_idx ON mock_items USING bm25 (id, description, category, rating, in_stock, created_at, metadata, weight_range) WITH (key_field='id');
Then you can use @@@ operator to do text search:
@@@
SELECT description, rating, category, paradedb.score(id) FROM mock_items WHERE description @@@ 'shoes' OR category @@@ 'footwear' AND rating @@@ '>2' ORDER BY score DESC, description LIMIT 5;
More information on how to use it here
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the feature
Install search extension
pg_search
from ParadeDB.This will enable an 'Elastic Search like' search index inside Postgres.
https://docs.paradedb.com/deploy/self-hosted/extensions
Suggestion or Example of how the feature would be used
As part of your SQL migration scripts you have to create the search index you need:
Then you can use
@@@
operator to do text search:More information on how to use it here
Duplicate declaration
The text was updated successfully, but these errors were encountered: