Solr:数据导入处理程序和Solr单元

Solr:数据导入处理程序和Solr单元,solr,apache-tika,dataimporthandler,solr-cell,Solr,Apache Tika,Dataimporthandler,Solr Cell,是否可以索引丰富的文档(pdf,office)。。。使用solr单元的数据导入处理程序 我使用Solr3.2 谢谢。Solr Cell,又名Solr Cell,在后台使用,后者可以轻松集成到DataImportHandler中: <dataConfig> <!-- use any of type DataSource<InputStream> --> <dataSource type="BinURLDataSource"/> <d

是否可以索引丰富的文档(pdf,office)。。。使用solr单元的数据导入处理程序

我使用Solr3.2

谢谢。

Solr Cell,又名Solr Cell,在后台使用,后者可以轻松集成到DataImportHandler中:

<dataConfig>
 <!-- use any of type DataSource<InputStream> --> 
  <dataSource type="BinURLDataSource"/>
  <document>
   <!-- The value of format can be text|xml|html|none. this is the format in which the body is emited (the 'text' field) . The implicit field 'text' will have that format.
          default value is 'text'  (if not specified) . format="none" means body is not emited-->
    <entity processor="TikaEntityProcessor" tikaConfig="tikaconfig.xml" url="${some.var.goes.here}" format="text">
      <!--Do appropriate mapping here  meta="true" means it is a metadata field -->
      <field column="Author" meta="true" name="author"/>
      <field column="title" meta="true" name="docTitle"/>
      <!--'text' is an implicit field emited by TikaEntityProcessor . Map it appropriately-->
      <field column="text"/>
     </entity>
  <document>
</dataConfig>


此功能是在中实现的。

我在几分钟前发现了一个错误:GRAVE:Full Import failed:org.apache.solr.handler.dataimport.DataImportHandlerEx异常:无数据源:可用于实体的bin:94600730275216 Processing Doc ument#1。我不知道为什么。但我已经配置了一个数据源。你的问题是“可能吗?”,确实如此。请另外问一个问题。