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

Alan Woodward updated LUCENE-4883:
----------------------------------

    Attachment: LUCENE-4883.patch

Here's a preliminary patch, implementing UninvertedFilterReader and cutting 
over DocTermOrdsRangeFilter to use it.

Some questions:
- which package should this stuff be in?  FieldCache is in o.a.l.search, and 
the reader is in o.a.l.index.
- there are a bunch of FieldCache-specific queries and filters.  Can these just 
be reworked to be DV-specific instead?
- can we consolidate the various Ints, Floats, Shorts etc FieldCache interfaces 
into NumericDocValues?
- this still uses the global FieldCache.  Should the caches be moved to the 
readers instead?
                
> Hide FieldCache behind an UninvertingFilterReader
> -------------------------------------------------
>
>                 Key: LUCENE-4883
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4883
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Minor
>         Attachments: LUCENE-4883.patch
>
>
> From a discussion on the mailing list:
> {{
> rmuir:
> I think instead FieldCache should actually be completely package
> private and hidden behind a UninvertingFilterReader and accessible via
> the existing AtomicReader docValues methods.
> }}

--
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to