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 index will record the ordinals - A field path that leads to a string value....
In ourMovie/Actorexample, we may want to index movies by their starring actors: HollowHashIndexidx=newHollowHashIndex(readEngine,"Movie","","cast.element.actor.actorId"); TheHollowHashIndexexpects in its constructor arguments a query start type, a select field, and a set of match fields. ...
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. ...
This default can be changed with another parameter in the constructor. Incoming requests should be sent to the handle method in your HollowExplorerUI instance: public boolean handle(String target, HttpServletRequest req, HttpServletResponse resp) throws IOException The HollowHistoryUI can be used ...