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:
collapseThe list of characters to collapse from
the term, where the default list, if not specified is:
.,;:<>{}=!()+%$\"@[]`|~/'^
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 java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
NotisPhraseNormalizer
public NotisPhraseNormalizer()
- Constructs a NotisPhraseNormalizer object
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