# Elasticsearch-mongodb river error

**URL:** <https://discuss.elastic.co/t/elasticsearch-mongodb-river-error/10942>\
**Category:** Elasticsearch\
**Created:** [February 28, 2013, 5:48am UTC](https://discuss.elastic.co/t/elasticsearch-mongodb-river-error/10942 "2013-02-28T05:48:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![0xff](https://avatars.discourse-cdn.com/v4/letter/0/5fc32e/32.png) [@0xff](https://discuss.elastic.co/u/0xff)\
**Post date:** [February 28, 2013, 5:48am UTC](https://discuss.elastic.co/t/elasticsearch-mongodb-river-error/10942/1 "2013-02-28T05:48:45Z")

</div>

Hi All,

I am running elasticsearch 0.18.7 and mongodb 1.8.3 and I have installed  
mongodb-river plugins,

elasticsearch-river-mongodb-1.0.0-SNAPSHOT  
mongo-java-driver-2.5.3  
elasticsearch-mapper-attachments-1.0.0  
tika-app-0.10

The ES server starts fine and when I try to index the person collection  
with following command, I get the below given error (filter is null.)  
infinitely.

[2013-02-28 13:29:02,102][INFO][cluster.metadata] [Kl'rt]  
[\_river] creating index, cause [auto(index api)], shards [1]/[1], mappings  
[]

[2013-02-28 13:29:02,249][INFO][cluster.metadata] [Kl'rt]  
[\_river] update\_mapping [mongodb] (dynamic)

[2013-02-28 13:29:02,290][INFO][river.mongodb] [Kl'rt]  
[mongodb][mongodb] river name [org.elasticsearch.river.RiverName@35f80e40]  
monitoring namespace [profile.person]

[2013-02-28 13:29:02,290][INFO][river.mongodb] [Kl'rt]  
[mongodb][mongodb] starting mongodb stream: host [localhost], port [27017],  
gridfs [false], filter [null], db [profile], indexing to  
[mongoindex]/[person]

[2013-02-28 13:29:02,325][INFO][cluster.metadata] [Kl'rt]  
[mongoindex] creating index, cause [api], shards [5]/[1], mappings []

[2013-02-28 13:29:02,480][INFO][river.mongodb] [Kl'rt]  
[mongodb][mongodb] Start indexer thread.

[2013-02-28 13:29:02,482][INFO][river.mongodb] [Kl'rt]  
[mongodb][mongodb] Start tailer thread.

[2013-02-28 13:29:02,592][INFO][river.mongodb] [Kl'rt]  
[mongodb][mongodb] filter is null.

[2013-02-28 13:29:02,599][INFO][cluster.metadata] [Kl'rt]  
[\_river] update\_mapping [mongodb] (dynamic)

[2013-02-28 13:29:07,618][INFO][river.mongodb] [Kl'rt]  
[mongodb][mongodb] filter is null.

[2013-02-28 13:29:12,621][INFO][river.mongodb] [Kl'rt]  
[mongodb][mongodb] filter is null.

[2013-02-28 13:29:17,623][INFO][river.mongodb] [Kl'rt]  
[mongodb][mongodb] filter is null.

Kindly advice and please let me know what i am doing wrong.

Thanks in advance.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 28, 2013, 6:27am UTC](https://discuss.elastic.co/t/elasticsearch-mongodb-river-error/10942/2 "2013-02-28T06:27:02Z")

</div>

comments:  
Your plugins are very old. How did you install them?  
Your ES version is also quite old. Consider moving to 0.20  
You did not provide how you create the river (curl command). Hard to tell what's happen.

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 28 févr. 2013 à 06:48, Sara [fuel4mind@gmail.com](mailto:fuel4mind@gmail.com) a écrit :

Hi All,

I am running elasticsearch 0.18.7 and mongodb 1.8.3 and I have installed mongodb-river plugins,

elasticsearch-river-mongodb-1.0.0-SNAPSHOT  
mongo-java-driver-2.5.3  
elasticsearch-mapper-attachments-1.0.0  
tika-app-0.10

The ES server starts fine and when I try to index the person collection with following command, I get the below given error (filter is null.) infinitely.

[2013-02-28 13:29:02,102][INFO][cluster.metadata] [Kl'rt] [\_river] creating index, cause [auto(index api)], shards [1]/[1], mappings []

[2013-02-28 13:29:02,249][INFO][cluster.metadata] [Kl'rt] [\_river] update\_mapping [mongodb] (dynamic)

[2013-02-28 13:29:02,290][INFO][river.mongodb] [Kl'rt] [mongodb][mongodb] river name [org.elasticsearch.river.RiverName@35f80e40] monitoring namespace [profile.person]

[2013-02-28 13:29:02,290][INFO][river.mongodb] [Kl'rt] [mongodb][mongodb] starting mongodb stream: host [localhost], port [27017], gridfs [false], filter [null], db [profile], indexing to [mongoindex]/[person]

[2013-02-28 13:29:02,325][INFO][cluster.metadata] [Kl'rt] [mongoindex] creating index, cause [api], shards [5]/[1], mappings []

[2013-02-28 13:29:02,480][INFO][river.mongodb] [Kl'rt] [mongodb][mongodb] Start indexer thread.

[2013-02-28 13:29:02,482][INFO][river.mongodb] [Kl'rt] [mongodb][mongodb] Start tailer thread.

[2013-02-28 13:29:02,592][INFO][river.mongodb] [Kl'rt] [mongodb][mongodb] filter is null.

[2013-02-28 13:29:02,599][INFO][cluster.metadata] [Kl'rt] [\_river] update\_mapping [mongodb] (dynamic)

[2013-02-28 13:29:07,618][INFO][river.mongodb] [Kl'rt] [mongodb][mongodb] filter is null.

[2013-02-28 13:29:12,621][INFO][river.mongodb] [Kl'rt] [mongodb][mongodb] filter is null.

[2013-02-28 13:29:17,623][INFO][river.mongodb] [Kl'rt] [mongodb][mongodb] filter is null.

Kindly advice and please let me know what i am doing wrong.

Thanks in advance.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 28, 2013, 6:27am UTC](https://discuss.elastic.co/t/elasticsearch-mongodb-river-error/10942/3 "2013-02-28T06:27:48Z")

</div>

Forget the last comment. I just saw your last mail

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 28 févr. 2013 à 07:27, David Pilato [david@pilato.fr](mailto:david@pilato.fr) a écrit :

comments:  
Your plugins are very old. How did you install them?  
Your ES version is also quite old. Consider moving to 0.20  
You did not provide how you create the river (curl command). Hard to tell what's happen.

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 28 févr. 2013 à 06:48, Sara [fuel4mind@gmail.com](mailto:fuel4mind@gmail.com) a écrit :

Hi All,

I am running elasticsearch 0.18.7 and mongodb 1.8.3 and I have installed mongodb-river plugins,

elasticsearch-river-mongodb-1.0.0-SNAPSHOT  
mongo-java-driver-2.5.3  
elasticsearch-mapper-attachments-1.0.0  
tika-app-0.10

The ES server starts fine and when I try to index the person collection with following command, I get the below given error (filter is null.) infinitely.

[2013-02-28 13:29:02,102][INFO][cluster.metadata] [Kl'rt] [\_river] creating index, cause [auto(index api)], shards [1]/[1], mappings []

[2013-02-28 13:29:02,249][INFO][cluster.metadata] [Kl'rt] [\_river] update\_mapping [mongodb] (dynamic)

[2013-02-28 13:29:02,290][INFO][river.mongodb] [Kl'rt] [mongodb][mongodb] river name [org.elasticsearch.river.RiverName@35f80e40] monitoring namespace [profile.person]

[2013-02-28 13:29:02,290][INFO][river.mongodb] [Kl'rt] [mongodb][mongodb] starting mongodb stream: host [localhost], port [27017], gridfs [false], filter [null], db [profile], indexing to [mongoindex]/[person]

[2013-02-28 13:29:02,325][INFO][cluster.metadata] [Kl'rt] [mongoindex] creating index, cause [api], shards [5]/[1], mappings []

[2013-02-28 13:29:02,480][INFO][river.mongodb] [Kl'rt] [mongodb][mongodb] Start indexer thread.

[2013-02-28 13:29:02,482][INFO][river.mongodb] [Kl'rt] [mongodb][mongodb] Start tailer thread.

[2013-02-28 13:29:02,592][INFO][river.mongodb] [Kl'rt] [mongodb][mongodb] filter is null.

[2013-02-28 13:29:02,599][INFO][cluster.metadata] [Kl'rt] [\_river] update\_mapping [mongodb] (dynamic)

[2013-02-28 13:29:07,618][INFO][river.mongodb] [Kl'rt] [mongodb][mongodb] filter is null.

[2013-02-28 13:29:12,621][INFO][river.mongodb] [Kl'rt] [mongodb][mongodb] filter is null.

[2013-02-28 13:29:17,623][INFO][river.mongodb] [Kl'rt] [mongodb][mongodb] filter is null.

Kindly advice and please let me know what i am doing wrong.

Thanks in advance.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![0xff](https://avatars.discourse-cdn.com/v4/letter/0/5fc32e/32.png) [@0xff](https://discuss.elastic.co/u/0xff)\
**Post date:** [February 28, 2013, 6:43am UTC](https://discuss.elastic.co/t/elasticsearch-mongodb-river-error/10942/4 "2013-02-28T06:43:29Z")

</div>

Hi David, Thanks for your reply.

_Your plugins are very old. How did you install them? Your ES version is  
also quite old. Consider moving to 0.20_

Yes, we are using old version of es because of the grails plugin we are  
using at the moment which supports only 0.18.7 unfortunately.

On Thursday, February 28, 2013 2:27:48 PM UTC+8, David Pilato wrote:

> Forget the last comment. I just saw your last mail
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 28 févr. 2013 à 07:27, David Pilato \<[da...@pilato.fr](mailto:da...@pilato.fr) \<javascript:\>\> a  
> écrit :
> 
> comments:  
> Your plugins are very old. How did you install them?  
> Your ES version is also quite old. Consider moving to 0.20  
> You did not provide how you create the river (curl command). Hard to tell  
> what's happen.
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 28 févr. 2013 à 06:48, Sara \<[fuel...@gmail.com](mailto:fuel...@gmail.com) \<javascript:\>\> a écrit :
> 
> Hi All,
> 
> I am running elasticsearch 0.18.7 and mongodb 1.8.3 and I have installed  
> mongodb-river plugins,
> 
> elasticsearch-river-mongodb-1.0.0-SNAPSHOT  
> mongo-java-driver-2.5.3  
> elasticsearch-mapper-attachments-1.0.0  
> tika-app-0.10
> 
> The ES server starts fine and when I try to index the person collection  
> with following command, I get the below given error (filter is null.)  
> infinitely.
> 
> [2013-02-28 13:29:02,102][INFO][cluster.metadata] [Kl'rt]  
> [\_river] creating index, cause [auto(index api)], shards [1]/[1], mappings
> 
> [2013-02-28 13:29:02,249][INFO][cluster.metadata] [Kl'rt]  
> [\_river] update\_mapping [mongodb] (dynamic)
> 
> [2013-02-28 13:29:02,290][INFO][river.mongodb] [Kl'rt]  
> [mongodb][mongodb] river name [org.elasticsearch.river.RiverName@35f80e40]  
> monitoring namespace [profile.person]
> 
> [2013-02-28 13:29:02,290][INFO][river.mongodb] [Kl'rt]  
> [mongodb][mongodb] starting mongodb stream: host [localhost], port [27017],  
> gridfs [false], filter [null], db [profile], indexing to  
> [mongoindex]/[person]
> 
> [2013-02-28 13:29:02,325][INFO][cluster.metadata] [Kl'rt]  
> [mongoindex] creating index, cause [api], shards [5]/[1], mappings
> 
> [2013-02-28 13:29:02,480][INFO][river.mongodb] [Kl'rt]  
> [mongodb][mongodb] Start indexer thread.
> 
> [2013-02-28 13:29:02,482][INFO][river.mongodb] [Kl'rt]  
> [mongodb][mongodb] Start tailer thread.
> 
> [2013-02-28 13:29:02,592][INFO][river.mongodb] [Kl'rt]  
> [mongodb][mongodb] filter is null.
> 
> [2013-02-28 13:29:02,599][INFO][cluster.metadata] [Kl'rt]  
> [\_river] update\_mapping [mongodb] (dynamic)
> 
> [2013-02-28 13:29:07,618][INFO][river.mongodb] [Kl'rt]  
> [mongodb][mongodb] filter is null.
> 
> [2013-02-28 13:29:12,621][INFO][river.mongodb] [Kl'rt]  
> [mongodb][mongodb] filter is null.
> 
> [2013-02-28 13:29:17,623][INFO][river.mongodb] [Kl'rt]  
> [mongodb][mongodb] filter is null.
> 
> Kindly advice and please let me know what i am doing wrong.
> 
> Thanks in advance.
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [February 28, 2013, 8:27am UTC](https://discuss.elastic.co/t/elasticsearch-mongodb-river-error/10942/5 "2013-02-28T08:27:05Z")

</div>

Probably you are already aware of it, the grails plugin is available  
for ES 0.20

> **[GitHub - mstein/elasticsearch-grails-plugin: ElasticSearch grails plugin](https://github.com/mstein/elasticsearch-grails-plugin)**
>
> ElasticSearch grails plugin. Contribute to mstein/elasticsearch-grails-plugin development by creating an account on GitHub.

Jörg

Am 28.02.13 07:43, schrieb Sara:

> Yes, we are using old version of es because of the grails plugin we  
> are using at the moment which supports only 0.18.7 unfortunately.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![0xff](https://avatars.discourse-cdn.com/v4/letter/0/5fc32e/32.png) [@0xff](https://discuss.elastic.co/u/0xff)\
**Post date:** [February 28, 2013, 9:39am UTC](https://discuss.elastic.co/t/elasticsearch-mongodb-river-error/10942/6 "2013-02-28T09:39:23Z")

</div>

Yes it is but it uses hibernate and doesn't work with mongodb. I will  
better take this plugin and make it work with mongodb removing its  
hibernate dependencies.

Thanks.

On Thursday, February 28, 2013 4:27:05 PM UTC+8, Jörg Prante wrote:

> Probably you are already aware of it, the grails plugin is available  
> for ES 0.20
> 
> [GitHub - mstein/elasticsearch-grails-plugin: ElasticSearch grails plugin](https://github.com/mstein/elasticsearch-grails-plugin)
> 
> Jörg
> 
> Am 28.02.13 07:43, schrieb Sara:
> 
> > Yes, we are using old version of es because of the grails plugin we  
> > are using at the moment which supports only 0.18.7 unfortunately.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:49am UTC](https://discuss.elastic.co/t/elasticsearch-mongodb-river-error/10942/7 "2017-07-06T02:49:03Z")

</div>


