Re: Search over a multiValued field

2015-03-03 Thread Tom Devel
Erick, Thanks a lot for the explanation, makes sense now. Tom On Tue, Mar 3, 2015 at 5:54 PM, Erick Erickson wrote: > bq: Does it mean that words between " symbols, such as "Orange ordered" are > treated as a single term, with (implicitly) AND conjunction between them? > > not at all. When you

Re: Search over a multiValued field

2015-03-03 Thread Erick Erickson
bq: Does it mean that words between " symbols, such as "Orange ordered" are treated as a single term, with (implicitly) AND conjunction between them? not at all. When you quote things, you're getting a "phrase query", perhaps one with slop. So something like "a b" means that 'a' must appear right

Re: Search over a multiValued field

2015-03-03 Thread Tom Devel
Jack, This is exactly what I was looking for, thanks. I found the positionIncrementGap attribute in the schema.xml for the text_en I was putting in "AND" because I read in the Solr documentation that "The OR operator is the default conjunction operator." Does it mean that words between " symbols

Re: Search over a multiValued field

2015-03-03 Thread Jack Krupansky
Just set the positionIncrementGap for the multivalued field to a much higher value, like 1000 or 5000. That's the purpose of this attribute, to assure that reasonable proximity matches don't match across multiple values. Also, leave "AND" out of the query phrases - you're just trying to match the

Search over a multiValued field

2015-03-03 Thread Tom Devel
Hi, I am running Solr 5.0.0 and have a question about proximity search and multiValued fields. I am indexing xml files of the following form with foundField being a field defined as multiValued and text_en my in schema.xml. 8 "Oranges from South California - ordered" "Green Apples - available"