lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (JIRA)" <>
Subject [jira] Updated: (SOLR-1942) Ability to select codec per field
Date Thu, 04 Nov 2010 17:35:43 GMT


Simon Willnauer updated SOLR-1942:

    Attachment: SOLR-1942.patch

Updated the last version to support custom CodecProvider as well as custom Codecs via plugin.
Currently this patch only supports specifying codecs for FieldTypes like this:
  <fieldType name="string_pulsing" class="solr.StrField" codec="Pulsing"/>
  <fieldType name="string_simpletext" class="solr.StrField" codec="SimpleText"/>
  <fieldType name="string_standard" class="solr.StrField" codec="Standard"/>

and in solrconfig.xml the provider and its codecs can be configured like this: (while the
class argument on codecProvider is optional)

    <codecProvider class="org.apache.solr.core.MockCodecProvider" defaultCodec="Pulsing">
    	<codec class="org.apache.lucene.index.codecs.simpletext.SimpleTextCodec"/>
    	<codec class="org.apache.lucene.index.codecs.preflex.PreFlexCodec"/>


> Ability to select codec per field
> ---------------------------------
>                 Key: SOLR-1942
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>    Affects Versions: 4.0
>            Reporter: Yonik Seeley
>            Assignee: Simon Willnauer
>             Fix For: 4.0
>         Attachments: SOLR-1942.patch, SOLR-1942.patch, SOLR-1942.patch
> We should use PerFieldCodecWrapper to allow users to select the codec per-field.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message