com.raritantechnologies.endeca.contentAssembler
Class RTIContentQuery

java.lang.Object
  extended byENEContentQuery
      extended bycom.raritantechnologies.endeca.contentAssembler.RTIContentQuery
All Implemented Interfaces:
IConfigurable

public class RTIContentQuery
extends ENEContentQuery
implements IConfigurable

Enables a RTI IQueryParser to be plugged into an Endeca Content Assembler ContentQuery to pre-filter the Endeca ERecSearchList prior to execution by the Endeca MDEX engine. Also enables a configurable IContentItemFilter to be inserted to do post-filtering of Endeca Content Items.

XML Configuration Template:
   <SystemObject type="RTIContentQuery" name="[ name of this ContentQuery object ]" 
                    configurableClass="com.raritantechnologies.endeca.contentAssembler.ContentQueryFilter" >

     <!-- The com.raritantechnoogies.endeca.ERecSearchListFilter -->
     <ERecSearchListFilter>

       <!-- The IQueryParser to use to convert the query -->
       <QueryParser class="[ class of com.raritantechnologies.searchApp.IQueryParser ]" >

       </QueryParser>

       <!-- Field mapping from RTI query to Endeca search field -->
       <Fields>
         <!-- One or more Field tags: -->
         <Field ID="[ RTI query map field ]" endecaField="[ Endeca search field ]" />
         <!-- etc. . . -->
       </Fields>

     </ERecSearchListFilter>

     <!-- IContentItemFilter implementation -->
     <ContentItemFilter class="[ class of com.raritantechnologies.endeca.contentAssembler.IContentItemFilter ]" >

     </ContentItemFilter>

     <!-- Optional (one or more) IFieldFormatters for post processing -->
     <FieldFormatter class=[ class of com.raritantechnologies.searchApp.IFieldFormatter ]" >

     </FieldFormatter>

   </SystemObject>
 

See Also:
Serialized Form

Constructor Summary
RTIContentQuery()
           
 
Method Summary
 ContentResults execute()
           
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 void setENEQuery(ENEQuery pENEQuery)
          Executes pre-filtering of the ENEQuery.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RTIContentQuery

public RTIContentQuery()
Method Detail

setENEQuery

public void setENEQuery(ENEQuery pENEQuery)
Executes pre-filtering of the ENEQuery.


execute

public ContentResults execute()

initialize

public void initialize(org.w3c.dom.Element elem)
Description copied from interface: IConfigurable
Initializes the object from an XML tag or element. This method is called by the Framework as part of the application initializtion. see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory. Configurable objects that are owned or contained by other configurable objects will be initialized in by the parent object.

Specified by:
initialize in interface IConfigurable