auto-complete, spell-checkers and others. In order to create a new prefix index, use this class by providing the following arguments in the constructor: - An instance ofHollowReadStateEngine- A type on which the
and cache a POJO implementation for each ordinal, which can be used by consumers in tight inner loops. This is accomplished by simply passing aSet<String>as the second constructor argument when instantiating a custom-generated Hollow API. The elements in the Set should be the types to cache. ...
In our Movie/Actor example, we may want to index movies by their starring actors: HollowHashIndex idx = new HollowHashIndex(readEngine, "Movie", "", "cast.element.actor.actorId"); The HollowHashIndex expects in its constructor arguments a query start type, a select field, and a set ...