lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Khludnev (JIRA)" <>
Subject [jira] [Commented] (SOLR-3857) DIH: SqlEntityProcessor with "simple" cache broken
Date Thu, 20 Sep 2012 06:59:07 GMT


Mikhail Khludnev commented on SOLR-3857:


Could you explain what can be actually cached in N+1 scenario (where xid=${}) ? 
> DIH: SqlEntityProcessor with "simple" cache broken
> --------------------------------------------------
>                 Key: SOLR-3857
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 3.6.1, 4.0-BETA
>            Reporter: James Dyer
> The wiki describes a usage of CachedSqlEntityProcessor like this:
> {code:xml}
> <entity name="y" query="select * from y where xid=${}" processor="CachedSqlEntityProcessor">
> {code}
> This creates what the code refers as a "simple" cache.  Rather than build the entire
cache up-front, the cache is built on-the-go.  I think this has limited use cases but it would
be nice to preserve the feature if possible.
> Unfortunately this was not included in any (effective) unit tests, and SOLR-2382 entirely
broke the functionality for 3.6/4.0-alpha+ .  At a first glance, the fix may not be entirely
> This was found while writing tests for SOLR-3856.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message