Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change 
notification.

The following page has been changed by HossMan:
http://wiki.apache.org/solr/FAQ

The comment on the change is:
"delete all?"

------------------------------------------------------------------------------
  == I POSTed some documents, why don't they show up when I search? ==
  
  Documents that have been added to the index don't show up in search results 
until a <commit/> message has been POSTed as well. This allows you to POST many 
documents in succession and know that none of them will be visible to search 
clients until you have finished. (Note however, that in some circumstances 
users ''may'' see your changes even though you haven't POSTed a <commit/>. For 
instance, when Solr is restarted, some or even all of the docs added since the 
last <commit/> may now show up in search results.)
+ 
+ == How can I delete all documents from my index? ==
+ 
+ Use the "match all docs" query in a delete by query command: 
{{{<delete><query>*:*</query></delete>}}}
+ 
+ This has been optimized to be more efficient then deleting by some arbitrary 
query which matches all docs because of the nature of the data.
  
  == How can I rebuild my index from scratch if I change my schema? ==
  

Reply via email to