lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajnish kamboj <rajnishk7.i...@gmail.com>
Subject Re: Disabling Lucene Scoring/Ranking
Date Mon, 09 Jan 2017 15:07:12 GMT
Thanks for quick responses..
I will try the approach..

Does bypassing scoring increases search performance also?


Regards
Rajnish

On Monday, January 9, 2017, Ian Lea <ian.lea@gmail.com> wrote:

> oal.search.ConstantScoreQuery?
>
> "A query that wraps another query and simply returns a constant score equal
> to the query boost for every document that matches the query. It therefore
> simply strips of all scores and returns a constant one."
>
>
> --
> Ian.
>
>
> On Mon, Jan 9, 2017 at 11:39 AM, Taher Galal <taher.galal90@gmail.com
> <javascript:;>>
> wrote:
>
> > Hi,
> >
> > What about writing your own scoring that just give a value of 1 to all
> the
> > documents that are hits?
> >
> > On Mon, Jan 9, 2017 at 12:17 PM, Rajnish kamboj <
> rajnishk7.info@gmail.com <javascript:;>>
> > 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
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message