开发者

Beginners Lucene tutorial [closed]

开发者 https://www.devze.com 2023-01-25 15:27 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 9 years ago.

Improve this question

I've never done anything in Java before but I'd like to use开发者_JAVA技巧 Lucene for the search on a site.

I'm having trouble find a good step by step tutorial for a complete beginner at this.

Can anyone recommend a good tutorial?

Thanks


Along with user428747 answer, you can also read this article.

As well as this one (which is kind of old compared to the first one).

On a side note, if you want to use Lucene, did you consider using Solr? It uses the lucene search library and extends it as you can read here.


The classics: Lucene in Action


this website might help you a bit..

http://www.lucenetutorial.com/lucene-in-5-minutes.html


This is not a direct reply to your question on Lucene tutorials (For that, my answer is same as some of the other posters: Bob Carpenter's Lucene in 60 seconds tutorial on the Lingpipe blog).

If you don't want to learn Java just for Lucene, any full-text search database (Postgres/Mysql/etc) should solve your purpose. In particular Sphinx is recommended.

This decision particularly relevant if you need your search app to have high performance / scalability (since you will be learning two things - Java and Lucene). Unless you have an in-house java expert, it is better to fight one war than two at the same time.


maybe apache solr is better for you: http://lucene.apache.org/solr/


If you're using Zend, why aren't you using Zend's PHP port of lucene? See here for a tutorial on it.

0

精彩评论

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

关注公众号