noor wrote:
hi, i am new to apache solr.
i got the solr source code, and i created my own (custom) classes.
Also, i make the request reference to that newly created classes in solr-config.xml.

now i need to debug my code, when the solr search calls my class..
So, for this, i dont know how to debug my code....?

Please anybody help me to achieve this.

thanks and regards,
Noor


Make a file next to build.xml called build.properties.

Add to the empty file: example.debug=true

Run the ant target 'run-example' in build.xml.

Solr will run with the ability to connect with a remote debugger on port 5005.

In Netbeans, from the main menu, select Debug > Attach Debugger... (In NetBeans 6.1 and older select Run > Attach Debugger...).

Follow the dialogue box prompts to connect to the running Solr example.

--
- Mark

http://www.lucidimagination.com



Reply via email to