On 8/21/07, Ard Schrijvers <[EMAIL PROTECTED]> wrote:

> ...<analyzers>
>         <analyzer name="fr" 
> value="org.apache.lucene.analysis.fr.FrenchAnalyzer"/>
>         <analyzer name="de" 
> value="org.apache.lucene.analysis.de.GermanAnalyzer"/>
> </analyzers>
>
> <index-rule nodeType="nt:unstructured">
>          <property analyzer="fr">bode_fr</property>
>        <property analyzer="de">bode_de</property>
> </index-rule>...

I prefer this variant, where you define reusable analyzers configurations.

This starts to look similar to what Solr does, maybe the Solr
schema.xml could give you some additional ideas? It is documented at
http://wiki.apache.org/solr/SchemaXml, and some tutorials and articles
are linked from http://wiki.apache.org/solr/SolrResources.

-Bertrand

Reply via email to