Unless you cross a Solr server commit threshold your client has to post a <commit/> message for the server content to be available for searching. Unfortunatly the Solr tool that is supposed to do this apparently doesn't. I asked for community help last week and was surprised to receive no response, I thought having to leave a Solr import process in an incomplete state would be more of a concern. In any case, our (hopefully temporary) solution was to hack the source code for the SimplePostTool demo code to turn it into a CommitTool. Once Solr receives the <commit/> post you will be able to search for your recently added documents.
-----Original Message----- From: Ionut Manta [mailto:ionut.ma...@gmail.com] Sent: Tuesday, May 31, 2011 7:41 AM To: solr-user@lucene.apache.org Subject: Solr NRT Hi, I have the following strange use case: Index 100 documents and make them immediately available for search. I call this "on the fly indexing". Then the index can be removed. So the size of the index is not an issue here. Is this possible with Solr? Anyone tried something similar? Thank you, Ionut This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the originator of the message. This footer also confirms that this e-mail message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Iowa Student Loan.