[ 
https://issues.apache.org/jira/browse/LUCENE-10409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17488607#comment-17488607
 ] 

Feng Guo edited comment on LUCENE-10409 at 2/8/22, 8:15 AM:
------------------------------------------------------------

+1, Great idea!


was (Author: gf2121):
+1, Great idea! I'd like to take on this if you agree.

> Improve BKDWriter's DocIdsWriter to better encode decreasing sequences of doc 
> IDs
> ---------------------------------------------------------------------------------
>
>                 Key: LUCENE-10409
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10409
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Adrien Grand
>            Priority: Minor
>
> [~gf2121] recently improved DocIdsWriter for the case when doc IDs are dense 
> and come in the same order as values via the CONTINUOUS_IDS and BITSET_IDS 
> encodings.
> We could do the same for the case when doc IDs come in the opposite order to 
> values. This would be used whenever searching on a field that is used for 
> index sorting in the descending order. This would be a frequent case for 
> Elasticsearch users as we're planning on using index sorting more and more on 
> time-based data with a descending sort on the timestamp as the last sort 
> field.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to