Elastic Search: Split reusable code to utility classes

As a preparatory step before adding the implementation of the account
index in Elastic Search, split out code that can be reused into utility
classes.

Change-Id: I46e0fe4e4e2ef969565cd2f481ab45c46397016e
Signed-off-by: Dariusz Luksza <dluksza@collab.net>
Signed-off-by: David Pursehouse <dpursehouse@collab.net>
This commit is contained in:
Dariusz Luksza
2016-09-22 14:44:40 +02:00
committed by David Pursehouse
parent 91ff74efc8
commit 1d71d309a4
8 changed files with 233 additions and 152 deletions

View File

@@ -319,7 +319,7 @@ public class LuceneChangeIndex implements ChangeIndex {
throw new OrmException("interrupted");
}
final Set<String> fields = IndexUtils.fields(opts);
final Set<String> fields = IndexUtils.changeFields(opts);
return new ChangeDataResults(
executor.submit(new Callable<List<Document>>() {
@Override