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 default operator is AND, but I want to search within field1 with AND
operator between the tokens and within field2 with OR operator.
what i already tried is to split phrase1 by whitespaces, changing the
default search operator to OR in the schema and add + signs before each
word:

field1:(+solr +is +the +best +fts +ever) AND field2:(let us all contribute
to open source for a better world)

this query is not good.. because when I am splitting phrase1 it is not how
the index time tokenizer splits it... so I am not getting the results I
would like to...

any idea any one?

Thanks,

Omri

Reply via email to