On this subject:
I thought that this query would find at least one of the given values:
+(a:valueAlpha a:valueBeta a:valueGamma)
It would sort returns by 'have all 3', 'have 2', and 'have 1'. In fact, it
only finds records with all three. That is, it is exactly the same as:
+a:va
Hi-
I'd like to make a multivalued field of comma-separated phrases. Is there a
class available that I can use for this?
I can see how to create N separate elements for the same field in the update
XML, but is there something I can use in type definition?
Thanks,
Lance
A simplified version of the problem:
text -(collection:pile1)
works, while
text (-collection:pile1)
finds zero records.
lance
_
From: Lance Lance [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 12, 2007 5:58 PM
To: 'solr-user@lucene.apache.org'
Subject: Questio
Ok, here's a simpler version:
_
From: Lance Lance [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 12, 2007 5:58 PM
To: 'solr-user@lucene.apache.org'
Subject: Question on query syntax
Are there any known bugs in the syntax parser? We're using lucene-2.2.0 and
Are there any known bugs in the syntax parser? We're using lucene-2.2.0 and
Solr 1.2.
We have documents with searchable text and a field 'collection'.
This query works as expected, finding everything except for collections
'pile1' and 'pile2'.
text -(collection:pile1 OR collection:pile2)