that worked perfectly Shalin. thanks so much for your help! sam keen
On Wed, Mar 18, 2009 at 1:15 PM, Shalin Shekhar Mangar <shalinman...@gmail.com> wrote: > On Thu, Mar 19, 2009 at 1:29 AM, Sam Keen <sam....@gmail.com> wrote: > >> >> What I am now attempting to do is leverage 'useSolrAddSchema="true"' . >> I have a URL the responds with a well formatted solr add xml (I'm able >> to add it by POSTing). But when I try to add it using >> http://localhost:8983/solr/dataimport?command=full-import i get a null >> pointer exception. > > > You need to use XPathEntityProcessor. If you do not specify a processor, the > default is SqlEntityProcessor (used for DB imports). > > Add the attribute processor="XPathEntityProcessor" to the entity and try. > > -- > Regards, > Shalin Shekhar Mangar. >