6 Commits

Author SHA1 Message Date
Marco Miller
31c040a233 lib/elasticsearch: restore jackson_dataformat_smile
As removing it in 40744d99f introduced a related NoClassDefFoundError
regression.

Bug: Issue 6094
Change-Id: I03c4801ae8c1cfb0b74ad39ef1398cd31225ba14
2018-04-16 10:04:43 -04:00
Marco Miller
40744d99ff lib/elasticsearch: remove unnecessary dependencies
Remove the hereby no longer used ones also from libs thus WORKSPACE.

Bug: Issue 6094
Change-Id: Icb0ee8dd89ae30c1256ae60481eb782798f252ef
2018-04-13 16:04:42 -04:00
David Ostrovsky
fdbfcad77d Remove Buck based build
Bug: Issue 5302
Change-Id: I6e860446ef30ff0ad1c7c49fc0e39d39d921820b
2017-01-23 12:44:58 +00:00
David Ostrovsky
fa18907d7f Bazel: Reformat build files
Reformat the Bazel build files with the buildifier tool [1].

The style is different for Bazel files. Most notably, indentation level
is 4 spaces instead of 2, and " is used instead of '.

[1] https://github.com/bazelbuild/buildifier

Change-Id: I95c0c6f11b6d76572797853b4ebb5cee5ebd3c98
2016-12-07 11:33:07 +00:00
Han-Wen Nienhuys
5e4491886b bazel: update for elasticsearch and lucene.
Change-Id: Icb9f9f0344b10a008d5b353362933890446eb544
2016-09-28 21:17:08 +02:00
David Pursehouse
8e72f5301b Add support for secondary index with Elasticsearch
Add support for secondary index on Elasticsearch via the REST API
using the Jest client [1].

Because Elasticsearch uses different version of Lucene we add another
maven_jar's in gerrit-elasticsearch BUCK. Fortunately both versions have
compatible API, this way we are able to compile and run Gerrit.

All tests for changes index passes, but they need to use Lucene's based
account index.

[1] http://www.searchly.com/documentation/developer-api-guide/java-jest/

TODO: Add support for online reindex
TODO: Add support for schema upgrades

Also-By: Janice Agustin <janice.agustin@ericsson.com>
Also-By: Olga Grinberg <olga.grinberg@ericsson.com>
Also-By: Dariusz Luksza <dluksza@collab.net>
Change-Id: I5e4fc08ce34d33c090c9e0bf320de1b17309f774
2016-09-27 23:27:37 +09:00