I'm a newbie to solr.
Here is my problem:
When I search 天天爱消除
,my tokenizer will split it to: 天天
& 爱
& 消除
.
I use disMax
mode, and the query goes like this:
http://search.dev/solr/collection1/select?q=%E7%88%B1%E6%B6%88%E9%99%A4&defType=dismax&qf=name&wt=json&indent=true&omitHeader=true&rows=500&hl=true&hl.fl=name&hl.simple.pre=<em>&hl.simple.post=<%2Fem>&sort=score+desc
This would match results like this: 我爱记单词
& 我爱读书
. For me, the relevances of them are to low, so I don't want to show them in the results.
In conclusion, I want to ditch the results that match one term and the term length is 1;
Hope to get some help. Thanks.
update:
Need I to set a custom Collector?