lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Atri Sharma (JIRA)" <>
Subject [jira] [Commented] (LUCENE-7697) IndexSearcher should leverage index sorting
Date Thu, 09 May 2019 14:16:00 GMT


Atri Sharma commented on LUCENE-7697:

Couple of ideas:


1) For sorted DocValues and a query seeking an exact value of the sort key, do a binary search
per segment instead of loading every document and checking.


2) If the sort order of an index and sort order of a key match, terminate early.


Any other thoughts/ideas?

> IndexSearcher should leverage index sorting
> -------------------------------------------
>                 Key: LUCENE-7697
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Priority: Minor
> We made good efforts in order to make index sorting fast and easy to configure. We should
now look into making IndexSearcher aware of it. This will probably require changes of the
API as not collecting all matches means that we can no longer know things like the total number
of hits or the maximum score.
> I don't plan to work on it anytime soon, I'm just opening this issue to raise awareness.
I'd be happy to do reviews however if someone decides to tackle it.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message