The question is pretty opaque. What do you mean by "data" as opposed to "indexes"? Are you talking about where Lucene puts stored="true" fields? If not, what do you mean by "data"?
If you are talking about where Lucene puts the stored="true" bits the no, there's no way to segregate that our from the other files that make up a segment. Best, Erick On Mon, Nov 14, 2016 at 7:58 AM, Prateek Jain J <prateek.j.j...@ericsson.com> wrote: > > Hi Alex, > > I am unable to get it correctly. Is it possible to store indexes and data > separately? > > > Regards, > Prateek Jain > > -----Original Message----- > From: Alexandre Rafalovitch [mailto:arafa...@gmail.com] > Sent: 14 November 2016 03:53 PM > To: solr-user <solr-user@lucene.apache.org> > Subject: Re: index and data directories > > solr.xml also has a bunch of properties under the core tag: > > <cores adminPath="/admin/cores"> > <core name="core0" instanceDir="core0"> > <property name="dataDir" value="/data/core0"/></core> > <core name="core1" instanceDir="core1"/> > </cores> > > You can get the Reference Guide for your specific version here: > http://archive.apache.org/dist/lucene/solr/ref-guide/ > > Regards, > Alex. > ---- > Solr Example reading group is starting November 2016, join us at > http://j.mp/SolrERG Newsletter and resources for Solr beginners and > intermediates: > http://www.solr-start.com/ > > > On 15 November 2016 at 02:37, Prateek Jain J <prateek.j.j...@ericsson.com> > wrote: >> >> Hi All, >> >> We are using solr 4.8.1 and would like to know if it is possible to >> store data and indexes in separate directories? I know following tag >> exist in solrconfig.xml file >> >> <!-- Data Directory 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>C:/del-it/solr/cm_events_nbi/data</dataDir> >> >> >> >> Regards, >> Prateek Jain