lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Aschoff <christian.asch...@uni-ulm.de>
Subject Re: Problems with stemming/SpellChecker
Date Sat, 13 Oct 2007 05:57:54 GMT
But as fare as i see (in the API DOC), the GermanAnalyzer is attached  
to the IndexWriter, i can't find an way to attach an analyzer it to a  
single field... Or do i miss something? (There are tons of other  
fields in the index where GermanAnalyzer fits perfect).

Am 12.10.2007 um 19:01 schrieb Daniel Naber:

> On Friday 12 October 2007 15:48, Christian Aschoff wrote:
>
>>  indexWriter = new IndexWriter(MiscConstants.luceneDir,
>> new GermanAnalyzer(), create);
>> [...]
>
> Not NO_NORMS is the problem but GermanAnalyzer. Try  
> StandardAnalyzer on the
> field you get the suggestions from.
>
> Regards
>  Daniel
>
> -- 
> http://www.danielnaber.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

---
Dipl. Ing. (FH) Christian Aschoff

Büro:
Universität Ulm
Kommunikations- und Informationszentrum
Abt. Informationssysteme
Raum O26/5403
Albert-Einstein-Allee 11
89081 Ulm

Tel. 0731 50-22432
Fax. 0731 50-22471
christian.aschoff@uni-ulm.de

Privat:
Fabristr. 13
89075 Ulm
Deutschland/Old Europe

Tel. 0731 602 803 60
Fax. 0731 602 803 61
Mob. 0171 272 03 04
caschoff@mac.com

Helfen Sie mit: www.meyers-konversationslexikon.de



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message