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 "ContentStream" by FergusMcMenemie
Date Mon, 15 Jun 2009 11:36:06 GMT
Dear Wiki user,

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

The following page has been changed by FergusMcMenemie:
http://wiki.apache.org/solr/ContentStream

The comment on the change is:
improving grammar plus some typos

------------------------------------------------------------------------------
  
  == Overview ==
  
- When !SolrRequestHandlers are accessed using path based URLs the [http://lucene.apache.org/solr/api/org/apache/solr/request/SolrQueryRequest.html
SolrQueryRequest] object may that contains the parameters or the request may also contain
a list of !ContentStreams containing bulk data for the request.
+ When !SolrRequestHandlers are accessed using path based URLs the [http://lucene.apache.org/solr/api/org/apache/solr/request/SolrQueryRequest.html
SolrQueryRequest] object containing the parameters of the request may also contain a list
of !ContentStreams containing bulk data for the request.
  
  (The name !SolrQueryRequest is a bit misleading: it is involved in all requests, regardless
of whether it is a query request or an update request.)
  
@@ -20, +20 @@

  
  If the contentType is "application/x-www-form-urlencoded" the full POST body is parsed as
parameters and inlcuded in the  [http://svn.apache.org/repos/asf/lucene/solr/trunk/src/java/org/apache/solr/request/SolrParams.java
SolrParams].
  
- By default, curl sends contentType="application/x-www-form-urlencoded".  If you need to
test a SolrRequestHandler content stream, you wil need to set the content type with the "-H"
flag.  For example:  
+ By default, curl sends a contentType="application/x-www-form-urlencoded" header.  If you
need to test a SolrRequestHandler content stream, you will need to set the content type with
the "-H" flag.  For example:
  
  {{{
-  curl $URL -H 'Content-type:text/xml; charset=utf-8' --data-binary @$f  
+  curl $URL -H 'Content-type:text/xml; charset=utf-8' --data-binary @$f
  }}}
  
  == RemoteStreaming ==
  
- Remote streaming allows you to send the contents of a URL as a stream to a given !SolrRequestHandler.
 This could be used to send a remote or local file to an update plugin.  For security reasons,
remote streaming is disabled in the example solrconfig.xml.  If you enable streaming, be aware
that this allows anyone to send a request to any URL or local file.  If dump is enabled, it
will essentially let anyone to view any file on your system.  
+ Remote streaming allows you to send the contents of a URL as a stream to a given !SolrRequestHandler.
 This could be used to send a remote or local file to an update plugin.  For security reasons,
remote streaming is disabled in the example solrconfig.xml.  If you enable streaming, be aware
that this allows anyone to send a request to any URL or local file.  If dump is enabled, it
will essentially let anyone to view any file on your system.
  
  {{{
    <!--Make sure your system has authentication before enabling remote streaming!-->

Mime
View raw message