lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stockii <>
Subject DIH - cacheImpl="SortedMapBackedCache" - empty rows from sub entity
Date Thu, 02 Oct 2014 14:19:09 GMT

i am fighting with cacheImpl="SortedMapBackedCache".

I want to refactor my ugly entities and so i try out sub-entities with
My Problem is that my cached subquery do not return any values from the
select. but why?

thats my entity 
<entity name="en1" pk="id" transformer="DateFormatTransformer" 
  query="SELECT id, product FROM table WHERE product = 'abc'">
<entity name="en2" pk="id" transformer="DateFormatTransformer"
		query=" SELECT id, code FROM table2" 
		where="id = '${}'"/>

this is very fast an clear and nice... but it does not work. all from table2
is not coming to my index =(
BUT if i remove the line with "cacheImpl="SortedMapBackedCache" all data is
present, but every row is selecte each by each.
i thought that this construct, hopefully replace my ugly big join-query in a
single entity!?

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message