Re: fq syntax for requiring all multiValued field values to be within a list?

2014-09-27 Thread White, Bill
Sep 28, 2014 at 1:24 AM, White, Bill wrote: > > > It worked for me once I changed to > > > > -color:({* TO red} OR {red TO *}) > > > > I'm not sure why the OR is needed, maybe it's my version? (4.6.1) > > > > On Sat, Sep 27, 2014 at 5:22 PM,

Re: fq syntax for requiring all multiValued field values to be within a list?

2014-09-27 Thread White, Bill
O *})", > > I got the following facets: > > "facet_fields": { > "swatchColors_string_mv": [ > "RED", > 122, > "BLACK", > 0, > "BLUE", > 0, > &qu

Re: fq syntax for requiring all multiValued field values to be within a list?

2014-09-27 Thread White, Bill
her green or red passes that negation of exclusive ranges > disjunction. > > > On Sun, Sep 28, 2014 at 12:15 AM, White, Bill wrote: > > > OK, let me try phrasing it better. > > > > How do I exclude from search, any result which contains any value for > > multi

Re: fq syntax for requiring all multiValued field values to be within a list?

2014-09-27 Thread White, Bill
Thanks! On Sat, Sep 27, 2014 at 4:18 PM, Yonik Seeley wrote: > On Sat, Sep 27, 2014 at 3:46 PM, White, Bill wrote: > > Hmm, that won't work since color is free-form. > > > > Is there a way to invoke (via fq) a user-defined function (hopefully > > defin

Re: fq syntax for requiring all multiValued field values to be within a list?

2014-09-27 Thread White, Bill
ve no control over the possible values of 'color', e.g., there could be a valid color "lemon yellow" between "green" and "red", and I don't want a result which has (color: red, color: "lemon yellow") On Sat, Sep 27, 2014 at 4:02 PM, Mikhail K

Re: fq syntax for requiring all multiValued field values to be within a list?

2014-09-27 Thread White, Bill
, Sep 27, 2014 at 3:36 PM, White, Bill wrote: > > Sorry, color is multivalued, so a given record might be both blue and > red. > > I don't want those to show up in the results. > > I think the only way currently (out of the box) is to enumerate the > other possible c

Re: fq syntax for requiring all multiValued field values to be within a list?

2014-09-27 Thread White, Bill
Sorry, color is multivalued, so a given record might be both blue and red. I don't want those to show up in the results. On Sat, Sep 27, 2014 at 3:36 PM, White, Bill wrote: > Not just that. I'm looking for things which match either red or yellow or > green, but do NOT match ANY

Re: fq syntax for requiring all multiValued field values to be within a list?

2014-09-27 Thread White, Bill
Not just that. I'm looking for things which match either red or yellow or green, but do NOT match ANY other color. I can probably drop the requirement related to having no color. On Sat, Sep 27, 2014 at 3:28 PM, Yonik Seeley wrote: > On Sat, Sep 27, 2014 at 2:52 PM, White, Bil

fq syntax for requiring all multiValued field values to be within a list?

2014-09-27 Thread White, Bill
Hello, I've attempted to figure this out from reading the documentation but without much luck. I looked for a comprehensive query syntax specification (e.g., with BNF and a list of operator semantics) but I'm unable to find such a document (does such a thing exist? or is the syntax too much of a