Questions tagged [elasticsearch-mongo-river]

River plugin for Elasticsearch to index data from MongoDB databases.

MongoDB River Plugin for ElasticSearch

This plugin uses MongoDB or the TokuMX fork of MongoDB as datasource to store data in ElasticSearch. Filtering and transformation are also possible. See the wiki for more details.

https://github.com/richardwilly98/elasticsearch-river-mongodb

26 questions
4
votes
1 answer

Sorting not working in elastic search

I am creating an index with elastic search and want to be able to sort on the "field" country_en (I might want to add another field later). However the sorting result is not correctly. A descending order would return Czech…
3
votes
1 answer

MongoDB-MongoRiver-ElasticSearch-NEST

I have setup MongoDB database with Enron mail collection. MongoRiver is used to bridge between Mongo & ElasticSearch. I can access the Mongo Data via REST on ElasticSearch. While configuring MongoRiver, I have already created an index…
3
votes
0 answers

updates in mongodb not getting pushed in elasticsearch

I am using elasticsearch and mongodb. Setup river week ago. Today on searching records just check the elasticsearch index are not getting updated or modified as records in mongodb are added daily. I am using following lines to create river curl…
2
votes
1 answer

Elasticsearch filtering by array field size

I have a collection in MongoDB with the following structure: [ { "Name" : "A", "CustomerInfo" : [ { "CustomerCompany" : "abc", "CustomerEmail" : "user1@abc.com", …
thegreenogre
  • 1,559
  • 11
  • 22
2
votes
0 answers

Elasticsearch mongodb and river indexing fail

Dear my (I hope) saviors, I have a very annoying problem with elasticsearch and mondogdb datas indexing. The situation is like: I have 2 mongodb collections, records and pois, that I need to index on elasticsearch, using river plugin (deprecated, I…
dgiaig
  • 201
  • 4
  • 14
1
vote
1 answer

Configuration a river for MongoDb collection indexed from ES

I am trying to insert data in MongoDb and view it on ES > show collections person system.indexes > var p = {firstName: "John", lastName: "Smith"} > db.person.save(p) WriteResult({ "nInserted" : 1 }) > db.person.find() { "_id" :…
1
vote
1 answer

trying to add mapping in elasticseach

I am trying to add analyzer and mapping in my elastic search index but I get this error; [Error: MapperParsingException[mapping [product]]; nested: MapperParsingException[Analyzer [synonym] not found for field [name]]; My index name products and…
Himanshu
  • 85
  • 1
  • 8
1
vote
2 answers

Elasticsearch and MongoDB with nodejs

While implementing elasticsearch with mongodb and nodejs, I am using mongoosastic and elmongo module. These are working very well. But I just want to find out what is the advantage of using mongo-river plugin over node modules. And Is it necessary…
1
vote
2 answers

detect stale mongodb elasticsearch river and restart it

we are using the mongodb-elasticsearch river plugin from here In certain situations, we have found the river has gone stale. reasons include Restarted Mongodb Data type mismatch in fields And each time we had to manually restart the river and…
1
vote
1 answer

Update settings of existing river in Elasticsearch

I created MongoDB river with index in Elasticsearch, but later on noticed that I don't need several fields and I want to use different username/password for river. How to: 1.Initialize update of river settings for new…
dimon222
  • 162
  • 2
  • 20
1
vote
0 answers

unable to copy data from mongodb to elasticsearch

I have followed the documentation online to copy data from mongodb to elasticsearch using river plugin. My Elasticseach version is 1.4.2 My MongoDB version is 2.6.6 I have setup my mongodb to run as a replica set. I have installed the latest…
Mandeep Singh
  • 7,674
  • 19
  • 62
  • 104
1
vote
0 answers

Create index in elastic search using java to create MongoDB river

Create MongoDB river in Elasticsearch using Java API client.index(Requests.indexRequest("_river").type("my_river").id("_meta").source(source)).actionGet(); How to create source for an above mentioned code. i need to create mongodb river in…
1
vote
0 answers

ElasticSearch mongo always 0 hits

I'm trying to make ElasticSearch run over my Mongodb server, everything looks fine, but every query I do returns me 0 hits. Always. My installation and configuration log: Installed Mongodb 2.6.4 Up and running. No problems here. I have like 7000…
1
vote
1 answer

elasticsearch: special behaviour of _id field?

I have some twitter data I want to work with. I want to be able to search for a name. When trying to generate ngrams of the 'name' and '_id' I run into some troubles. first, I created the analyzers: curl -XPUT 'localhost:9200/twitter_users' -d ' { …
1
vote
2 answers

ElasticSearch autocomplete returning 0 hits

I am trying to build an autocomplete feature for our database running on MongoDB. We need to provide autocomplete which lets users complete their queries by offering suggestions while they are typing in the search box. I have a collection of…
1
2