query - part default OR and part default AND

2011-09-14 Thread Omri Cohen
Hi All, I have two fields in my schema: field1, field2 , for the sake of the example I'll define to phrases: phrase1 - solr is the best fts ever phrase2 - let us all contribute to open source for a better world now I want to perform the next query: field1:( phrase1) AND field2:(phrase2) my

Re: query - part default OR and part default AND

2011-09-14 Thread tamanjit.bin...@yahoo.co.in
Keep the default Search Operator as OR And for phrase1, on splitting on whitespace just add AND instead of +. Hopefully this should work. Please do confirm. -- View this message in context: http://lucene.472066.n3.nabble.com/query-part-default-OR-and-part-default-AND-tp3335851p3336194.html Sent

Re: query - part default OR and part default AND

2011-09-14 Thread Chris Hostetter
: phrase1 - solr is the best fts ever : phrase2 - let us all contribute to open source for a better world : : now I want to perform the next query: : : field1:( phrase1) AND field2:(phrase2) : : my default operator is AND, but I want to search within field1 with AND : operator between the