Solr dataimport skips entities in my data-config.xml
Posted
by lerhaupt
on Stack Overflow
See other posts from Stack Overflow
or by lerhaupt
Published on 2010-05-06T18:44:31Z
Indexed on
2010/05/06
18:48 UTC
Read the original article
Hit count: 301
solr
|dataimporthandler
My data-config.xml defines 3 different entities under the document tag (lets call them foo, bar and baz). When I issue a basic full import localhost:8983/solr/dataimport?command=full-import, only 2 of the 3 entities get indexed (foo and bar are in my index but baz never makes it). However, if I then issue a command to just import baz via localhost:8983/solr/dataimport?command=full-import&entity=baz&clean=false it adds baz documents just fine and the index then has all 3 types.
Does anyone have any thoughts on why one entity gets skipped in the general data import but then still works okay if I specifically call it out? Is there an error/warning log I can check? Nothing bad shows up in /solr/logs/ but those just appear to be request logs.
© Stack Overflow or respective owner