can anyone suggest me some good tutorials on Lucene. I was reading Lucene in Action, but it seems to be a old edition of current lucene. Most of the methods are deprecated.
Where to start? I am googling around a bit.
Thanks,
Kapil
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s true that there has been changes, but they’re not as substantial as it might seem. The most radical change that I can think of is that the api for the IndexSearcher.search() method has changed, but it really isn’t that difficult to adapt your code to the new usage.
In general, the old methods are still there but are marked as deprecated. This is a good thing, because the reference manual specifies what you should use instead.
Lucene in Action is a great book. Take a look at the second edition recommended by KenE if possible, but otherwise I think you’ll get a long way using the first edition, the manual and some common sense. As I said, the changes are not as daunting as you could imagine.