|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.util.parameter.AbstractParameterContext
com.arsdigita.runtime.AbstractConfig
com.arsdigita.search.SearchConfig
Stores the configuration record for the search service
Field Summary |
Fields inherited from class com.arsdigita.runtime.AbstractConfig |
versionId |
Constructor Summary | |
SearchConfig()
|
Method Summary | |
boolean |
allowsContent(ContentType content)
Determines if the content type represented by the specified bitmask is supported. |
boolean |
allowsRawContent()
Determines if raw binary content is supported |
boolean |
allowsTextContent()
Determines if plain text content is supported |
boolean |
allowsXMLContent()
Determines if xml content is supported |
ContentType[] |
getContent()
Returns the bitmask for allowed content types. |
String |
getIndexer()
Returns the current active indexer type key |
IndexerType |
getIndexerType()
Returns the current active indexer type |
boolean |
getLazyUpdates()
Returns the lazy update flag. |
DocumentObserver |
getObserver()
Returns the current document update observer |
Integer |
getRawContentWeight()
The relative given to raw content when ranking search results. |
Integer |
getXMLContentWeight()
The relative given to XML content when ranking search results. |
boolean |
isIntermediaEnabled()
Convenience method for determining if intermedia is currently enabled |
boolean |
isLuceneEnabled()
Convenience method for determining if lucene is currently enabled |
Methods inherited from class com.arsdigita.runtime.AbstractConfig |
load, load, load, require |
Methods inherited from class com.arsdigita.util.parameter.AbstractParameterContext |
get, get, getParameters, load, load, loadInfo, register, save, set, validate, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SearchConfig()
Method Detail |
public IndexerType getIndexerType()
public String getIndexer()
isIntermediaEnabled()
,
isLuceneEnabled()
public boolean isIntermediaEnabled()
getIndexer()
public boolean isLuceneEnabled()
getIndexer()
public ContentType[] getContent()
ContentType
class.
ContentType.RAW
,
ContentType.XML
,
ContentType.TEXT
public boolean allowsRawContent()
allowsTextContent()
,
allowsXMLContent()
public boolean allowsTextContent()
allowsRawContent()
,
allowsXMLContent()
public boolean allowsXMLContent()
allowsTextContent()
,
allowsRawContent()
public boolean allowsContent(ContentType content)
allowsXMLContent()
,
allowsTextContent()
,
allowsRawContent()
public DocumentObserver getObserver()
public boolean getLazyUpdates()
public Integer getXMLContentWeight()
public Integer getRawContentWeight()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |