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:

committed by
David Pursehouse

parent
91ff74efc8
commit
1d71d309a4
@@ -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
|
||||
|
Reference in New Issue
Block a user