Hi,

I've added in my request, another entity "select video... from video where
video_id between 10000 and  200000"
And when I start a full import I've an error on this request which is
another entity :
SELECT group_id AS rel_group_ids FROM group_has_video   WHERE video_id=10000
AND pending='n' 

In deed there is not this video_id : 10000  in my table rel_group_ids, but I
shouldn't have an error.

Then if I change my first entity by "select video... from video where
video_id between 10003 and  200000"
10003 is a video which is present in my table rel_group_ids, I've no error.

Do you know how come ? does that mean it doesn't create the document if it
doesn't find my video in the other entity like this one rel_group_ids?

      <entity name="rel_group_ids"
              query="SELECT group_id AS rel_group_ids FROM group_has_video
                      WHERE video_id=${video.id} AND pending='n'" />

Thanks a lot,
-- 
View this message in context: 
http://www.nabble.com/solr-trunk-entities-problem-%28data-config.xml%29-tp20358955p20358955.html
Sent from the Solr - Dev mailing list archive at Nabble.com.

Reply via email to