Skip to content
New issue

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

Improve pg_search docs for query syntax on JSON columns #1057

Open
neilyio opened this issue Apr 12, 2024 · 0 comments
Open

Improve pg_search docs for query syntax on JSON columns #1057

neilyio opened this issue Apr 12, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation pg_search Issue related to `pg_search/` priority-2-medium Medium priority issue

Comments

@neilyio
Copy link
Contributor

neilyio commented Apr 12, 2024

What
We don't have enough examples of the query syntax for JSON objects. Some info from Tantivy on the query parser's syntax here:

https://github.com/quickwit-oss/tantivy/blob/main/doc/src/json.md

Example:

cart.product_type:sneakers AND cart.attributes.color:red

It's not clear to me whether there's really any way to query JSON objects with the advanced builders. If that's true, we should be explicit about that in the docs.

@neilyio neilyio added documentation Improvements or additions to documentation priority-2-medium Medium priority issue pg_search Issue related to `pg_search/` labels Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation pg_search Issue related to `pg_search/` priority-2-medium Medium priority issue
Projects
None yet
Development

No branches or pull requests

1 participant