What is the meaning of "Current" field in Apache Solr Admin UI in the core overview statistics? I can't seem to find anything about it in the relevant docs page. I am using version 7.4.
What is the meaning of "Current" field in Apache Solr Admin UI in the core overview statistics? I can't seem to find anything about it in the relevant docs page. I am using version 7.4.
"current" means that there is pending documents that haven't been committed yet. Issue a commit or optimize and the state should change.
From the Lucene docs:
Check whether any new changes have occurred to the index since this reader was opened.
If this reader was created by calling open(org.apache.lucene.store.Directory), then this method checks if any further commits (see IndexWriter.commit()) have occurred in the directory.
If instead this reader is a near real-time reader (ie, obtained by a call to open(IndexWriter), or by calling openIfChanged(org.apache.lucene.index.DirectoryReader) on a near real-time reader), then this method checks if either a new commit has occurred, or any new uncommitted changes have taken place via the writer. Note that even if the writer has only performed merging, this method will still return false.
In any event, if this returns false, you should call openIfChanged(org.apache.lucene.index.DirectoryReader) to get a new reader that sees the changes.