Did you try the ComplexPhraseQueryParser? See: https://lucene.apache.org/solr/guide/6_6/other-parsers.html
Best, Erick On Tue, Feb 27, 2018 at 7:23 AM, Deyan Yotsov <de...@yotsov.org> wrote: > Hello, > > Is there a way to achieve something along these lines: > > "("john smith") josh"~12 > > Thank you, > > Deyan >