You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2011/09/04 16:47:24 UTC

[Solr Wiki] Update of "UpdateXmlMessages" by Mark Miller

Dear Wiki user,

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

The "UpdateXmlMessages" page has been changed by Mark Miller:
http://wiki.apache.org/solr/UpdateXmlMessages?action=diff&rev1=31&rev2=32

Comment:
add softCommit param doc

  
     * `waitFlush = "true" | "false"`  &#8212; default is true   &#8212;  block until index changes are flushed to disk <!> [[Solr1.4]] At least in Solr 1.4 and later (perhaps earlier as well), this command has no affect. In <!> [[Solr4.0]] it will be removed.
     * `waitSearcher = "true" | "false"`   &#8212;  default is true  &#8212;  block until a new searcher is opened and registered as the main query searcher, making the changes visible.
- 
+    * `softCommit = "true" | "false"`  &#8212; default is false   &#8212;  perform a soft commit - this will refresh the 'view' of the index in a more performant manner, but without "on-disk" guarantees. Generally you want to softCommit often and hard commit (softCommit=false) less often.  <!> [[Solr4.0]]
  ==== Optional attributes for "commit" ====
  
     * `expungeDeletes = "true" | "false"`   &#8212;  default is false  &#8212;  merge segments with deletes away. <!> [[Solr1.4]]
@@ -81, +81 @@

  
  Example of "commit" and "optimize" with optional attributes:
     {{{
- <commit waitFlush="false" waitSearcher="false"/>
+ <commit waitSearcher="false"/>
- <commit waitFlush="false" waitSearcher="false" expungeDeletes="true"/>
+ <commit waitSearcher="false" expungeDeletes="true"/>
- <optimize waitFlush="false" waitSearcher="false"/>
+ <optimize waitSearcher="false"/>
  }}}
  
  === Passing commit parameters as part of the URL ===