lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <>
Subject Re: NGramFilterFactory for auto-complete that matches the middle of multi-lingual tags?
Date Mon, 04 Oct 2010 12:09:00 GMT
> I agree with the issues with NGramFilterFactory you pointed
> out and I really want to avoid using it. But the problem is
> that I have Chinese tags like "电吉他" and multi-lingual
> tags like "electric吉他".

I got your point. You want to retrieve "electric吉他" with the query 吉他. That's why
you don't want EdgeNGram.
If this is the only reason for NGram, I think you can transform "electric吉他" into two
tokens "electric" "吉他" in TokenFilter(s) and apply EdgeNGram approach.


View raw message