elastic2-doc-manager | Mongo-Connector doc manager for elasticsearch
kandi X-RAY | elastic2-doc-manager Summary
kandi X-RAY | elastic2-doc-manager Summary
Mongo-Connector doc manager for elasticsearch 2.x
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Run the thread
- Update sources based on response
- Send buffered operations to Elasticsearch
- Get buffer
- Get documents sources from Elasticsearch
- Clean up buffer
- Add a doc_source to sources
- Overrides apply_update
- Commit buffered operations
- Resets the action buffer
- Get a source from sources
elastic2-doc-manager Key Features
elastic2-doc-manager Examples and Code Snippets
Community Discussions
Trending Discussions on elastic2-doc-manager
QUESTION
New to elasticsearch and mongodb, i ma facing problem ingesting data from mongodb to es in bulk indexing. To sync up the data i m using mongo-connector and elastic2-doc-manager. I am able to successfuly ingest data from one collection. But when it comes to metadata collections created by django2_tables in the mongodb. Elasticsearch errors out. By the way it worked fine earlier not sure why and how. Perhaps i m missing or forgot some es bulk configuration. Any help would be highly appreciated.
Thanks, Attaching logs from elasticsearch and mongo-connector. log from elasticsearch:
...ANSWER
Answered 2020-Jan-24 at 01:25In recent versions, elasticsearch only supports one mapping type per index. Here are the details.
The issue you are facing is still open: https://github.com/yougov/mongo-connector/issues/770
Here is a potential workaround. If this won´t work, consider downgrading ES to version 5.X, where multiple mappings have been allowed. After the import from mongo, you will be able to upgrade to version 6.X. Here is some background.
QUESTION
Currently I've indexed my mongoDB collection into Elasticsearch running in a docker container. I am able to query a document by it's exact name, but Elasticsearch is unable to match the query if it is only part of the name. Here is an example:
...ANSWER
Answered 2020-Jan-22 at 01:33Updated after checked your gist:
You need to apply the mapping to your field as written in the doc, cf the first link I share in the comment.
You need to do it after applying the settings on your index according to the gist it's line 11.
Something like:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install elastic2-doc-manager
You can use elastic2-doc-manager like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page