|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ORG.oclc.qparse.Map
The Map class maintains an individual index definition and provides methods to access the data.
IndexMap
Field Summary | |
protected String |
abbrev
String data type containing the index abbreviation. |
protected int |
alternateId
integer data type for the newton IndexId for local databases and the "real" use attribute value for remote Z39 databases. |
protected String |
alternateIdString
String data type containing the alternateId value that is mapped from the incoming Z3950 use/structure attributes. |
protected boolean |
cleanForQuery
boolean data type indicating whether default query filtering should be performed for terms using this index where default = true. |
protected String |
Completeness
The Z3950 Completeness attribute value. |
protected TermNormalizer |
filter
TermNormalizer object for the index to provide specialized query filter capabilities for the query term in this index. |
protected boolean |
fPhrase
boolean data type indicating whether to treat the index as a phrase. |
protected boolean |
fPlural
boolean data type indicating whether to allow plural searching. |
protected boolean |
fQuotes
boolean data type indicating whether to automatically add Quotes to the term this index this qualifies. |
protected boolean |
fRange
boolean data type indicating whether to allow range searching. |
protected boolean |
fRelation
boolean data type indicating whether to allow Z39.50 Realtion Attributes. |
protected boolean |
fRestrictor
boolean data type indicating whether index is a restrictor - meaning it is not searchable unless it appears in a boolean search. |
protected boolean |
fTrunc
boolean data type indicating whether to allow Z39.50 Truncation Attributes. |
protected boolean |
fWithin
boolean data type indicating whether to allow the "within" Z39.50 Realtion op. |
protected boolean |
hideInLists
boolean data type indicating whether this index should appear in any of the [indexlists] when the shorthand notation is used such as 'all', 'phrases', 'words'. |
protected String |
longName
String data type containing the long name of the index. |
protected String |
name
String data type containing the name of the index. |
protected String |
Position
The Z3950 Position attribute value. |
protected String |
range_max
String data type containg the maximum for ranges. |
protected String |
range_min
String data type containing the minimum for the range. |
protected String |
Relation
The Z3950 Relation attribute value. |
protected DataPairs |
restrictorValues
DataPairs object containing a list of strings to search the restrictor with. |
protected String |
searchId
String data type containing the fully qualified Z3950 search string. |
protected StopWord |
stopwords
Index Specific stopwords list. |
protected int |
Structure
integer data type for the Z3950 structure attribute value. |
protected String |
Truncation
The Z3950 Truncation attribute value. |
protected int |
Use
integer data type for the Z3950 use attribute value. |
Constructor Summary | |
Map()
Construct a Map object. |
Method Summary | |
boolean |
allowTruncation()
Returns boolean indicating whether to look for truncation masks ('#', '*', or '?') in search terms. |
boolean |
allowWithin()
Returns boolean indicating whether to target supports within relation operator (r=104;) |
boolean |
canBePlural()
Returns boolean indicating whether the plural searching is available. |
boolean |
cleanForQuery()
Returns a boolean indicating whether the query should be cleaned up when making a Z3950 query. |
Object |
clone()
Creates a copy of the Object. |
boolean |
doQuotes()
Returns boolean indicating whether the object the index qualifies should automatically have quotes added (during term collection). |
boolean |
doRelation()
Returns boolean indicating whether the object the index qualifies should automatically have Relation attributes added. |
String |
getAbb()
Returns a String containing the index abbreviation. |
String |
getAlternateIdString()
Returns a String containing the alternateId value. |
int |
getCompleteness()
Gets the Completeness attribute value. |
String |
getCompletenessString()
Gets the String defining the Completeness attribute value according to the Z39.50 Standard definition |
String |
getIndex()
Returns a String containing the fully qualified String to add to the Z39.50 type query. |
int |
getIndexValue()
Returns an integer containing the alternateId value. |
String |
getLongName()
Returns a String containing the long name of the index. |
String |
getName()
Returns a String containing the name of the index. |
int |
getPosition()
Gets the Position attribute value. |
String |
getPositionString()
Gets the String defining the Position attribute value according to the Z39.50 Standard definition |
String |
getRangeMax(String term)
Returns a String containing the range maximum value. |
String |
getRangeMin(String term)
Returns a String containing the range minimum value. |
int |
getRelation()
Gets the Relation attribute value. |
String |
getRelationString()
Gets the String defining the Relation attribute value according to the Z39.50 Standard definition |
DataPairs |
getRestrictorValues()
Returns a DataPairs object with the list of possible name=value pairs for the index. |
int |
getStructure()
Returns the integer for the structure attribute value. |
String |
getStructureString()
Gets the String defining the Structure attribute value according to the Z39.50 Standard definition |
int |
getTruncation()
Gets the Truncation attribute value. |
String |
getTruncationString()
Gets the String defining the Truncation attribute value according to the Z39.50 Standard definition |
int |
getUse()
Returns the integer for the Use attribute value. |
boolean |
hideInLists()
Returns boolean indicating whether index is should be included in any shorthand lists for [indexlists] |
boolean |
isPhrase()
Returns boolean indicating whether index is a phrase type. |
boolean |
isPlural()
Returns boolean indicating whether the plural searching is active. |
boolean |
isRangeable()
Returns boolean indicating whether the index is rangeable. |
boolean |
isRestrictor()
Returns boolean indicating whether index is a restrictor. |
String |
name()
Returns a String containing the name of the index. |
void |
putIniData(IniFile ini,
IndexMap parent)
|
Class |
queryNormalizerClass()
Deprecated. use termNormalizerClass() |
void |
setAbb(String abb)
Sets the abbreviation. |
void |
setalternateId(int id)
Sets the alternateId value. |
void |
setalternateId(String id)
Sets the alternateId value to the incoming String. |
void |
setCompleteness(String completeness)
Sets the Completeness attribute value. |
void |
setFilter(String classname)
Sets the filter up for the index |
void |
setLongName(String name)
Sets the textual long name of the index. |
void |
setName(String name)
Sets the name of the index. |
void |
setPhrase()
Sets the flag indicating that the index is a phrase type index |
void |
setPluralFlag(boolean flag)
Sets the plural flag. |
void |
setPosition(String position)
Sets the Position attribute value. |
void |
setRangeFlag(boolean flag)
Sets the range flag. |
void |
setRangeMax(String max)
Sets the range maximum. |
void |
setRangeMin(String min)
Sets the range minimum. |
void |
setRelation(String relation)
Sets the Relation attribute value. |
void |
setRestrictorFlag(boolean flag)
Sets the restrictor flag. |
void |
setStructure(int structure)
Sets the structure attribute value. |
void |
setTruncation(String truncation)
Sets the Truncation attribute value. |
void |
setTruncationFlag(boolean flag)
Sets the plural flag. |
void |
setUse(int use)
Sets the use attribute value. |
StopWord |
stopwords()
Returns the index specific StopWord object. |
Class |
termNormalizerClass()
Returns a Class object for normalizing(filtering) the query. |
TermNormalizer |
termNormalizerObject()
Returns the TermNormalizer object for filtering the term. |
String |
toIniString()
Generates an IniFile type string representation of the object. |
String |
toString()
Generates a String representation of the object. |
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected int Use
protected int Structure
protected String Relation
protected String Position
protected String Truncation
protected String Completeness
protected int alternateId
protected String alternateIdString
protected String searchId
protected boolean fPhrase
protected boolean fQuotes
protected boolean fPlural
protected boolean fRange
protected boolean fRelation
protected boolean fWithin
protected boolean fTrunc
protected String range_min
protected String range_max
protected String abbrev
protected String longName
protected String name
protected boolean fRestrictor
protected boolean hideInLists
protected DataPairs restrictorValues
protected boolean cleanForQuery
protected TermNormalizer filter
protected StopWord stopwords
Constructor Detail |
public Map()
Method Detail |
public final void setalternateId(int id)
id
- the valuepublic final void setalternateId(String id)
id
- the valuepublic final void setUse(int use)
use
- public final void setStructure(int structure)
structure
- public final void setRelation(String relation)
relation
- public final void setPosition(String position)
position
- public final void setTruncation(String truncation)
truncation
- public final void setCompleteness(String completeness)
completeness
- public final void setAbb(String abb)
abb
- public final void setRangeFlag(boolean flag)
flag
- public final void setPluralFlag(boolean flag)
flag
- public final void setTruncationFlag(boolean flag)
flag
- public final void setRestrictorFlag(boolean flag)
flag
- public final void setRangeMax(String max)
max
- public final void setRangeMin(String min)
min
- public final void setLongName(String name)
name
- public final void setName(String name)
name
- public final String getAbb()
public final String getAlternateIdString()
public final int getIndexValue()
public final String getName()
public final String getLongName()
public final String name()
public final int getRelation()
public final String getRelationString()
public final int getPosition()
public final String getPositionString()
public final int getTruncation()
public final String getTruncationString()
public final int getCompleteness()
public final String getCompletenessString()
public final Class queryNormalizerClass()
public final Class termNormalizerClass()
public final TermNormalizer termNormalizerObject()
public final StopWord stopwords()
public void putIniData(IniFile ini, IndexMap parent)
public String toIniString()
public String toString()
public final String getIndex()
public final boolean cleanForQuery()
public final boolean isPhrase()
public final void setPhrase()
public final void setFilter(String classname)
public final boolean hideInLists()
public final boolean isRestrictor()
public final DataPairs getRestrictorValues()
public final boolean doQuotes()
public final boolean doRelation()
public final int getUse()
public final int getStructure()
public final String getStructureString()
public final String getRangeMin(String term)
public final String getRangeMax(String term)
public final boolean canBePlural()
public final boolean isPlural()
public final boolean allowTruncation()
public final boolean allowWithin()
public final boolean isRangeable()
public Object clone()
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |