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 JamesDyer
Date Mon, 11 Jul 2011 16:24:21 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:
http://wiki.apache.org/solr/DataImportHandler?action=diff&rev1=284&rev2=285

  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 'x.id'
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 [[https://issues.apache.org/jira/browse/SOLR-2382|https://issues.apache.org/jira/browse/SOLR-2382]].
 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 ===
  <<Anchor(plaintext)>>
  <!> [[Solr1.4]]

Mime
View raw message