[jira] [Commented] (LUCENE-9484) Allow index sorting to happen after the fact

2021-09-28 Thread Jira


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

Jan Høydahl commented on LUCENE-9484:
-

There are commits both to master and branch_8x in this JIRA, but it is still 
open. [~simonw] can you fix?

> Allow index sorting to happen after the fact
> 
>
> Key: LUCENE-9484
> URL: https://issues.apache.org/jira/browse/LUCENE-9484
> Project: Lucene - Core
>  Issue Type: Improvement
>Reporter: Simon Willnauer
>Priority: Major
> Fix For: main (9.0)
>
>  Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> I did look into sorting an index after it was created and found that with 
> some smallish modifications we can actually allow that by piggibacking on 
> SortingLeafReader and addIndices in a pretty straight-forward and simple way. 
> With some smallish modifications / fixes to SortingLeafReader we can just 
> merge and unsorted index into a sorted index using a fresh index writer.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (LUCENE-9484) Allow index sorting to happen after the fact

2020-09-03 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on LUCENE-9484:
-

Commit a7bdc6893e21954ed9f6d8bce256a4a9c917310b in lucene-solr's branch 
refs/heads/branch_8x from Simon Willnauer
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=a7bdc68 ]

LUCENE-9484: Allow sorting an index after the fact (#1789)

Today we need to decide on an index sorting before we create the index.
In some situations it might make a lot of sense to sort an index afterwards
when the index doesn't change anymore or to compress older indices.
This change adds the ability to wrap readers from an unsorted index and merge it
into a sorted index by using IW#addIndices.


> Allow index sorting to happen after the fact
> 
>
> Key: LUCENE-9484
> URL: https://issues.apache.org/jira/browse/LUCENE-9484
> Project: Lucene - Core
>  Issue Type: Improvement
>Reporter: Simon Willnauer
>Priority: Major
>  Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> I did look into sorting an index after it was created and found that with 
> some smallish modifications we can actually allow that by piggibacking on 
> SortingLeafReader and addIndices in a pretty straight-forward and simple way. 
> With some smallish modifications / fixes to SortingLeafReader we can just 
> merge and unsorted index into a sorted index using a fresh index writer.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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