Interface ILuceneConnection.Configuration
-
- All Known Implementing Classes:
DefaultConfiguration
- Enclosing interface:
- ILuceneConnection
public static interface ILuceneConnection.Configuration
Provide 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 int
getBatchMaxBufferedDocs()
int
getBatchMaxMergeDocs()
int
getBatchMergeFactor()
long
getIndexSearcherMaxAge()
The max age of an IndexSearcher in seconds.long
getIndexSearcherPruneDelay()
The delay in seconds before attempting to prune IndexSearchers that have exceeded their max age.int
getInteractiveMaxBufferedDocs()
int
getInteractiveMaxMergeDocs()
int
getInteractiveMergeFactor()
int
getMaxFieldLength()
boolean
isCompoundIndexFileFormat()
-
-
-
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
-
-