lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-4744) Attempt to get rid of FieldCache.StopFillCacheException
Date Fri, 01 Feb 2013 10:07:13 GMT

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

Simon Willnauer updated LUCENE-4744:
------------------------------------

    Attachment: LUCENE-4744.patch

here my proposal... I basically added a TermsEnum filter(TermsEnum) method to the Parser Interface
such that Numeric parsers can simply use a FilteredTermsEnum instead of throwing this exception.
I think this is way more elegant and might be helpful for other usecases where you only want
certain terms to be in the FieldCache (ie. only high-frequent?)
but that is a different story
                
> Attempt to get rid of FieldCache.StopFillCacheException
> -------------------------------------------------------
>
>                 Key: LUCENE-4744
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4744
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/other
>    Affects Versions: 4.1
>            Reporter: Simon Willnauer
>            Priority: Minor
>             Fix For: 4.2, 5.0
>
>         Attachments: LUCENE-4744.patch
>
>
> FieldCache.StopFillCacheException bugged me for a while and I think its a pretty hacky
way to make our FC work with prefix coded terms. I think we should try to get rid of it...
I will attach a patch soon.

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


Mime
View raw message