lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "UpdateXmlMessages" by Mark Miller
Date Sun, 04 Sep 2011 14:47:24 GMT
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 ===

Mime
View raw message