# elasticsearch-orm **Repository Path**: wbj780621/elasticsearch-orm ## Basic Information - **Project Name**: elasticsearch-orm - **Description**: orm4es是一个Elasticsearch的ORM工具,它可以生成简单的查询对象. 它本身非常简单,也很容易使用;代码生成通过freemark完成,它会自动解析es index - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: https://www.oschina.net/p/orm4es - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2022-06-01 - **Last Updated**: 2022-06-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

orm tool for elasticsearch


orm4es is an orm tool for elasticsearch. It is very simple and easy to use.
This tool generate java bean of index mapping.
you can use the bean to search.
the main method of the bean show how to use it.
step 1
svn install step 2
java -jar orm4es-0.0.1-SNAPSHOT.jar -h usage: orm4es [-c ] [-C ] [-d ] [-H ]
[-h] [-i ] [-P ] [-p ]
example: java -jar transfer.jar -H 192.168.*.* -p 9300 -n
Product -i product
-c,--class class name,use index name if not set.
-C,--cluster cluster name,default is "elasticsearch"
-d,--directory file directory,default is c:\
-H,--host hostname or ip of es host
-h,--help get help infomation
-i,--index index name
-P,--package package.
-p,--port es port,default 9300.
this is a orm tool for es.
=============================================
orm for es index mapping.code gen
shenbaise1001@126.com