MainJavadocExample
SelectedRecordsSearchSource Demo

This example uses the SelectedRecordsSearchSource to display and/or provide a search within capability for user saved or marked records.

If no records are displayed below, go to the Lucene Search Source demo, execute one or more searches, select some records and return to this page to see the set of selected records.


Hide Abstract
Show Hide Author

XML Configuration for the SelectedRecordsSearchSource:

  <SourceType name="SelectedRecords" type="SelectedRecordsSearchSource"
              sourceFactoryClass="com.raritantechnologies.searchApp.SelectedRecordsSearchSource" 
              queryProcessor="com.raritantechnologies.searchApp.SelectedRecordsSearchSource" 
              cacheResultSetName="SelectedRecords" 
              cacheFieldID="title" />

This source collects records cached with a CheckboxResultRenderer that is part of the result display form:

    <ResultRenderer rendererClass="com.raritantechnologies.quickstart.taglibrary.forms.CheckboxResultRenderer"
                       formField="theID" cacheResultSetName="SelectedRecords" >
        <Field ID="title" />
    </ResultRenderer>
The full configuration for the result display form is shown in the Lucene Search Source example documentation.