开发者

indexing clob column in oracle using solr

I am unable to index the clob clumn using my solr. I tried using clob transformer , but it doesn't work.

ANy idea on how to index a 开发者_开发问答clob column in oracle using solr indexing?


  <entity name="***" query="***" transformer="ClobTransformer" >
      <field column="CLOB_COLUMN" name="CLOB_COLUMN" clob="true" />
  </entity>

Works for me. Maybe you are mixing lower and uppercase? Debug and set a breakpoint in ClobTransformer.java


I think, the problem is, that LOB is normaly raw binary data. So transformation of LOB will only work, if you are sure, that the content of this LOB is something which can be parsed by solr, after translating the LOB. Mostly CLOBs are used for text - maybe also in your case!?

I don't know, why clob transformer does not work for you. Maybe it's useful, if you explain, what "it doesn't work" mean - in your case. What have you tried before? Walking trough the Internet, I found many issues relating to problems with the clob transformer.

Maybe it's an idea to let oracle transform the CLOB content before delivering the data to the DHI. For example look at this, if the content of the CLOB is text: ask-tom

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜