lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Rutherglen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-1785) Simple FieldCache merging
Date Sat, 28 Nov 2009 01:57:20 GMT

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

Jason Rutherglen updated LUCENE-1785:
-------------------------------------

    Attachment: LUCENE-1785.patch

This mostly works, not committable. I've noticed we're creating
multiple cache keys (i.e. Entry objects), one with the default
parser, one with a null parser, that point to the same
underlying value. 

The field cache merging then tries to merge both of these
entries into separate objects, causing the field cache sanity
check to fail. I'm guessing I need to find values that are the
same for an entry and choose one (the one with a parser?). 

Note: This only works when using IW.getReader

> Simple FieldCache merging
> -------------------------
>
>                 Key: LUCENE-1785
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1785
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>    Affects Versions: 2.4.1
>            Reporter: Jason Rutherglen
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: LUCENE-1785.patch
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> We'll merge the field caches in RAM as the SegmentReader's are
> merged in IndexWriter (the first cut will work in conjunction
> with IW.getReader). There will be an optional callback to
> determine which fields to merge. 

-- 
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