Open SiteSearch 4.1.1
Final

ORG.oclc.qnorm
Class RemoteZFSAuthorTermNormalizer

java.lang.Object
  |
  +--ORG.oclc.qnorm.BaseTermNormalizer
        |
        +--ORG.oclc.qnorm.RemoteZFSAuthorTermNormalizer

public class RemoteZFSAuthorTermNormalizer
extends BaseTermNormalizer
implements TermNormalizer

The RemoteZFSAuthorTermNormalizer class is the query term filter class for processing queries that go to the remote FirstSerach Z39.50 Target for the Author phrase index which is indexed by retaining comma's in the name and has 2 blanks between the subfield 'a' and 'd'. The other special characters that are retained: slashes( converted to spaces) and ampersand(&).

The inifile parameters this method recognizes are:

collapse
The list of characters to collapse from the term, where the default list, if not specified is:
.;:<>{}=!()+%$\"[]`|~'^

See Also:
Map

Field Summary
protected  String collapseChars
          String of characters to collapse from the input.
 
Fields inherited from class ORG.oclc.qnorm.BaseTermNormalizer
ALPHA, BETA, GAMMA, LC_AE, LC_OE, LC_THORN, UC_AE, UC_OE, UC_THORN
 
Constructor Summary
RemoteZFSAuthorTermNormalizer()
          Constructs a RemoteZFSAuthorTermNormalizer object
 
Method Summary
 String[] filterit(String query)
          Filters the incoming query for characters that the remote FirstSearch Z-Target will not recognize in query terms.
 void initNormalizer(IniFile ini, String section, Map indexInfo)
          The normalizer initialization method
 
Methods inherited from class ORG.oclc.qnorm.BaseTermNormalizer
expandSpecial
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

collapseChars

protected String collapseChars
String of characters to collapse from the input.
Constructor Detail

RemoteZFSAuthorTermNormalizer

public RemoteZFSAuthorTermNormalizer()
Constructs a RemoteZFSAuthorTermNormalizer object
Method Detail

initNormalizer

public void initNormalizer(IniFile ini,
                           String section,
                           Map indexInfo)
The normalizer initialization method
Specified by:
initNormalizer in interface TermNormalizer
Parameters:
ini - the IniFile containing configuration information
section - the section name for the inifile
indexInfo - the Map object associated with the index.

filterit

public String[] filterit(String query)
Filters the incoming query for characters that the remote FirstSearch Z-Target will not recognize in query terms.
Specified by:
filterit in interface TermNormalizer
Parameters:
query - the incoming query term
Returns:
String[] containing the filtered term.

Open SiteSearch 4.1.1
Final