Re: Rename index field name while using mongo river

Hi,

there is a fork of the mongo river project that adds this feature:

Mapping capabilities are described in the documentation.

Matt

On Thursday, 29 November 2012 01:57:09 UTC, spancer ray wrote:

Hi Guys,

I'm using mongo river plugin, I want to known whether ES or mongo river
has
some functionality so that I can rename my field name without keeping it
the
same with mongo collection fields' name.

Assume that we have mongo colleciton 'user', which has two fields
'user_name', 'user_address'. While using river, we have to mapping this
two
fields like this:

I have to keep the mapping properties names the same as that in mongo
collection to make the river runs well. Is there any settings I can use so
that I can name the index field names' like 'username' and 'useraddress' ?

Anybody faces this kind of requirement/problem?

Thanks,
Spancer

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Rename-index-field-name-while-using-mongo-river-tp4026203.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.

--

Hi Matt,

Thank you so much for the reply:-)

Wishes,
Spancer