开发者

Lucene search (How to query?)

I am trying to use Lucene full text search. And I cannot understand how to index/search using word forms. First of all I do not wanna to write all by my self. If I use StandardAnalyzer with QueryParser I can 开发者_如何学Pythonfind the text like:

some testing text

by queries like "test~", "testing", but it is not works if I try to find it by query like "tested".

So please tell me how to make it right;)))

Thank you for any advice!!!


Make sure you use luke for testing queries etc: http://www.getopt.org/luke/

It will rewrite and decomponse your query so you can debug the situation.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜