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 2012/06/22 12:10:57 UTC
[Solr Wiki] Trivial Update of "CommitWithin" by JanHoydahl
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=4&rev2=5
=== 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 [[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
+ curl "http://localhost:8983/solr/update/extract?literal.id=123&commitWithin=10000"
-H "Content-Type: application/pdf" --data-binary @file.pdf
}}}