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 https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-ComplexPhraseQueryParser Ahmet On Wednesday, December 3, 2014 3:40 PM, tomas.kalas <kala...@email.cz> wrote: Hello, 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. Thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/Alternative-searching-tp4172339.html Sent from the Solr - User mailing list archive at Nabble.com.