WebMan: A Basic RefEntry Servlet | ||
---|---|---|
<<< Previous | Next >>> |
class RefEntryIndex {RefEntryIndex();boolean add(String key, RefEntry value);HashSet match(String key);}
RefEntryIndex holds the index enabling full text searches. Its add method adds a RefEntry to the index for the word in key. Its match method retrieves a set of RefEntry objects for a key word.
RefEntryIndex class "friendly" (package private) methods provide access to RefEntry documents used by the servlet when adding and searching.
Adds an existing RefEntry to the index for a particular string. The string is folded to lower case.
Returns a set of RefEntry documents matching a particular string. The string is folded to lower case.
<<< Previous | Home | Next >>> |
RefEntryBackEnd | Up | RefEntryServlet |