Commit Graph

29 Commits

Author SHA1 Message Date
Marin Bek
121db02e3d AddAlias implementation 2015-02-27 15:32:56 +01:00
Stephen Asbury
21ab94d0ca count: support for count requests
Added count method to connection
Added Count field to response
Added test for count method
2015-01-26 17:43:50 -08:00
Jérôme Renard
cc93e7ac2c Merge pull request #21 from marinbek/master
DeleteMapping implementation
2014-11-25 20:33:34 +01:00
Marin Bek
1d1ad4d447 DeleteMapping implementation 2014-11-24 16:41:35 -08:00
r--w
6b8090a19d Optimize API
Optimize API added:
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/in
dices-optimize.html#indices-optimize
2014-11-21 11:06:24 +01:00
Marin Bek
6c041327be Only set Id on document if it was given 2014-11-17 17:04:48 +01:00
Marin Bek
4c9459a02b Use slices instead of variadic function 2014-11-17 07:25:48 +01:00
Marin Bek
08d26b69e0 GetMapping implementation 2014-11-13 09:22:11 +01:00
Marin Bek
589282a189 Unmarshal whole response into Raw field on Response for APIs that return fully dynamic format, like _mapping 2014-11-13 09:21:27 +01:00
Marin Bek
76ad99bb81 Update API implementation 2014-11-12 17:34:58 +01:00
Marin Bek
fd03304d0b go fmt 2014-11-11 15:39:36 +01:00
Marin Bek
ebf3324c90 IndicesExist implementation 2014-11-11 15:39:07 +01:00
Marin Bek
e5d37bf945 HEAD requests have no body, only HTTP response code, so we need to act accordingly 2014-11-11 15:37:07 +01:00
Marin Bek
f8e5a2a433 Support for PutMapping API 2014-11-11 14:37:34 +01:00
r--w
c4d6ac023a Handling errors in bulk indexing. There is a filed named erros which indicates whether commit was succesful see: http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/bulk.html 2014-10-13 09:11:12 +02:00
Stephen Asbury
5a12eb4b68 Support for running a _query with an http method
This allows operations like delete by query.
Included test for delete by query.
2014-09-11 13:49:57 -07:00
Amadeo Casas
bfa1530af9 Support for structs in document fields 2014-08-17 13:24:21 -07:00
Ian Babrou
20300ffa70 go fmt 2014-07-03 16:28:55 +04:00
Ian Babrou
45e977fe8a removed index param from BulkSend 2014-07-03 16:28:37 +04:00
mihasya
2b3ac6fe41 Added HTTP client override support 2014-05-30 16:50:35 +00:00
r--w
d48efef610 Added extrargs for searching
Extra args to allow routing parameter
2014-05-07 14:49:13 +02:00
Ian Babrou
c7c95eccdc aggregations support 2014-02-27 16:33:51 +04:00
Ian Babrou
5356d04035 Added initial scroll support 2014-01-11 21:07:48 +04:00
Jérôme Renard
4f4a9961b2 Limited mmove calls 2013-11-29 11:28:37 +01:00
Jérôme Renard
f7b8fcf842 Added IndexStatus() 2013-06-23 08:59:23 +02:00
Jérôme Renard
726e1e80b9 Added indexList and extraArgs support to Connection.Stats() 2013-06-18 08:04:52 +02:00
Jérôme Renard
92081c6d25 Renamed FetchStats() into Stats() 2013-06-18 06:54:31 +02:00
Jérôme Renard
57ab71837a Fixed missing package description 2013-06-16 06:56:38 +02:00
Jérôme Renard
5db99a7858 Initial import 2013-06-15 08:18:48 +02:00