Hi Joel, I don't think there is anything that would do this out of the box. But it should be very easy to write a query that rewrites to a disjunction and skips the high-frequency terms. Out of curiosity, why you want to do this rather than using CommonTermsQuery?
Le jeu. 21 avr. 2016 à 19:03, Joel Bernstein <[email protected]> a écrit : > > Hi, > > What I'm looking for in Lucene or Solr is a query that determines stop > words on the fly based on a docFreq threshold. > > I looked at the CommonTermsQuery in lucene, but it seemed to be much more > subtle then a straight out stop words query, which would simply not include > high frequency terms. > > Is there a way to make the CommonTermsQuery act like a stop words query? > > Or is there another query that does this. > > If not I can create a ticket for this. > > Thanks, > > Joel >
