lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-3124) review CodecProvider/CoreCodecProvider/SchemaCodecProvider hierarchy
Date Thu, 19 May 2011 13:41:47 GMT
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


Mime
View raw message