On Saturday 13 October 2007 07:57, Christian Aschoff wrote:
> 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?
See PerFieldAnalyzerWrapper.
Regards
Daniel
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
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
--
htt