[solr-user] Correct query syntax for a multivalued string field?

2008-09-09 Thread hernan
Hey Solr users, My schema defines a field like this: If I have a document indexed that has the following values for this field: ['red','green'] ...how do I write a query that says: "I want all documents that have color = 'red' AND color = 'green'? When I try: q=color:red+AND+green I get zer

Re: [solr-user] Correct query syntax for a multivalued string field?

2008-09-09 Thread hernan
On Tue, Sep 9, 2008 at 3:50 PM, Walter Underwood <[EMAIL PROTECTED]> wrote: > color:red AND color:green > > +color:red +color:green > > Either one works. Just what I was looking for, thanks for the quick response and for helping a new user. hs > wunder > > On 9/