Use fake index in integration tests, allow running against lucene/fake indices

This change wires up the new fake index so that integration tests,
including tests that use pgms can run against it. It adds a new
sys/env setting so that we can choose which index backend test should
be run against. This is inspired by how we handled different NoteDb
migration states in tests while the migration was not completed.

By default, integration tests are now run against the fake index.

We use reflection in pgms to call the fake index so that we can
keep the fake index package's testonly=true flag.

Change-Id: Ic6ebb6587cb8ab0979a0f00d5e3e340d27115c89
1 file changed
tree: 5f3a62c8b8efe3e3740f1580cc9a1b0232bfbb17
  1. java/
  2. javatests/