sonic icon indicating copy to clipboard operation
sonic copied to clipboard

Search "terms"? Searching for multiple words?

Open OllieJones opened this issue 2 years ago • 1 comments

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.

OllieJones avatar Nov 01 '22 14:11 OllieJones

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.

valeriansaliou avatar Nov 01 '22 14:11 valeriansaliou