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

Quick Search    Search Deep

com.RuntimeCollective.search.action.* (3)com.RuntimeCollective.search.bean.* (5)
com.RuntimeCollective.search.form.* (1)com.RuntimeCollective.search.servlet.* (1)
com.RuntimeCollective.search.test.* (4)

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


Package Samples:

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

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.
SearchIndex: Use the SearchIndex to add/remove Searchables from the search index ( addSearchable, removeSearchable ). 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. You shouldn't make your own SearchIndex; it's made in the SearchInitialiserServlet. Get it from ((SearchIndex)RuntimeParameters.getSearchIndex()), if you need it.
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() .
DefaultSearchTest: This is the new-style test script for the search module, which effectively deprecates SearchTest and SearchTextCase. New projects should use this.
SearchException: The subclass of Exception which should be thrown by classes in the Search module when they meet some kind of problem.
SetAdvancedSearchPageAction: A very silly subclass of SetSearchPageAction which simply uses the "advancedSearch" forward.
SetSearchPageAction: Implementation of Action that sets the search page on a set of search results
SearchResults: A collection of SearchResult objects, with methods to access them conveniently from a jsp
UpdateIndex: Indexes content that goes live today, and unindex content that goes dead today
SearchAction: Implementation of Action that performs a search
SearchInitialiserServlet: Initialises the Lucene search
SearchResult: A single search result.
TestSearchable: Test searchable object.
SearchForm: Holds search criteria
SearchTest
SearchTestCase

Home | Contact Us | Privacy Policy | Terms of Service