marklogic-community / demo-cat

An application to help SEs find good demos and record bugs and RFEs on them. AngularJS talks to the MarkLogic database via the REST API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Negative facets

grtjn opened this issue · comments

commented

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..

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

commented

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.. ;-)