Red Hat Training
A Red Hat training course is available for Red Hat Fuse
第292章 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>
292.1. URI 形式
注記: solrs と solrCloud は、Camel 2.14 から新しく追加されました。
solr://host[:port]/solr?[options] solrs://host[:port]/solr?[options] solrCloud://host[:port]/solr?[options]