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] Trivial Update of "CommitWithin" by JanHoydahl
Date Mon, 12 Sep 2011 22:53:27 GMT
Dear Wiki user,

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

The "CommitWithin" page has been changed by JanHoydahl:
http://wiki.apache.org/solr/CommitWithin?action=diff&rev1=3&rev2=4

  You can specify a commitWithin parameter directly on the <add> tag, see [[http://wiki.apache.org/solr/UpdateXmlMessages#Optional_attributes_for_.22add.22|UpdateXmlMessages]]
for an example
  
  === SolrJ ===
- In SolrJ you may optionally give a commitWithin value on the add() call, e.g. server.add(mySolrInputDocument,
10000); <!> [[Solr3.4]]
+ In SolrJ you may optionally give a commitWithin value on the add() call, e.g. server.add(mySolrInputDocument,
10000); <!> [[Solr3.5]]
  
  In earlier versions you need to construct an AddUpdateCommand and then set the commitWithin
attribute on that - a little more work. Example:
  {{{

Mime
View raw message