How can I setup and run/debug ElasticSearch in IntelliJ IDEAjava
maven
elasticsearch2.0使用maven
管理,因此須要先安裝maven
,
git
cd /e/java_projects/es/ git clone https://github.com/elastic/elasticsearch.git mv elasticsearch es2.0 cd es2.0 git checkout -b v2.0 origin/2.0
mvn clean package -DskipTests
cp -r ./distribution/src/main/resources/config/ ./core/