You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2011/05/19 15:41:47 UTC

[jira] [Created] (LUCENE-3124) review CodecProvider/CoreCodecProvider/SchemaCodecProvider hierarchy

review CodecProvider/CoreCodecProvider/SchemaCodecProvider hierarchy
--------------------------------------------------------------------

                 Key: LUCENE-3124
                 URL: https://issues.apache.org/jira/browse/LUCENE-3124
             Project: Lucene - Java
          Issue Type: Task
            Reporter: Robert Muir


As mentioned on SOLR-1942, I think we should revisit the CodecProvider hierarchy.

Its a little bit confusing how the class itself isn't really "abstract" but is really an overridable implementation.

One idea would be to make CodecProvider an interface, with Lucene using a simple hashmap-backed impl and Solr using the schema-backed impl. This would be in line with how SimilarityProvider was done.

It would also be good to review all the methods in CodecProvider and see if we can minimize the interface...


--
This message is automatically generated by JIRA.
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