lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <>
Subject Re: Alternative searching
Date Wed, 03 Dec 2014 13:45:59 GMT
Hi Tomas,

I dont fully follow but, with ComplexPhraseQueryParser, you can use parenthesis inside phrases.

q="(hello hi cheerio) my name is (Tomas John Paul)"&defType=complexphrase

On Wednesday, December 3, 2014 3:40 PM, tomas.kalas <> wrote:
is possible searching by Solr search alternative words from some field?
For example if i want search some phrase from range:

At first position i want to have probably in one field hello,hi,cheerio.
At second my
At third name
At fourth is
At fifth Tomas, John, Paul.

And if i send query "My Tomas"~3 / "My John"~3 / "Hi Paul"~4 
So that always will find the required query.


View this message in context:
Sent from the Solr - User mailing list archive at

View raw message