: I am trying to check if there are any documents in Solr but they are
: not visible yet.
...
: But if there was a hard commit with openSearcher=false (as per example
: configuration), then that number resets to 0 on commit.
:
: Is there a different property somewhere showing what's not yet visible
: even if it were committed on Lucene level?
once the segment is committe & written to desk, w/o a reopen on the
searcher, there isn't any object in Solr/Lucene keeping a record of hte
number of docs in that segment - something would need to open that segment
to know that.
This is why code like ReplicationHandler's 'command=details' option exists
- in addition to reporting back the indexVersion (of the currently open
Searcher, also available in other places) command=details will also go get
a list of all the commits still on disk.
this is how/why the Replication Screen can tell you when the "Searchable"
index version is older then the "Replicatable" index version.
-Hoss
http://www.lucidworks.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]