I’m beginner and I used Lucene to calculate precision in my program, but results arenot correct. I want to know if there is any way for tracing the code to know what exactly happen?
Share
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.
There are 2 ways in which you can do this. If you are using lucene stand alone, you could download the source for it and put it in Eclipse and run the project from eclipse and that way step through and debug it.
or
Download Lucene source and put it in an Eclipse project. Start tomcat in remote debug mode and attach eclipse to the running instance. That way you should be able to set break-points where ever you want. This is called JPDA.