Commit Graph

67 Commits

Author SHA1 Message Date
Marin Bek
f6ba59e55a RemoveAlias implementation, reusing code 2015-02-27 15:48:00 +01:00
Marin Bek
13bf94fc2e New gocheck location 2015-02-27 15:33:06 +01:00
Marin Bek
121db02e3d AddAlias implementation 2015-02-27 15:32:56 +01:00
Jérôme Renard
475a722fea Merge pull request #22 from sasbury/master
Added support for Count requests
2015-01-28 07:48:15 +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
Jérôme Renard
264c997862 Merge pull request #20 from r--w/master
Optimize API
2014-11-21 11:43:56 +01: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
Jérôme Renard
63cef24bc9 Merge pull request #19 from marinbek/master
Support for PutMapping, Update and IndicesExist APIs
2014-11-17 22:42:46 +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
1453d3c31c Give ES some time to work in tests 2014-11-15 23:08:40 +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
36f0db102e Update test 2014-11-12 17:35:37 +01:00
Marin Bek
76ad99bb81 Update API implementation 2014-11-12 17:34:58 +01:00
Marin Bek
8c049cb79c ignore vim files 2014-11-11 15:39: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
92d2eb17fa Test IndicesExist 2014-11-11 15:37:50 +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
Jérôme Renard
17253e07b0 Merge pull request #18 from r--w/master
Handling errors in bulk indexing.
2014-10-14 07:44:34 +02:00
r--w
0936751f04 bulk indexing update 2014-10-13 09:43:58 +02: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
Jérôme Renard
7a0373c858 Merge pull request #17 from wux/master
Fix test: replace _all index with the right index name used in test.
2014-09-28 07:56:56 +02:00
James Wu
697ad42b43 Fix test: replace _all index with the right index name used in test. 2014-09-26 11:55:47 -07:00
Jérôme Renard
6fad26987a Merge pull request #15 from sasbury/master
Support for running a _query with an http method
2014-09-14 20:05:28 +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
Jérôme Renard
7e772ee99b Merge pull request #14 from acasas/fields_struct
Support for passing a struct to a document instead of map[string]interface{}
2014-08-18 08:28:09 +02:00
Amadeo Casas
65753ab5ed gofmt pass 2014-08-17 13:26:17 -07:00
Amadeo Casas
9a6ac4f5c5 Addition of getConnection() method and ES_HOST/ES_PORT env vars in example_test.go 2014-08-17 13:26:08 -07:00
Amadeo Casas
9b27ec1889 Test to verify fields in a document can be extracted from a struct 2014-08-17 13:25:25 -07:00
Amadeo Casas
bfa1530af9 Support for structs in document fields 2014-08-17 13:24:21 -07:00
Jérôme Renard
15921ffa9c Merge pull request #12 from bobrik/bulk-witout-index
Bulk witout index
2014-07-03 20:40:53 +02: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
Jérôme Renard
cdd62356b9 Merge pull request #11 from bobrik/travis
Added travis-ci file
2014-07-02 13:48:52 +02:00
Ian Babrou
5a651974db added travis-ci file 2014-07-02 00:13:47 +04:00
Jérôme Renard
18e694b712 Merge pull request #8 from opsmatic/customclient
Added HTTP client override support
2014-05-31 00:13:46 +02:00
mihasya
2b3ac6fe41 Added HTTP client override support 2014-05-30 16:50:35 +00:00
Jérôme Renard
802dff7e1c Merge pull request #7 from needcaffeine/patch-1
Added missing param to conn.Search() in example doc
2014-05-12 07:31:37 +02:00
Vic Vijayakumar
983f8b5136 conn.Search() is missing extraArgs param 2014-05-11 18:24:23 -04:00
Jérôme Renard
a3660786e2 Merge pull request #6 from r--w/master
Extra parameters for searching
2014-05-08 20:33:45 +02:00
r--w
e9c3e322c8 Extra args for searching 2014-05-07 14:57:37 +02:00
r--w
d48efef610 Added extrargs for searching
Extra args to allow routing parameter
2014-05-07 14:49:13 +02:00
Jérôme Renard
1492f83917 Merge pull request #4 from bobrik/aggregations
Aggregations support
2014-03-16 07:33:55 +01:00
Ian Babrou
d384dd00bd added description for aggregation and bucket types 2014-03-15 22:04:10 +04:00
Ian Babrou
bee90498ec added test for aggregations 2014-03-15 22:02:11 +04:00