I'd rather agree with Uwe, but you can plug BooleanSimilarity just to check it out.
On Mon, Jul 11, 2022 at 6:01 PM Mohammad Kasaei <mohammadkasae...@gmail.com> wrote: > Hello > > I have a question. Is it possible to completely disable scoring in lucene? > > Detailed description: > I have an index in elasticsearch and it contains big shards (every shard > about 500m docs) so a nano second of time spent on scoring every document > in any shard causes a few second delay in the query response. > I discovered that the most performant way to score documents is constant > score but the overhead of function calls can cause delay. > As a result I'm looking for a trick to ignore the function call and have > all no scoring on my whole query > > Is it possible to ignore this step? > > thanks a million > -- Sincerely yours Mikhail Khludnev