Hello,

In the solrconfig.xml file, there is a property:

  <!-- Used to specify an alternate directory to hold all index data
       other than the default ./data under the Solr home.
       If replication is in use, this should match the replication
configuration. -->

        <dataDir>${solr.data.dir:./solr/data}</dataDir>

Try setting something else in here and see what happens...I'm not sure how
solr works with Ubuntu, but it's worth a shot...


Tim Haughton wrote:
> 
> OK, I spoke too soon.
> 
> When you tried it on your Mac, did it create the index in the right place?
> Mine is still trying to create it under the webapps directory.
> 
> Cheers,
> 
> Tim
> 
> 2009/5/28 Tim Haughton <timhaugh...@gmail.com>
> 
>> 2009/5/28 Koji Sekiguchi <k...@r.email.ne.jp>
>>
>>>
>>> Ok.
>>> I've just tried it (the way you quoted above) on my Mac and worked
>>> fine...
>>> Do you see any errors on Tomcat log when starting?
>>>
>>
>> Sussed it. As you would imagine it was the stupidest of things. And
>> probably the *one* thing left out of my description. My solr.xml file had
>> an
>> illegal character at the top of the file. I hadn't noticed it until the
>> error logs pushed me in the right direction. Thanks for the pointer.
>>
>> Cheers,
>>
>> Tim
>>
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problems-getting-up-and-running.-tp23758840p23761217.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to