|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.catalog.lucene.LuceneConfig
public class LuceneConfig
Maintains configuration information associated with a Lucene based index.
Constructor Summary | |
---|---|
LuceneConfig()
Default constructor. |
Method Summary | |
---|---|
String |
getAnalyzerClassName()
Gets the class name for the analyzer. |
String |
getIndexLocation()
Gets the location of the folder that will hold the Lucene index for the catalog. |
int |
getMaxClauseCount()
Gets maximum number of clauses within boolean query. |
Map<String,IParserProxy> |
getParserProxies()
Gets parser proxies. |
boolean |
getUseConstantScoreQuery()
Gets flag indicating if use constant score query instead of prefix query |
boolean |
getUseNativeFSLockFactory()
Gets the flag indicating if a NativeFSLockFactory should be used. |
int |
getWriteLockTimeout()
Gets the write lock timeout in milli-seconds. |
void |
setAnalyzerClassName(String className)
Sets the class name for the analyzer. |
void |
setIndexLocation(String path)
Sets the location of the folder that will hold the Lucene index for the catalog. |
void |
setMaxClauseCount(int maxClauseCount)
Sets maximum number of clauses within boolean query. |
void |
setParserProxies(Map<String,IParserProxy> parserProxies)
Sets parser proxies. |
void |
setUseConstantScoreQuery(boolean useConstantScoreQuery)
Sets flag indicating if use constant score query instead of prefix query |
void |
setUseNativeFSLockFactory(boolean useNative)
Sets the flag indicating if a NativeFSLockFactory should be used. |
void |
setWriteLockTimeout(int millis)
Sets the write lock timeout in milli-seconds. |
String |
toString()
Returns the string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LuceneConfig()
Method Detail |
---|
public String getAnalyzerClassName()
public void setAnalyzerClassName(String className)
className
- the analyzer class namepublic String getIndexLocation()
public void setIndexLocation(String path)
path
- the catalog index locationpublic Map<String,IParserProxy> getParserProxies()
public void setParserProxies(Map<String,IParserProxy> parserProxies)
parserProxies
- collection (map) of parser proxiespublic boolean getUseNativeFSLockFactory()
public void setUseNativeFSLockFactory(boolean useNative)
useNative
- true if a NativeFSLockFactory should be used, otherwise use a SimpleFSLockFactorypublic int getWriteLockTimeout()
public void setWriteLockTimeout(int millis)
millis
- the write lock timeout the write lock timeoutpublic boolean getUseConstantScoreQuery()
true
to use constant score querypublic void setUseConstantScoreQuery(boolean useConstantScoreQuery)
useConstantScoreQuery
- true
to use constant score querypublic int getMaxClauseCount()
public void setMaxClauseCount(int maxClauseCount)
maxClauseCount
- maximum number of clauses within boolean querypublic String toString()
toString
in class Object
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |