You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Kranti Parisa <kr...@gmail.com> on 2015/01/22 23:45:25 UTC

camel-lucene How to implement batching

Hi,

I'm trying to use camel-lucene component to crawl data from an existing
lucene index.
What is the best way to crawl data from Lucene index in batches?

For example:
- Lucene Index has 100,000 documents
- I want to query/read 1000 documents at a time and process them.
- Seems the current camel-lucene component doesn't support
MatchAllDocsQuery?

If there are any alternative solutions, let me know.

Thanks,
Kranti