Red Hat Training

A Red Hat training course is available for Red Hat Fuse

第291章 Solr コンポーネント

Camel バージョン 2.9 で利用可能

Solr コンポーネントを使用すると、Apache Lucene Solr サーバー(SolrJ 3.5.0 ベース)とのインターフェースが可能です。

Maven ユーザーは、このコンポーネントの pom.xml に以下の依存関係を追加する必要があります。

<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-solr</artifactId>
    <version>x.x.x</version>
    <!-- use the same version as your Camel core version -->
</dependency>

291.1. URI 形式

注記: solrs および solrCloud は Camel 2.14 以降新しいバージョンに追加されます

solr://host[:port]/solr?[options]
solrs://host[:port]/solr?[options]
solrCloud://host[:port]/solr?[options]