That doesn’t really make sense for Solr query evaluation. It fetches the posting lists for each term, then walks through them evaluating the query against all the documents.
It can skip a document as soon as it fails the query, but it still has to fetch the posting lists. So, that feature doesn’t exist because it isn’t useful. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Feb 7, 2018, at 9:50 AM, bbarani <bbar...@gmail.com> wrote: > > > I am trying to figure out a way to form boolean (||) query in SOLR. > Ideally my expectation is that with boolean operator ||, if first term is > true second term shouldn't be evaluated. > > &q=searchTerms:"testing" || matchStemming:"stemming" > works same as > &q=searchTerms:"testing" OR matchStemming:"stemming" > > Is there a way to form a boolean query such that it wont evaluate the right > hand side if it isn't necessary? > > > > -- > Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html