Skip to content

Commit

Permalink
Remove elastic_doc_manager (now packaged separately)
Browse files Browse the repository at this point in the history
  • Loading branch information
aherlihy committed Mar 6, 2016
1 parent 4d65aa6 commit c5f26cb
Show file tree
Hide file tree
Showing 24 changed files with 184 additions and 954 deletions.
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,14 @@ python:
- 3.4
- 3.5

services:
- elasticsearch

install:
- pip install pymongo==2.9
- pip install mongo-orchestration==0.3.1
- curl -O http://archive.apache.org/dist/lucene/solr/4.9.1/solr-4.9.1.tgz
- tar -zxf solr-4.9.1.tgz
- cp mongo_connector/doc_managers/schema.xml solr-4.9.1/example/solr/collection1/conf/
- sudo /usr/share/elasticsearch/bin/plugin install elasticsearch/elasticsearch-mapper-attachments/2.4.3

before_script:
- sudo service elasticsearch restart
- cd solr-4.9.1/example/ && java -Djetty.port=8983 -Dsolr.solr.home=solr -jar start.jar > /dev/null 2>&1 &
- mongo-orchestration start

Expand Down
8 changes: 8 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ If you want to jump-start into using mongo-connector with a another particular s
- `Usage with Elasticsearch <https://github.com/10gen-labs/mongo-connector/wiki/Usage%20with%20ElasticSearch>`__
- `Usage with MongoDB <https://github.com/10gen-labs/mongo-connector/wiki/Usage%20with%20MongoDB>`__

Doc Managers
~~~~~~~~~~~~~~~~~~~~~

Elastic 1.x doc manager: https://github.com/mongodb-labs/elastic_doc_manager
Elastic 2.x doc manager: https://github.com/mongodb-labs/elastic2_doc_manager

The Solr doc manager and the MongoDB doc manager come packaged with the mongo-connector project.

Troubleshooting/Questions
-------------------------

Expand Down
6 changes: 5 additions & 1 deletion mongo_connector/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,11 @@ def import_dm_by_name(name):
return module
except ImportError:
raise errors.InvalidConfiguration(
"Could not import %s." % full_name)
"Could not import %s. It could be that this doc manager ha"
"s been moved out of this project and is maintained elsewh"
"ere. Make sure that you have the doc manager installed al"
"ongside mongo-connector. Check the README for a list of a"
"vailable doc managers." % full_name)
sys.exit(1)
except (AttributeError, TypeError):
raise errors.InvalidConfiguration(
Expand Down
305 changes: 0 additions & 305 deletions mongo_connector/doc_managers/elastic_doc_manager.py

This file was deleted.

Loading

0 comments on commit c5f26cb

Please sign in to comment.