: name->john
: year->2009;year->2010;year->2011
: 
: And I query for:
: q=john&fq=-year:2010
: 
: Doc1 won't be in the matching results. Is there a way to make it appear
: because even having 2010 the document has also years that don't match the
: filter query?

Not natively -- but you can index an additional field num_years=3 and then 
make your filter query...

        -(+year:2010 +num_years:1)


-Hoss

Reply via email to