Implement TermLookup with ElasticSearch

Authored by Stanislav Malyshev <smalyshev@gmail.com> on Mar 6 2018, 5:51 AM.

Description

Implement TermLookup with ElasticSearch

This implements PrefetchingTermLookup interface which
can fetch terms from ElasticSearch database without
needing access to SQL database.

Note that this patch does not include any use of this
facility, only implementation of the class itself.
Connecting it to WikibaseRepo wiring should come in
following patches.

So far:

  • does not support federated repos
  • always caching all data for entity

Bug: T143706
Change-Id: Idb3b9f1b7529dcb80d5f02cfc84391f253209ed5

Details

Committed
Stanislav Malyshev <smalyshev@gmail.com>Mar 13 2018, 8:04 AM
Parents
rEWBA83f7acf034e0: Add fulltext search support for Wikidata labels
Branches
Unknown
Tags
Unknown
References
refs/changes/41/416641/11
ChangeId
Idb3b9f1b7529dcb80d5f02cfc84391f253209ed5
Stanislav Malyshev <smalyshev@gmail.com> committed rEWBA713bbcf4c3b3: Implement TermLookup with ElasticSearch (authored by Stanislav Malyshev <smalyshev@gmail.com>).Mar 13 2018, 8:04 AM