Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Negative facets #220

Open
grtjn opened this issue Jun 12, 2015 · 2 comments
Open

Negative facets #220

grtjn opened this issue Jun 12, 2015 · 2 comments

Comments

@grtjn
Copy link
Contributor

grtjn commented Jun 12, 2015

Suggestion from the field: allow selecting 'anything without a domain', basically to check for completeness. This obviously applies to other facets as well.

Would be nice to completely negate an entire facet with one click, e.g. really have a button or link '(no domain)', perhaps even with a count. Alternatively, having the option to select for negated facet value individually. We have done something like that with other demos in the past:

Domain:
+ / - EMEA (nn)
+ / - Public Sector (mm)
etc

You can work around this with a search string, but that is cumbersome:

(-domain:EMEA AND -domain:"Public Sector" ...)

Would be great if we could make something generic out of this..

@joemfb
Copy link
Contributor

joemfb commented Jun 17, 2015

I'd like to see this generally available through ml-search-ng. Have you seen examples of negative facets handled with structured queries?

@grtjn
Copy link
Contributor Author

grtjn commented Jun 17, 2015

Could be as simple as a different range query operator. But you should treat multiple values from same facet as AND..

I'm more worried about showing ths in a usable way.. ;-)

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

No branches or pull requests

2 participants