Has the GermanAnalyzer behavior changed at all? This is another kind
of mismatch, and it can cause very subtle problems.  If text is
indexed and queried using different Analyzers, queries will not do
what you think they should.

On Sat, Jan 14, 2012 at 1:38 PM, Robert Muir <rcm...@gmail.com> wrote:
> On Sat, Jan 14, 2012 at 12:58 PM,  <spr...@gmx.eu> wrote:
>> Hi,
>>
>> I'm switching from Lucene 2.3 to Solr 3.5. I want to reuse the existing
>> indexes (huge...).
>
> If you want to use a Lucene 2.3 index, then you should set this in
> your solrconfig.xml:
>
> <luceneMatchVersion>LUCENE_23</luceneMatchVersion>
>
>>
>> In Lucene I use an untweaked org.apache.lucene.analysis.de.GermanAnalyzer.
>>
>> What is an equivalent fieldType definition in Solr 3.5?
>
>    <fieldType name="text_foo" class="solr.TextField">
>      <analyzer class="org.apache.lucene.analysis.de.GermanAnalyzer"/>
>    </fieldType>
>
> --
> lucidimagination.com



-- 
Lance Norskog
goks...@gmail.com

Reply via email to