lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-1579) Cloned SegmentReaders fail to share FieldCache entries
Date Tue, 31 Mar 2009 15:41:50 GMT

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

Michael McCandless resolved LUCENE-1579.
----------------------------------------

    Resolution: Fixed

> Cloned SegmentReaders fail to share FieldCache entries
> ------------------------------------------------------
>
>                 Key: LUCENE-1579
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1579
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 2.9
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 2.9
>
>         Attachments: LUCENE-1579.patch, LUCENE-1579.patch, LUCENE-1579.patch
>
>
> I just hit this on LUCENE-1516, which returns a cloned readOnly
> readers from IndexWriter.
> The problem is, when cloning, we create a new [thin] cloned
> SegmentReader for each segment.  FieldCache keys directly off this
> object, so if you clone the reader and do a search that requires the
> FieldCache (eg, sorting) then that first search is always very slow
> because every single segment is reloading the FieldCache.
> This is of course a complete showstopper for LUCENE-1516.
> With LUCENE-831 we'll switch to a new FieldCache API; we should ensure
> this bug is not present there.  We should also fix the bug in the
> current FieldCache API since for 2.9, users may hit this.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message