291.5. Solr のクエリー
現在、このコンポーネントはデータのネイティブクエリーをサポートしていません(後で追加することもできます)。現時点では、以下のように HTTP を使用して Solr にクエリーできます。
//define the route to perform a basic query
from("direct:query")
.recipientList(simple("http://localhost:8983/solr/select/?q=${body}"))
.convertBodyTo(String.class);
...
//query for an id of '1234' (url encoded)
String responseXml = (String) template.requestBody("direct:query", "id%3A1234");
詳細情報は、これらのリソース...