MainJavadocExample
ResultSelector Demo

In this example, the ResultSelector is used to filter a result set returned from a search source using an IResultMatcher. It is used in this application to select all of the Framework Classes found by the TreeSearchSource, that have an Example hyperlink:


AjaxTextInputElementRenderer
Demo
BasicDisplayFormRenderer
Demo
This demo uses a BasicDisplayFormRenderer to show the results of a search on the Shakespeare Glossary.
BasicSearchFormRenderer
Demo
BrowseLinkElementRenderer
Demo
Adds a Browse List to improve searching on the Shakespeare Glossary.
BrowseListOutputProcessor
Demo
This example generates a Browse List for the set of Shakespeare Glossary terms.
BrowseResultsElementRenderer
Demo
This demo uses a Browse List to show all of the RTI Framework modules documented in this application.
ConcatenateFilter
Demo
Used to join string elements either statically or dynamically via the use of nested prepend and/or append strings or string filters.
DBTreeBuilder
Demo
Shows how a Taxonomy Tree can be edited.
DropdownMenuTreeRenderer
Demo
Shows some examples of the use of the DropdownMenuTreeRenderer.
DropdownTabRenderer
Demo
The DropdownTabRenderer is used in the Semantic Search demo to select fact relationships to search.

JSP Configuration:
<results:StaticDisplayForm
       formName="DemoSearchDisplay" 
       category="ModulesWithExamples"
       sourceType="QueryProcessorFilter"
       searchParameters="sortBy=name|sortDir=asc|querySource=ResultSelector" />

<results:PageLinkForm formName="DemoSearchDisplay"
        pageSize="10" isFirst="false" action="ResultSelector.jsp" />
XML Configuration for this Demo:
  <!-- ===================================================================== -->
  <!--   ResultSelector filter - Selects Modules that have Example pages     -->
  <!--   using the ExampleTreeSource (LookupSearchSource) which appends      -->
  <!--   an ExampleLink path to results obtained from the TreeSearchSource.  -->
  <!--   A ResultHasFieldMatcher is then used to select those records that   -->
  <!--   have an associated Example link.                                    -->
  <!-- ===================================================================== -->
  <SourceType name="ModulesWithExamples" type="QueryProcessorFilterSource"
              sourceFactoryClass = "com.raritantechnologies.searchApp.QueryProcessorFilterFactory" 
              filterClass  = "com.raritantechnologies.searchApp.queryFilters.ResultSelector"
              inputSource  = "ExampleTreeSource" cacheParams="querySource" >

    <ResultMatcher class="com.raritantechnologies.searchApp.resultComparators.ResultHasFieldMatcher"
                  isAnd="true" >
     <Fields>
       <Field ID="ExampleLink"   matchValue="true" nestedField="true" /> 
     </Fields>

   </ResultMatcher>

  </SourceType>