Skip to content

shenbaise/orm4es

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:</br>

-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

About

orm for es index mapping.code gen

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages