You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Aditya Sakhuja <ad...@gmail.com> on 2013/09/06 02:48:48 UTC
data/index naming format
Hello,
I am running solr 4.1 for now, and am confused about the structure and
naming of the contents of the data dir. I do not see the index.properties
being generated on a fresh solr node start either.
Can someone clarify when should one expect to see
data/index vs. data/index.<timestamp>, and the index.properties along with
the second version.
--
Regards,
-Aditya Sakhuja
Re: data/index naming format
Posted by Jason Hellman <jh...@innoventsolutions.com>.
The circumstance I've most typically seen the index.<timestamp> show up is when an update is sent to a slave server. The replication then appears to preserve the updated slave index in a separate folder while still respecting the correct data from the master.
On Sep 5, 2013, at 8:03 PM, Shawn Heisey <so...@elyograg.org> wrote:
> On 9/5/2013 6:48 PM, Aditya Sakhuja wrote:
>> I am running solr 4.1 for now, and am confused about the structure and
>> naming of the contents of the data dir. I do not see the index.properties
>> being generated on a fresh solr node start either.
>>
>> Can someone clarify when should one expect to see
>>
>> data/index vs. data/index.<timestamp>, and the index.properties along with
>> the second version.
>
> I have never seen an index.properties file get created. I've used
> versions from 1.4.0 through 4.4.0.
>
> Generally when you have an index.<timestamp> directory, it's because
> you're doing replication. There may be other circumstances when it
> appears, but I do not know what those are.
>
> As for the other files in the index directory, here's Lucene's file
> format documentation:
>
> http://lucene.apache.org/core/4_4_0/core/org/apache/lucene/codecs/lucene42/package-summary.html#package_description
>
> Thanks,
> Shawn
>
Re: data/index naming format
Posted by Shawn Heisey <so...@elyograg.org>.
On 9/5/2013 6:48 PM, Aditya Sakhuja wrote:
> I am running solr 4.1 for now, and am confused about the structure and
> naming of the contents of the data dir. I do not see the index.properties
> being generated on a fresh solr node start either.
>
> Can someone clarify when should one expect to see
>
> data/index vs. data/index.<timestamp>, and the index.properties along with
> the second version.
I have never seen an index.properties file get created. I've used
versions from 1.4.0 through 4.4.0.
Generally when you have an index.<timestamp> directory, it's because
you're doing replication. There may be other circumstances when it
appears, but I do not know what those are.
As for the other files in the index directory, here's Lucene's file
format documentation:
http://lucene.apache.org/core/4_4_0/core/org/apache/lucene/codecs/lucene42/package-summary.html#package_description
Thanks,
Shawn