You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by SpinWin <pi...@gmail.com> on 2012/12/19 11:48:09 UTC

Camel + mongodb + Column Index

Hi,

I try to add indexes to the collection created through the mongo-camel
plugin.
But I can not find documentation that lets me know if this is feasible or
not?

Thank you in advance for the help you can give me 

Cordially



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-mongodb-Column-Index-tp5724357.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel + mongodb + Column Index

Posted by SpinWin <pi...@gmail.com>.
I would like information stored groups considerate of data flow.
Each group of data and forms a collection of entity.
So I have to define one collection per group for the indexing are defined
differently for each group I need to make a "ensureIndex" on the collection 

Thanks, 



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-mongodb-Column-Index-tp5724357p5724361.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel + mongodb + Column Index

Posted by Raul Kripalani <ra...@evosent.com>.
I'm not sure I follow. Creating indexes in a DB is an admin operation
rather than an "online" operation. Have you considered using the Mongo
shell to add the indexes?

Could you describe your use case with a little more detail?

Thanks,

*Raúl Kripalani*
Apache Camel Committer
Enterprise Architect, Program Manager, Open Source Integration specialist
http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani
http://blog.raulkr.net | twitter: @raulvk <http://twitter.com/raulvk>

On Wed, Dec 19, 2012 at 10:48 AM, SpinWin <pi...@gmail.com> wrote:

> Hi,
>
> I try to add indexes to the collection created through the mongo-camel
> plugin.
> But I can not find documentation that lets me know if this is feasible or
> not?
>
> Thank you in advance for the help you can give me
>
> Cordially
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-mongodb-Column-Index-tp5724357.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>