You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2009/02/10 03:04:59 UTC
[jira] Updated: (SOLR-998) ExternalFile fails with newest Lucene
libs
[ https://issues.apache.org/jira/browse/SOLR-998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yonik Seeley updated SOLR-998:
------------------------------
Attachment: SOLR-998.patch
In addition to fixing the FileFloatSource failure by allowing an individual segment to use the cache based on the entire multireader, this patch lays the groundwork for caching per-segment reader.
The basic idea is that IndexReaders are wrapped by SolrIndexReaders each time a new IndexSearcher is opened - thus allowing any segment reader to know what multireader it is a part of... and the SolrIndexReader wrapper provides a better platform for caching than using weak references on IndexReaders.
I'll commit shortly - comments welcome.
> ExternalFile fails with newest Lucene libs
> ------------------------------------------
>
> Key: SOLR-998
> URL: https://issues.apache.org/jira/browse/SOLR-998
> Project: Solr
> Issue Type: Bug
> Reporter: Yonik Seeley
> Fix For: 1.4
>
> Attachments: SOLR-998.patch
>
>
> reopen() causes segments to be reused, and new segment-at-a-time searching in Lucene causes FileFloatSource to be reloaded per-segment (and thus get a hit on the old segments). Per-segment loading of FileFloat Source is very inefficient in any case.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.