rkboyce / DomeoClient

Domeo Annotator GWT client
Apache License 2.0
1 stars 2 forks source link

The load, query, and delete scripts need a parameter for the elastico.collection #43

Closed rkboyce closed 10 years ago

rkboyce commented 10 years ago

Different Elasticsearch servers might have configured the elastico.collection with different strings. For example, a development server might have 'devb30' while the production server might be 'devb40'. The load, query, and delete scripts currently hard code the collection makes it impossible for Domeo to retrieve externally loaded annotations (because they will be loaded to the wrong collection). Thus, we need a parameter to the elastico.collection placed in our load, query, and delete scripts.

ningyifan commented 10 years ago

added extra parameter named collection in scripts including two query scripts int git and load and delete scripts in svn. Also, updated README file in the repository.

BTW, i think those scripts in public server (icode-01) are still old version. We may have to scp them to icode-01.