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 <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
