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 Fri, 09 Sep 2011 09:38:40 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=2&rev2=3

  }}}
  
  === Update Request parameter ===
- All UpdateRequestHandlers support the commitWithin request parameter as of <!> [[Solr3.4]].
This means that you may tell Solr to use a commitWithin value for the whole request. This
is handy especially for [[CSVUpdateRequestHandler]] or ExtractingRequestHandler, which has
no other way of conveying that information. An example using curl to push a PDF document,
saying it should be committed within 10s:
+ All UpdateRequestHandlers support the commitWithin request parameter as of <!> [[Solr3.4]].
This means that you may tell Solr to use a commitWithin value for the whole request. This
is handy especially for [[UpdateCSV|CSVUpdateRequestHandler]] or ExtractingRequestHandler,
which has no other way of conveying that information. An example using curl to push a PDF
document, saying it should be committed within 10s:
  {{{
  curl http://localhost:8983/solr/update/extract?literal.id=123&commitWithin=10000
         -H "Content-Type: application/pdf" --data-binary @file.pdf

Mime
View raw message