Javadoc
Returns matches from this index based on the supplied query object,
which can be a query string or an implementation-specific query object.
Entries added to the index aren't necessarily written to the index and
to disk until
BatchInserterIndexProvider#shutdown() has been
called. Entries added to the index isn't necessarily seen by other
methods:
#updateOrAdd(long,Map),
#get(String,Object),
#query(String,Object) and
#query(Object) until a call
to
#flush() has been made. So only entries added before the most
recent
#flush() are guaranteed to be found by this method.