com.raritantechnologies.dieselpoint.parser
Interface QueryRules


public interface QueryRules


Method Summary
 java.util.List getRulesFields()
          returns a list of fields which have rules (for te current group)
 void initialize(org.w3c.dom.Node document)
          Initialize the rules from the config XML (if necessary)
 java.lang.String makeQuery(java.lang.String field, java.lang.String op, java.lang.String query)
          Called automatically from dieselpoint.
 void setGroup(java.lang.String s)
          sets the group of rules to use.
 void setStemming(boolean b)
          use the stemmed rules? (default=true)
 

Method Detail

makeQuery

public java.lang.String makeQuery(java.lang.String field,
                                  java.lang.String op,
                                  java.lang.String query)
Called automatically from dieselpoint. parser to cook based on field


getRulesFields

public java.util.List getRulesFields()
returns a list of fields which have rules (for te current group)


setStemming

public void setStemming(boolean b)
use the stemmed rules? (default=true)


setGroup

public void setGroup(java.lang.String s)
sets the group of rules to use. allows for switching. default is * (use all)


initialize

public void initialize(org.w3c.dom.Node document)
Initialize the rules from the config XML (if necessary)