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-1475) Expose sub-IndexReaders from MultiReader or MultiSegmentReader
Date Mon, 08 Dec 2008 18:52:46 GMT

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

Jason Rutherglen updated LUCENE-1475:
-------------------------------------

    Attachment: LUCENE-1475.patch

LUCENE-1475.patch

- Added getSubReaders to IndexReader which by default returns null
- Added IndexReader.isMultiReader default false.  MultiSegmentReader and MultiReader return
true

I took this approach rather than add an interface as this seemed to be more with the kitchen
sink IndexReader API currently in use (meaning it's not my first choice, but because it's
a small addition I don't care).

> Expose sub-IndexReaders from MultiReader or MultiSegmentReader
> --------------------------------------------------------------
>
>                 Key: LUCENE-1475
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1475
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>    Affects Versions: 2.4
>            Reporter: Jason Rutherglen
>            Priority: Minor
>         Attachments: LUCENE-1475.patch
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> MultiReader and MultiSegmentReader are package protected and do not expose the underlying
sub-IndexReaders.  A way to expose the sub-readers is to have an interface that an IndexReader
may be cast to that exposes the underlying readers.  
> This is for realtime indexing.

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