neo4j-contrib / neo4j-elasticsearch

Neo4j ElasticSearch Integration
Apache License 2.0
210 stars 79 forks source link

Can't define index twice #30

Open obenard opened 7 years ago

obenard commented 7 years ago

Hello, I would like to define 2 different indices in ElasticSearch but I need to inject different properties of the same nodes in the 2 index. I though that I could define the index spec like that: elasticsearch.index_spec=neo_index_name:Application(name),neo_index_descr:Application(description)

Where Application is the Node type, name and description the properties, and neo_index_name, neo_index_descr the 2 index I want to find in Elastic Search. Unfortunately, this configuration raise an error at Neo startup: ERROR ElasticSearch Integration: Can't define index twice Note this is Neo4J 2.3

Any ideas how to proceed? Thanks for your help.