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:
-
Method Summary
Modifier and TypeMethodDescriptionintintintlongThe max age of an IndexSearcher in seconds.longThe delay in seconds before attempting to prune IndexSearchers that have exceeded their max age.intintintintboolean
-
Method Details
-
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
-