Hello,
First of all, thanks to you guys for developing this very useful plugin. It has been really helpful for me with indexing huge fairly large documents and the ease of integrating it with our app. Currently, we are planning to use a different index name. I am trying to use elasticSearch.index.name configuration in my application.yml, but the plugin is not able to detect this property. I am noticing that in SearchableClassMapping.groovy:87, its trying to get the property "index.name". I am trying the esConfig.getProperty("index.name") method in my Bootstrap.groovy and it returns me an empty map. However, if I try to insert the property "index.name" in esConfig in Bootstrap.groovy, I am able to retrieve this property.
I have tried inserting the elasticSearch.index.name in application.yml and application.groovy but none of these options have worked for me. Can you please guide me how to solve this issue?
Following is the code snippet with its output I am trying to debug the issue I am having.
Hello, First of all, thanks to you guys for developing this very useful plugin. It has been really helpful for me with indexing huge fairly large documents and the ease of integrating it with our app. Currently, we are planning to use a different index name. I am trying to use elasticSearch.index.name configuration in my application.yml, but the plugin is not able to detect this property. I am noticing that in SearchableClassMapping.groovy:87, its trying to get the property "index.name". I am trying the esConfig.getProperty("index.name") method in my Bootstrap.groovy and it returns me an empty map. However, if I try to insert the property "index.name" in esConfig in Bootstrap.groovy, I am able to retrieve this property. I have tried inserting the elasticSearch.index.name in application.yml and application.groovy but none of these options have worked for me. Can you please guide me how to solve this issue? Following is the code snippet with its output I am trying to debug the issue I am having.
Output of above code:
Grails version: 3.1.4 elasticSearch plugin version: 1.2.0 Thank you, Deepak