Search interface
Para indexes objects based on their type. For example, a User objects has a type field with the value “user”.
Most of the search methods below ask for a type to search for (i.e. the type field acts as a filter).
The Search interface defines the following methods used for search:
All methods accept an optional Pager parameter for paginating and sorting the search results.
Also there are a few methods for indexing and unindexing objects but you should avoid calling them directly. These methods are:
void index(ParaObject obj)void indexAll(List<P> objects)void unindex(ParaObject obj)void unindexAll(List<P> objects)