org.compass.core.lucene.engine
Class LuceneSettings

java.lang.Object
  extended by org.compass.core.lucene.engine.LuceneSettings

public class LuceneSettings
extends Object

A helper methods that holds most of the Lucene specific properties, initlizes from CompassSettings.

Author:
kimchy

Constructor Summary
LuceneSettings()
           
 
Method Summary
 void configure(CompassSettings settings)
           
 String getAliasProperty()
           
 String getAllProperty()
           
 Property.TermVector getAllPropertyTermVector()
           
 long getCacheInvalidationInterval()
           
 String getConnection()
           
 String getDefaultSearchPropery()
           
 String getExtendedAliasProperty()
           
 String getLockDir()
           
 int getMaxBufferedDeletedTerms()
           
 int getMaxBufferedDocs()
           
 int getMaxFieldLength()
           
 int getMaxMergeDocs()
           
 int getMergeFactor()
           
 double getRamBufferSize()
           
 CompassSettings getSettings()
           
 String getSubContext()
           
 int getTermIndexInterval()
           
 CompassTransaction.TransactionIsolation getTransactionIsolation()
           
 Class getTransactionIsolationClass()
           
 long getTransactionLockTimout()
           
 boolean isAllPropertyBoostSupport()
           
 boolean isClearCacheOnCommit()
           
 boolean isWaitForCacheInvalidationOnIndexOperation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneSettings

public LuceneSettings()
Method Detail

configure

public void configure(CompassSettings settings)
               throws SearchEngineException
Throws:
SearchEngineException

getSettings

public CompassSettings getSettings()

getAllProperty

public String getAllProperty()

getAliasProperty

public String getAliasProperty()

getExtendedAliasProperty

public String getExtendedAliasProperty()

getTransactionIsolation

public CompassTransaction.TransactionIsolation getTransactionIsolation()

getTransactionIsolationClass

public Class getTransactionIsolationClass()

getMaxMergeDocs

public int getMaxMergeDocs()

getMergeFactor

public int getMergeFactor()

getMaxFieldLength

public int getMaxFieldLength()

getMaxBufferedDocs

public int getMaxBufferedDocs()

getMaxBufferedDeletedTerms

public int getMaxBufferedDeletedTerms()

getTermIndexInterval

public int getTermIndexInterval()

getRamBufferSize

public double getRamBufferSize()

getDefaultSearchPropery

public String getDefaultSearchPropery()

getConnection

public String getConnection()

getAllPropertyTermVector

public Property.TermVector getAllPropertyTermVector()

isAllPropertyBoostSupport

public boolean isAllPropertyBoostSupport()

getTransactionLockTimout

public long getTransactionLockTimout()

getCacheInvalidationInterval

public long getCacheInvalidationInterval()

getLockDir

public String getLockDir()

isWaitForCacheInvalidationOnIndexOperation

public boolean isWaitForCacheInvalidationOnIndexOperation()

isClearCacheOnCommit

public boolean isClearCacheOnCommit()

getSubContext

public String getSubContext()


Copyright (c) 2004-2008 The Compass Project.