Open SiteSearch 4.1.1
Final

ORG.oclc.qnorm
Class NotisPhraseNormalizer

java.lang.Object
  |
  +--ORG.oclc.qnorm.BaseTermNormalizer
        |
        +--ORG.oclc.qnorm.RemoteZTermNormalizer
              |
              +--ORG.oclc.qnorm.NotisPhraseNormalizer

public class NotisPhraseNormalizer
extends RemoteZTermNormalizer
implements TermNormalizer

The NotisPhraseNormalizer class is used to filter incoming phrase searches for a NOTIS database. It runs the logic in the RemoteZTermNormalizer and then it converts any " -- " strings to "--" so that the searches will work on the target.

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:
.,;:<>{}=!()+%$\"@[]`|~/'^


Fields inherited from class ORG.oclc.qnorm.RemoteZTermNormalizer
collapseChars
 
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
NotisPhraseNormalizer()
          Constructs a NotisPhraseNormalizer object
 
Method Summary
 String[] filterit(String query)
          Filters the incoming query for characters that the remote-Z target engine will not recognize in query terms and changes " -- " to "--".
 
Methods inherited from class ORG.oclc.qnorm.RemoteZTermNormalizer
initNormalizer
 
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
 

Constructor Detail

NotisPhraseNormalizer

public NotisPhraseNormalizer()
Constructs a NotisPhraseNormalizer object
Method Detail

filterit

public String[] filterit(String query)
Filters the incoming query for characters that the remote-Z target engine will not recognize in query terms and changes " -- " to "--".
Specified by:
filterit in interface TermNormalizer
Parameters:
query - the incoming query term
Returns:
String[] containing the filtered term.
Overrides:
filterit in class RemoteZTermNormalizer

Open SiteSearch 4.1.1
Final