lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Solr Wiki] Update of "DataImportHandler" by VjacheslavIgnatyev
Date Tue, 25 Dec 2012 17:23:49 GMT
Dear Wiki user,

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

The "DataImportHandler" page has been changed by VjacheslavIgnatyev:

      public String evaluate(String expression, Context context) {
        List<Object> l = parseParams(expression, context.getVariableResolver());
        if (l.size() != 1) {
-           throw new RuntimeException("'toLowerCase' must have only one parameter ");
+           throw new RuntimeExme ception("'toLowerCase' must have only one parameter ");
        return l.get(0).toString().toLowerCase(Locale.ROOT);
+ Few [[|functions]]
'''decode''', '''load''', '''run''' which can help with complex SQL statements. 
  === Accessing request parameters ===
  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.

View raw message