The Neo4j Manual v2.3.0-M0237.7. Search

37.7. Search

An index can be searched in two ways, get and query.
The get method will return exact matches to the given key-value pair, whereas query exposes querying capabilities directly from the backend used by the index.
For example the Lucene query syntax can be used directly with the default indexing backend.

In case you don’t iterate through all the hits, IndexHits.close() must be called explicitly.

Query

There are two query methods, one which uses a key-value signature where the value represents a query for values with the given key only.
The other method is more generic and supports querying for more than one key-value pair in the same query.