solr 几个有用的过滤器
http://lucene.apache.org/solr/tutorial.htmlText Analysis
Example queries demonstrating relevancy improving transformations:
* A search for power-shot matches PowerShot, and adata matches A-DATA due to the use of WordDelimiterFilter and LowerCaseFilter.
可以通过WordDelimiterFilter去除字符间的分割符
LowerCaseFilter 取消大小写区分。这2个filter对中文搜索没什么大的意义。
* A search for name:printers matches Printer, and features:recharging matches Rechargeable due to stemming with the EnglishPorterFilter.
EnglishPorterFilter 英文单词近似。中文没用。
* A search for "1 gigabyte" matches things with GB, and pixima matches Pixma due to use of a SynonymFilter.
同义词管理,这个对中文搜索还是有意义的。
页:
[1]