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

Search "terms"? Searching for multiple words? #302

Open
OllieJones opened this issue Nov 1, 2022 · 1 comment
Open

Search "terms"? Searching for multiple words? #302

OllieJones opened this issue Nov 1, 2022 · 1 comment

Comments

@OllieJones
Copy link

In your protocol document you mention placing "search terms" in a protocol request. Those terms seem to be words separated by spaces. Can you clarify the meaning of "terms"? (plural?)

For example, suppose I have documents that mention "rubber ducks", "rubber chickens" and "rubber tires", as well as documents that mention just "chickens" and others that mention "synthetic rubber". If I search for "rubber chickens" what should I expect to see? All those documents? Just the exact matches?

Thank you for clarifying.

@valeriansaliou
Copy link
Owner

Terms are space-separated words. If you look for 2 words at once, Sonic should perform an AND query internally and will return object matching both of those terms at the same time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants