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 JamesDyer
Date Mon, 11 Jul 2011 16:22:46 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 JamesDyer:

Added advertisement for SOLR-2382:  DIH Cache improvements

  The difference with the previous one is the 'where' attribute. In this case the query fetches
all the rows from the table and stores all the rows in the cache. The magic is in the 'where'
value. The cache stores the values with the 'xid' value in 'y' as the key. The value for ''
is evaluated every time the entity has to be run and the value is looked up in the cache an
the rows are returned.
  In the where the lhs (the part before '=') is the column in y and the rhs (the part after
'=') is the value to be computed for looking up the cache.
+ For more caching options with DIH see [[|]].
 These additional options include:  using caches with non-sql entities, pluggable cache implementations,
persistent caches, writing DIH output to a cache rather than directly to solr, using a previously-created
cache as a DIH entity's input & delta updates on cached data.
  === PlainTextEntityProcessor ===

View raw message