Sweet, thanks Erik !
On Wed, May 6, 2009 at 6:01 PM, Erik Hatcher <e...@ehatchersolutions.com>wrote: > > On May 6, 2009, at 11:38 AM, Stephane Bailliez wrote: > > Hello, >> >> I cannot seem to find a way with the syntax to express multiple values for >> a >> filter query. >> >> I have documents with field 'type' : a, b, c, d and I'd like to only >> search >> within documents a and b. >> >> One way to do it would be to work on exclusion fq like: >> fq=-type:c&fq=-type:d but then all hell break lose if I introduce a >> document >> of type 'e'. >> >> Is there something extremely obvious that I'm missing ? >> > > fq=type:(a OR b) > > :) > > Erik > > >