[ 
https://issues.apache.org/jira/browse/LUCENE-2915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993090#comment-12993090
 ] 

Michael McCandless commented on LUCENE-2915:
--------------------------------------------

This sounds like a great idea!  (Automatically discovering external CPs 
contained in JARs in the classpath).

If we can get that working, then I suppose we wouldn't need to hard-code our 
core codecs?  Ie, they'd "naturally" be discovered since they are in the core 
JAR.

How would it work for codecs that take args to their ctor?  EG pulsing takes an 
int cutoff (terms w/ <= that many positions are inlined into terms dict).

I think this should be a new issue?

> make CoreCodecProvider convenience class so apps can easily pick per-field 
> codecs
> ---------------------------------------------------------------------------------
>
>                 Key: LUCENE-2915
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2915
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: LUCENE-2915.patch
>
>
> We already have DefaultCodecProvider, which simply registers all core codecs 
> and uses Standard for all fields, but it's package private.
> We should make this public, and name it CoreCodecProvider.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to