org.compass.core.lucene
Class LuceneEnvironment.JdbcStore

java.lang.Object
  extended by org.compass.core.lucene.LuceneEnvironment.JdbcStore
Enclosing class:
LuceneEnvironment

public abstract static class LuceneEnvironment.JdbcStore
extends Object

Settings applicable when storing the index within a database.


Nested Class Summary
 class LuceneEnvironment.JdbcStore.Connection
           
 class LuceneEnvironment.JdbcStore.DataSourceProvider
           
 class LuceneEnvironment.JdbcStore.DDL
           
 class LuceneEnvironment.JdbcStore.FileEntry
           
 
Field Summary
static String DELETE_MARK_DELETED_DELTA
          Some of the entries in the database are marked as deleted, and not actually gets to be deleted from the database.
static String DIALECT
          The dialect (database) that is used when storing the index in the database
static String DISABLE_SCHEMA_OPERATIONS
          If set to true, no database schema level operations will be performed (drop and create tables).
static String LOCK_TYPE
          The class name of the Jdbc lock to be used.
static String MANAGED
          If the connection is managed or not.
 
Constructor Summary
LuceneEnvironment.JdbcStore()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIALECT

public static final String DIALECT
The dialect (database) that is used when storing the index in the database

See Also:
Constant Field Values

DELETE_MARK_DELETED_DELTA

public static final String DELETE_MARK_DELETED_DELTA
Some of the entries in the database are marked as deleted, and not actually gets to be deleted from the database. The settings controls the delta time of when they should be deleted. They will be deleted if they were marked for deleted "delta" time ago (base on database time, if possible by dialect).

See Also:
Constant Field Values

LOCK_TYPE

public static final String LOCK_TYPE
The class name of the Jdbc lock to be used.

See Also:
Constant Field Values

MANAGED

public static final String MANAGED
If the connection is managed or not. Basically, if set to false, compass will commit and rollback the transaction. If set to true, compass will not perform it. Defaults to false. Should be set to true if using external transaction managers (like JTA or Spring PlatformTransactionManager), and false if using LocalTransactionFactory.

See Also:
Constant Field Values

DISABLE_SCHEMA_OPERATIONS

public static final String DISABLE_SCHEMA_OPERATIONS
If set to true, no database schema level operations will be performed (drop and create tables). When deleting the data in the index, the content will be deleted, but the table will not be dropped. Default to false.

See Also:
Constant Field Values
Constructor Detail

LuceneEnvironment.JdbcStore

public LuceneEnvironment.JdbcStore()


Copyright (c) 2004-2008 The Compass Project.