lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (LUCENE-769) [PATCH] Performance improvement for some cases of sorted search
Date Sun, 10 Mar 2013 13:19:12 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Erick Erickson closed LUCENE-769.
---------------------------------

    Resolution: Won't Fix

SPRING_CLEANING_2013 We can reopen if necessary. Think this code has been extensively re-worked
anyway.
                
> [PATCH] Performance improvement for some cases of sorted search
> ---------------------------------------------------------------
>
>                 Key: LUCENE-769
>                 URL: https://issues.apache.org/jira/browse/LUCENE-769
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/search
>    Affects Versions: 2.0.0
>            Reporter: Artem Vasiliev
>         Attachments: selfContained.patch
>
>
> It's a small addition to Lucene that significantly lowers memory consumption and improves
performance for sorted searches with frequent index updates and relatively big indexes (>1mln
docs) scenario. This solution supports only single-field sorting currently (which seem to
be quite popular use case). Multiple fields support can be added without much trouble.
> The solution is this: documents from the sorting set (instead of given field's values
from the whole index - current FieldCache approach) are cached in a WeakHashMap so the cached
items are candidates for GC.  Their fields values are then fetched from the cache and compared
while sorting.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message