How can we improve Azure Search?

Improve collection matching expressions

Currently, collection matching only supports simple equality for the 'any' option and inequality for the 'all' option.

I would like to be able match a collection against a set of values instead of testing a single match individually and then combining the results as shown below

$filter=tags/any(t: t eq 'x') and tags/any(t: t eq 'y')

Additionally, it would also be useful to have the capabilities to include simple boolean logic within the lambda to craft expressions that match a collection item against slightly more complex logic for example:

$filter=tags/any(t: t eq 'x' or t eq 'y')

50 votes
Vote
Sign in
(thinking…)
Sign in with: oidc
Signed in as (Sign out)
You have left! (?) (thinking…)
Leonardo Sobrado shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Sign in with: oidc
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base