There are two parts of solr application. Solr.war is only the web app.
Then there is the example-solr which you need to download and unpack in a 
different folder. There are 3 ways to make the example-solr visible to the solr 
webapp. 

Refer to these pages : http://wiki.apache.org/solr/SolrInstall
                                And
                                http://wiki.apache.org/solr/SolrTomcat (mainly 
the Configuring Solr Home with JNDI section)

Hope it helps.

Regards
Kishore.

-----Original Message-----
From: Mihails Agafonovs [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 11, 2008 1:33 PM
To: solr-user@lucene.apache.org
Subject: RE: DataImport

I've already done that, but cannot access solr via web, and apache log
says something wrong with solr home directory.
-----
Couldn't start SOLR. Check solr/home property.
-----
 Quoting "Chakraborty, Kishore K." : Mihails,
 Put the solr.war into the webapps directory and restart tomcat, then
follow up the console and you'll see messages saying solr.war is
getting deployed.
 Use a recent nightly build as that has the dataimport related patch
included.
 Regards
 Kishore.
 -----Original Message-----
 From: Mihails Agafonovs [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, June 11, 2008 1:13 PM
 To: solr-user@lucene.apache.org
 Subject: Re: DataImport
 If I've copied the solr.war under tomcat/webapps directory, after
 restarting it the archive extracts itself and I get solr directory.
 Why do I need to set example-solr-home/solr, which is not in the
 /webapps directory, as home directory?
 Quoting Shalin Shekhar Mangar : No, the steps are as follows:
 1. Download the example-solr-home.jar from the DataImportHandler
 wiki page
 2. Extract it. You'll find a folder named "example-solr-home" and a
 solr.war
 file after extraction
 3. Copy the solr.war to tomcat_home/webapps. You don't need any
 other solr
 instance. This war is self-sufficient.
 4. You need to set the example-solr-home/solr folder as the solr
 home
 folder. For instructions on how to do that, look at
 http://wiki.apache.org/solr/SolrTomcat
 From the port number of the URL you are trying, it seems that you're
 using
 the Jetty supplied with Solr instead of Tomcat.
 2008/6/9 Mihails Agafonovs :
 > I've placed the solr.war under the tomcat directory, restarted
 tomcat
 > to deploy the solr.war. But still... there is no .jar, no folder
 named
 > "example-data-config", and hitting
 > http://localhost:8983/solr/dataimport doesn't work.
 > Do I need the original Solr instance to use this .war with?
 >  Quoting Shalin Shekhar Mangar : 1. Correct, there is no jar. You
 can
 > use the solr.war file. If you really
 >  need a jar, you'll need to use the SOLR-469.patch at
 >  http://issues.apache.org/jira/browse/SOLR-469 and build solr from
 > source
 >  after applying that patch.
 >  2. The jar contains a folder named "example-solr-home". Please
 check
 > again.
 >  Please let me know if you run into any problems.
 >  2008/6/9 Mihails Agafonovs :
 >  > Looked through the tutorial on data import, section "Full
 Import
 >  > Example".
 >  > 1) Where is this dataimport.jar? There is no such file in the
 >  > extracted example-solr-home.jar.
 >  > 2) "Use the solr folder inside example-data-config folder as
 your
 >  > solr home." What does this mean? Anyway, there is no folder
 >  > example-data-config.
 >  >  Ar cieņu, Mihails
 >  --
 >  Regards,
 >  Shalin Shekhar Mangar.
 >  Ar cieņu, Mihails
 >
 > Links:
 > ------
 > [1] mailto:[EMAIL PROTECTED]
 >
 -- 
 Regards,
 Shalin Shekhar Mangar.
 Ar cieņu, Mihails
 Links:
 ------
 [1] mailto:[EMAIL PROTECTED]
 Ar cieņu, Mihails

Links:
------
[1] mailto:[EMAIL PROTECTED]

Reply via email to