fvosberg / elasticorm Goto Github PK
View Code? Open in Web Editor NEWThis is going to be a ORM like helper for elasticsearch in GO
License: MIT License
This is going to be a ORM like helper for elasticsearch in GO
License: MIT License
As a developer I would like to configure a field in my struct which should automatically be provided with the elastic search ID whenever it is loaded.
This field should not be stored separately
FindAll(int offset, int limit, int size)
validate the structure of a property of type geo_point
Elasticsearch expects {"lat": 1.2, "lon": 3.4} as Input
type A struct {
Foo string `json:"-" elasticorm:"name=foo"`
}
Implementation of the tag option \
elasticorm:"-"`` to skip this field in elasticorm
Make it package private and provide an option func to set it on init.
In order to write datastores which aren't coupled to elasticorm, I would like to configure the NotFoundError. That makes adapters slimmer.
Provide the ability to store nested data
type Receipt struct {
Items []*ReceiptItem `json:"items"`
}
type ReceiptItem struct {
Name string `json:"name"`
}
For optimization it should be possible to use scaled_floats e.g. for prices
see: https://www.elastic.co/guide/en/elasticsearch/reference/current/number.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.