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 "DataImportHandler" by FergusMcMenemie
Date Wed, 12 Aug 2009 08:15:05 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/DataImportHandler

The comment on the change is:
fiddling around with the English

------------------------------------------------------------------------------
   * '''`user`''' : User name
   * '''`password`''' : The password
   * '''`batchSize`''' : The batchsize used in jdbc connection
-  * '''`convertType`''' :(true/false)Default is 'false' Automatically reads the data in the
target Solr data-type 
+  * '''`convertType`''' :(true/false)Default is 'false' Automatically reads the data in the
target Solr data-type
   * '''`autoCommit`''' : If set to 'false' it sets  `setAutoCommit(false)` <!> ["Solr1.4"]
   * '''`readOnly`''' : If this is set to 'true' , it sets `setReadOnly(true)`, `setAutoCommit(true)`,
`setTransactionIsolation(TRANSACTION_READ_UNCOMMITTED)`,`setHoldability(CLOSE_CURSORS_AT_COMMIT)`
on the connection <!> ["Solr1.4"]
   * '''`transactionIsolation`''' : The possible values are [TRANSACTION_READ_UNCOMMITTED,
TRANSACTION_READ_COMMITTED, TRANSACTION_REPEATABLE_READ,TRANSACTION_SERIALIZABLE,TRANSACTION_NONE]
<!> ["Solr1.4"]
@@ -919, +919 @@

  
  == Special Commands ==
  Special commands can be given to DIH by adding certain variables to the row returned by
any of the components .
-  * '''`$skipDoc`''' : Skip the current document . Do not add it to Solr. The value can be
String true/false  
+  * '''`$skipDoc`''' : Skip the current document . Do not add it to Solr. The value can be
String true/false
   * '''`$skipRow`''' : Skip the current row. The document will be added with rows from other
entities. The value can be String true/false
   * '''`$docBoost`''' : Boost the current doc. The value can be a number or the toString
of a number
   * '''`$deleteDocById`''' : Delete a doc from Solr with this id. The value hast to be the
unniqueKey value of the document <!> ["Solr1.4"]
@@ -1010, +1010 @@

  }}}
  
  === Accessing request parameters ===
- The parameters passed over the http request can be accessed  using the 'request' namespace
eg: `'${dataimporter.request.command}'` will return the command that was run. Any extra parameter
can be accessed using this
+ All http request parameters sent to SOLR when using the dataimporter can be accessed using
the 'request' namespace eg: `'${dataimporter.request.command}'` will return the command that
was run.
+ 
  [[Anchor(interactive)]]
  = Interactive Development Mode =
  This is a new cool and powerful feature in the tool. It helps you build a dataconfig.xml
with the UI. It can be accessed from http://host:port/solr/admin/dataimport.jsp . The features
are

Mime
View raw message