Hi Joel, DIH does not translate Clob automatically to text. We can open that as an issue. meanwhile you can write a transformer of your own to read Clob and convert to text. http://wiki.apache.org/solr/DataImportHandler#head-4756038c418ab3fa389efc822277a7a789d27688
On Tue, Dec 2, 2008 at 2:57 AM, Joel Karlsson <[EMAIL PROTECTED]> wrote: > Thanks for your reply! > > I'm already using the DataImportHandler for indexing. Do I still have to > convert the Clob myself or are there any built-in functions that I've > missed? > > // Joel > > > 2008/12/1 Yonik Seeley <[EMAIL PROTECTED]> > >> If you are querying Oracle yourself and using something like SolrJ, >> then you must convert the Clob yourself into a String representation. >> >> Also, did you look at Solr's DataImportHandler? >> >> -Yonik >> >> On Mon, Dec 1, 2008 at 3:11 PM, Joel Karlsson <[EMAIL PROTECTED]> >> wrote: >> > Hello everyone, >> > >> > I'm trying to index on an Oracle DB, but can't seem to find any built in >> > support for objects of type oracle.sql.Clob. The field I try to put the >> data >> > into is of type text, but after indexing it only contains the >> Clob-objects >> > string representation, i.e. something like [EMAIL PROTECTED] Anyone >> who >> > knows how to get Solr to index the content of these objects rather than >> its >> > string representation?? >> > >> > Thanks in advance! // Joel >> > >> > -- --Noble Paul