lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jaeger, Jay - DOT" <>
Subject RE: index not created
Date Wed, 14 Sep 2011 13:37:49 GMT
> changed the configuration to point it to my solr dir and started it again

You might look in your logs to see where Solr thinks the Solr home directory is and/or if
it complains about not being able to find it.  As a guess, it can't find it, perhaps because
solr.solr.home does not point to the right place.  As a result, the servlet can't actually
find the Solr code, and isn't really indexing anything at all.

For my tomcat install test, I put the following in startup.bat  (Windows, but the Linux startup
script would be similar).

set "JAVA_OPTS=-Dsolr.solr.home=C:/pro/apache-solr-3.3.0/example/solr"

(my JAVA_OPTS has a bunch of other stuff for security, waffle, etc., but this is the one that
would matter in your case).


-----Original Message-----
From: kumar8anuj [] 
Sent: Wednesday, September 14, 2011 4:21 AM
Subject: Re: index not created

Hi Erick,
            I have not done anything different. I downloaded the solr tar
from one of the mirror and then extracted it in the home directory started
jetty and it works fine.
       For tomcat I copied the war file in my webapps folder and restarted
tomcat changed the configuration to point it to my solr dir and started it
again. Same setup everything is same. Even this time i have tried it with
the example solr folder without multicore setup and in solrconfig.xml all
the lib paths are same which were for jetty. But still nothing is getting
indexed it shows that 1 document is there but text field doesn't show
anything in it and nothing comes when i search for something from the
    Am i doing something wrong ? Please let me know. I have to implement it
ASAP. Please help me or if you can give me document to implement the same in
tomcat then i would try that way .... 


View this message in context:
Sent from the Solr - User mailing list archive at

View raw message