|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LuceneConfig
Method Summary | |
---|---|
org.springframework.context.ConfigurableApplicationContext |
getApplicationContext()
Gets the application context through which events can be broadcast |
NodeBulkLoader |
getBulkLoader()
Get preloader - may be null if preloading is not supported |
org.alfresco.repo.search.MLAnalysisMode |
getDefaultMLIndexAnalysisMode()
The default mode for analysing ML text during index. |
org.alfresco.repo.search.MLAnalysisMode |
getDefaultMLSearchAnalysisMode()
The default mode for analysis of ML text during search. |
boolean |
getFairLocking()
Should we use a 'fair' locking policy, giving queue-like access behaviour to the indexes and avoiding starvation? Default is false since fair locking appears to cause deadlock on old JVMs. |
int |
getIndexerBatchSize()
The batch size in which to group flushes of the index. |
int |
getIndexerMaxFieldLength()
Get the max field length that determine how many tokens are put into the index |
java.lang.String |
getIndexRootLocation()
The path to the index location |
int |
getMaxDocIdCacheSize()
How many document ids to cache (-ve => unbounded) |
int |
getMaxDocsForInMemoryIndex()
Max docs to allow for in memory indexes (does no apply to merges) |
int |
getMaxDocsForInMemoryMerge()
Max doc number that will merged in memory (and not on disk) |
int |
getMaxDocumentCacheSize()
How many documents to cache (-ve => unbounded) |
int |
getMaxIsCategoryCacheSize()
How many categories to cache (-ve => unbounded) |
int |
getMaxLinkAspectCacheSize()
How many link aspects to cache (-ve => unbounded) |
int |
getMaxParentCacheSize()
How many parents to cache (-ve => unbounded) |
int |
getMaxPathCacheSize()
How many paths to cache (-ve => unbounded) |
double |
getMaxRamInMbForInMemoryIndex()
Max Ram to allow for in memory indexes (does not apply to merges) |
double |
getMaxRamInMbForInMemoryMerge()
Ram based limit for in memory merges |
int |
getMaxTypeCacheSize()
How many types to cache (-ve => unbounded) |
int |
getMergerMaxBufferedDocs()
Lucene merger config |
int |
getMergerMaxMergeDocs()
Lucene merger config |
int |
getMergerMergeBlockingFactor()
The factor by which the merge factor is multiplied to determine the allowable number of indexes before blocking. |
int |
getMergerMergeFactor()
Lucene merger config |
double |
getMergerRamBufferSizeMb()
Ram based limit for in memory portion of merger index. |
int |
getMergerTargetIndexCount()
Target index count. |
int |
getMergerTargetOverlayCount()
Target overlays (will apply deletions and create indexes if over this limit) |
int |
getMergerTargetOverlaysBlockingFactor()
The factor by which the target overlay count is multiplied to determine the allowable number of overlays before blocking. |
boolean |
getPostSortDateTime()
If we are using the DateAnalyser then lucene sort is only to the date, as that is all that is in the index. |
int |
getQueryMaxClauses()
The maximum numbr of sub-queries the can be generated out of wild card expansion etc |
int |
getTermIndexInterval()
Lucene term index interval |
java.util.concurrent.ThreadPoolExecutor |
getThreadPoolExecutor()
Get the thread pool for index merging etc |
boolean |
getUseNioMemoryMapping()
Use the nio memory mapping (work arounf for bugs with some JVMs) |
int |
getWriterMaxBufferedDocs()
Lucene writer config |
int |
getWriterMaxMergeDocs()
Lucene writer config |
int |
getWriterMergeFactor()
Lucene writer config |
double |
getWriterRamBufferSizeMb()
Ram based limit for in memory portion of writer index. |
boolean |
isCacheEnabled()
Is caching enabled for each index fragment? |
void |
setLockDirectory(java.lang.String lockDirectory)
Set the lock dir - just to make sure - this should no longer be used. |
Method Detail |
---|
void setLockDirectory(java.lang.String lockDirectory)
lockDirectory
- java.lang.String getIndexRootLocation()
int getIndexerBatchSize()
int getQueryMaxClauses()
org.alfresco.repo.search.MLAnalysisMode getDefaultMLIndexAnalysisMode()
org.alfresco.repo.search.MLAnalysisMode getDefaultMLSearchAnalysisMode()
int getIndexerMaxFieldLength()
java.util.concurrent.ThreadPoolExecutor getThreadPoolExecutor()
NodeBulkLoader getBulkLoader()
boolean getUseNioMemoryMapping()
int getMaxDocsForInMemoryMerge()
int getWriterMaxBufferedDocs()
int getWriterMergeFactor()
int getWriterMaxMergeDocs()
int getMergerMaxBufferedDocs()
int getMergerMergeFactor()
int getMergerMergeBlockingFactor()
int getMergerMaxMergeDocs()
int getMergerTargetOverlayCount()
int getMergerTargetOverlaysBlockingFactor()
int getMergerTargetIndexCount()
int getTermIndexInterval()
boolean isCacheEnabled()
int getMaxIsCategoryCacheSize()
int getMaxDocumentCacheSize()
int getMaxDocIdCacheSize()
int getMaxPathCacheSize()
int getMaxTypeCacheSize()
int getMaxParentCacheSize()
int getMaxLinkAspectCacheSize()
boolean getPostSortDateTime()
org.springframework.context.ConfigurableApplicationContext getApplicationContext()
double getMaxRamInMbForInMemoryMerge()
double getWriterRamBufferSizeMb()
double getMergerRamBufferSizeMb()
int getMaxDocsForInMemoryIndex()
double getMaxRamInMbForInMemoryIndex()
boolean getFairLocking()
false
since fair locking appears to cause deadlock on old JVMs.
true
if a fair locking policy should be used
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |