Just wrap your Query in a ConstantScoreQuery. Lucene will optimize the query execution to not read term frequencies from disk, not compute scores, etc.
Mike McCandless http://blog.mikemccandless.com On Mon, Jan 9, 2017 at 6:17 AM, Rajnish kamboj <rajnishk7.i...@gmail.com> wrote: > My application does not require scoring/ranking. All data is equally > important for me. > > Search query can return any documents matching search criteria. > > So, Is there a way to completely disable scoring/ranking altogether? > OR Is there a better solution to it. > > Regards > Rajnish --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org