Interface ILuceneConnection.Configuration
-
- All Known Implementing Classes:
DefaultConfiguration
- Enclosing interface:
- ILuceneConnection
public static interface ILuceneConnection.ConfigurationProvide configuration for the index writers used by implementations of this interface.- See Also:
DefaultConfiguration
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetBatchMaxBufferedDocs()intgetBatchMaxMergeDocs()intgetBatchMergeFactor()longgetIndexSearcherMaxAge()The max age of an IndexSearcher in seconds.longgetIndexSearcherPruneDelay()The delay in seconds before attempting to prune IndexSearchers that have exceeded their max age.intgetInteractiveMaxBufferedDocs()intgetInteractiveMaxMergeDocs()intgetInteractiveMergeFactor()intgetMaxFieldLength()booleanisCompoundIndexFileFormat()
-
-
-
Method Detail
-
getInteractiveMergeFactor
int getInteractiveMergeFactor()
-
getInteractiveMaxMergeDocs
int getInteractiveMaxMergeDocs()
-
getInteractiveMaxBufferedDocs
int getInteractiveMaxBufferedDocs()
-
getBatchMergeFactor
int getBatchMergeFactor()
-
getBatchMaxMergeDocs
int getBatchMaxMergeDocs()
-
getBatchMaxBufferedDocs
int getBatchMaxBufferedDocs()
-
getMaxFieldLength
int getMaxFieldLength()
-
isCompoundIndexFileFormat
boolean isCompoundIndexFileFormat()
-
getIndexSearcherMaxAge
long getIndexSearcherMaxAge()
The max age of an IndexSearcher in seconds.IndexSearchers that are older than this are eligible for pruning by a scheduled job so that it's resources are reclaimed.
- Returns:
- max age of an IndexSearcher in seconds.
-
getIndexSearcherPruneDelay
long getIndexSearcherPruneDelay()
The delay in seconds before attempting to prune IndexSearchers that have exceeded their max age.- Returns:
- delay in seconds
-
-