Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.RuntimeCollective.search.bean: Javadoc index of package com.RuntimeCollective.search.bean.


Package Samples:

com.RuntimeCollective.search.bean: The Search module uses Jakarta Lucene to provide a (hopefully) flexible search facility for Java objects.  

Classes:

Searchable: A javabean must implement this interface to be searchable. The responsibility for adding this javabean to the search index is entirely down to the implementing class. A standard way of doing this would be put the following line in the save method: ((SearchIndex)RuntimeParameters.getSearchIndex()).addSearchable(this) and in the delete method: ((SearchIndex)RuntimeParameters.getSearchIndex()).removeSearchable(this) This will put the bean in the search index when it's saved, and remove it when it's deleted.
SearchCriterion: One criterion to search by. Construct a new Criterion , giving the string to search for, e.g. "fish rubbish goat". Enclose sentences in quotes. You add criteria to a Search , before calling Search's getResults() method.
Search: Represents a search query made by a user. A search is performed by creating this Search object, adding criteria using addCriterion() , then calling getResults() .
SearchResults: A collection of SearchResult objects, with methods to access them conveniently from a jsp
SearchResult: A single search result.

Home | Contact Us | Privacy Policy | Terms of Service