Solr does not directly read you xml files. It maintains a Lucene index
in the ${DATA_DIR}/index directory.

So you do not have to change it. After you make your xml files post
them to solr to get it indexed

On Thu, Oct 23, 2008 at 6:23 PM, Laxmilal Menaria <[EMAIL PROTECTED]> wrote:
> I have read but their are no information about index folder path. I have
> checked the code and got there are hardcoded the data path with index folder
> in SolrCore.java.
>
>  public String getIndexDir() {
>    return dataDir + "index/";
>  }
>
> So I need only this:
> public String getIndexDir() {
>    return dataDir;
>  }
>
>
> On Thu, Oct 23, 2008 at 4:54 PM, Noble Paul നോബിള്‍ नोब्ळ् <
> [EMAIL PROTECTED]> wrote:
>
>> please go through this url once
>>
>> http://lucene.apache.org/solr/tutorial.html
>>
>> --Noble
>>
>>
>>
>> On Thu, Oct 23, 2008 at 2:37 PM, Laxmilal Menaria <[EMAIL PROTECTED]>
>> wrote:
>> > Hello,
>> >
>> > I have created index of my xml files, these all index files are located
>> in
>> > data/index folder. Now  I have update the dataDir in  SolrConfig.xml to
>> > data only, but I want to specify  data/index, so how can I do that, I
>> have
>> > multiple data folders and want to separate it,
>> > index1, index2...
>> >
>> > --
>> > Thanks,
>> > Laxmilal menaria
>> >
>> > http://www.bucketexplorer.com/
>> > http://www.sdbexplorer.com/
>> > http://www.chambal.com/
>> > http://www.minalyzer.com/
>> >
>>
>>
>>
>> --
>> --Noble Paul
>>
>
>
>
> --
> Thanks,
> Laxmilal menaria
>
> http://www.bucketexplorer.com/
> http://www.sdbexplorer.com/
> http://www.chambal.com/
> http://www.minalyzer.com/
>



-- 
--Noble Paul

Reply via email to