There is no direct way. I'll suggest a better solution

use JdbcDataSource and get the xml as a clob/string

write a transformer which can take in that field and extract fields
out of the xml. There is a class called XPathRecordReader which is
used by XPathEntityProcessor wjich you can directly use as an API. it
is pretty trivial to use that

If you need help on using the API look at the JUnits

http://svn.apache.org/viewvc/lucene/solr/trunk/contrib/dataimporthandler/src/test/java/org/apache/solr/handler/dataimport/TestXPathRecordReader.java?revision=681182&view=markup

--Noble

On Wed, Oct 8, 2008 at 3:14 AM, Manuel Carrasco <[EMAIL PROTECTED]> wrote:
> Hello guys
>
> Do you know a way to use XPathEntityProcessor with data comming from a XML
> field stored in a database?
>
> Thanks
> Manolo
>



-- 
--Noble Paul

Reply via email to