lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Blargy <zman...@hotmail.com>
Subject DIH multiple queries per sub-entity?
Date Tue, 06 Apr 2010 17:58:24 GMT

I am going through some of my DIH verbose output and I noticed that for each
sub entity it appear to be query the DB multiple times and it keeps
increasing at a linear fashion!

For example:

<lst name="document#1">
   .....
   <lst name="entity:item_category">
   <str name="query">
       select * from item_categories where item_id=1
   </str>
   ...
   </lst>
</lst>
<lst name="document#2">
   .....
   <lst name="entity:item_category">
   <str name="query">
       select * from item_categories where item_id=2
   </str>
   <str name="query">
       select * from item_categories where item_id=2
   </str>
    ...
   </lst>
</lst>

Notice how document#2 has to queries for item_category. Document#3 has 3...
Document #1000 has 1000 queries. Is this normal? Is this just how the output
is displayed?
-- 
View this message in context: http://n3.nabble.com/DIH-multiple-queries-per-sub-entity-tp701038p701038.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message