On Sat, Sep 27, 2014 at 11:36 PM, White, Bill <bwh...@ptfs.com> wrote:
> but do NOT match ANY other color. Bill, I miss the whole picture, it's worth to rephrase the problem in one sentence. But regarding the quote above, you can try to use exclusive ranges https://lucene.apache.org/core/4_6_0/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#Range_Searches fq=-color:({* TO green} {green TO red} {red TO *}) just don't forget to build ranges alphabetically -- Sincerely yours Mikhail Khludnev Principal Engineer, Grid Dynamics <http://www.griddynamics.com> <mkhlud...@griddynamics.com>