开发者

Lucene Query and Analyzer combination

I have a quick question. Say, I've got a string "this string has some text in it". I want lucene to be able to find it using following searches:

"string has"
"has开发者_Go百科 this"
"text this"

Which combination of Analyzer and Query should I use for that? Lucene 3.0.3.


  1. You probably want to use solr instead of lucene, since it will not require you to know things like this
  2. The standard analyzer and query parser will work.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜