[
https://issues.apache.org/jira/browse/CAMEL-4539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Cowell updated CAMEL-4539:
-------------------------------
Attachment: CAMEL-4539.patch
This patch adds a Solr component to Camel, which currently just supports
indexing.
Users can configure how data is mapped to fields in their Solr schema by
setting headers on the message. Any request handler can be specified as an
Endpoint option (the default handler for XML; CSV handler; extracting handler
for PDF, DOC etc.), so most common filetypes are supported.
This component uses SolrJ to connect to a Solr instance and the underlying API
is exposed to allow users to configure the Solr connection on the Endpoint.
All the work is done by a Producer as it didn't seem necessary to create a
Consumer specifically for Solr when an HTTP endpoint could do the job just as
well.
This patch was made by Alex Cowell and Bilgin Ibryam and we are grateful to our
employer, Sourcesense, for letting us contribute to this project during company
time.
> Camel Solr component
> --------------------
>
> Key: CAMEL-4539
> URL: https://issues.apache.org/jira/browse/CAMEL-4539
> Project: Camel
> Issue Type: New Feature
> Affects Versions: 2.8.1, 2.9.0
> Reporter: Alex Cowell
> Priority: Minor
> Labels: component, solr
> Attachments: CAMEL-4539.patch
>
>
> A Solr component for Camel. This component should support both indexing and
> querying, with flexibility in how these two features operate.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira