Thanks! It seems that I really go the wrong direction.

----- Original Message ----- From: "Ahmet Arslan" <iori...@yahoo.com>
To: <solr-user@lucene.apache.org>
Sent: Tuesday, August 24, 2010 4:21 PM
Subject: Re: Doing Shingle but also keep special single word


The request is from our business
team, they wish user of our product can
type in partial string of a word that exists in title or
body field. But now
I also doubt if this request is really necessary?

"partial string of a word"? I think there is misunderstanding here. SingleFilter operates token level.

please divide this text => "please divide", "divide this", "this text"

If you want partial string of a single word, then EdgeNGramFilter and NGramFilter is used for that purpose.






--------------------------------------------------------------------------------



¥¼¦b¶Ç¤J°T®§¤¤§ä¨ì¯f¬r¡C
Checked by AVG - www.avg.com
Version: 9.0.851 / Virus Database: 271.1.1/3090 - Release Date: 08/24/10 02:34:00

Reply via email to