ORG.oclc.qnorm
Class SirsiPhraseNormalizer
java.lang.Object
|
+--ORG.oclc.qnorm.BaseTermNormalizer
|
+--ORG.oclc.qnorm.RemoteZTermNormalizer
|
+--ORG.oclc.qnorm.SirsiPhraseNormalizer
- public class SirsiPhraseNormalizer
- extends RemoteZTermNormalizer
- implements TermNormalizer
The SirsiPhraseNormalizer class is used to filter incoming
phrase searches for a Sirsi 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 |
SirsiPhraseNormalizer
public SirsiPhraseNormalizer()
- Constructs a SirsiPhraseNormalizer 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