: 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 token
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-tp
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 defa