This contains the general purpose solutions for elasticsearch engine.
mvn clean verify
This module contains the way to convert the solr schema file xml file to elasticsearch settings-mappings json file.
java -jar elasticsearch-migration-${version}-jar-with-dependencies.jar -inputFile <path/to/conf/schema.xml> -shards <number_of_shards (default=5)> -replicas <number_of_replicas (default=1)>
- inputFile : Madatory
- shards : default=5
- replicas : default=1
O/p: elasticsearch settings-mappings file can be find at 'path/to/conf/schema.xml.json'
See org.apn.elasticsearch.spark.client.ESIndexDataTest.scala
see org.apn.elasticsearch.spark.client.ElasticSearchSpringIntegrationTest.java
sudo bin/elasticsearch-plugin install file:///C:/path/to/elasticsearch-custom-plugin-${version}.zip
sudo bin/elasticsearch-plugin remove elasticsearch-custom-plugin
This is an example to use Elasticsearch high level rest api.
1: This module is not related to parent pom