how is the replicationhandler configured? if there was no commit/optimize thhen it would show the version as '0'
On Thu, Aug 6, 2009 at 5:50 AM, solr jay<[email protected]> wrote: > Hi, > > http://localhost:8549/solr/replication?command=enablereplication > > does not seem working. After making the request, I run > > http://localhost:8549/solr/replication?command=indexversion > > and here is the response: > > > <response> > <lst name="responseHeader"> > <int name="status">0</int> > <int name="QTime">0</int> > </lst> > <long name="indexversion">0</long> > <long name="generation">0</long> > </response> > > > Notice the indexversion is 0, which is the value after you disable > replication. On the other hand > > http://localhost:8549/solr/replication?command=details > > returns: > > > <response> > > <lst name="responseHeader"> > <int name="status">0</int> > <int name="QTime">7</int> > </lst> > > <lst name="details"> > <str name="indexSize">692 bytes</str> > > <str name="indexPath"> > /tmp/solr/solrdata/index > </str> > <arr name="commits"/> > <str name="isMaster">true</str> > <str name="isSlave">false</str> > <long name="indexVersion">1249517184279</long> > <long name="generation">2</long> > > <lst name="master"> > <str name="replicateAfter">commit</str> > </lst> > </lst> > > <str name="WARNING"> > This response format is experimental. It is likely to change in the future. > </str> > </response> > > > Notice that the indexversion is 1249517184279. > > thanks, > > -- > J > -- ----------------------------------------------------- Noble Paul | Principal Engineer| AOL | http://aol.com
