From 60f24d84125bdae06c53582081474810174eedc3 Mon Sep 17 00:00:00 2001 From: "Eric J. Bowersox" Date: Thu, 12 Jun 2003 19:07:01 +0000 Subject: [PATCH] added the start of the Index Manager, which integrates Lucene indexing into the base Dynamo framework --- build.properties.sample | 5 + build.xml | 10 + conf/dynamo-venice.xml | 4 + conf/venice-db-init-mysql.sql | 26 + .../dynamo/except/IndexException.java | 58 ++ .../dynamo/iface/IndexManager.java | 29 + .../dynamo/iface/IndexManagerConfig.java | 24 + .../dynamo/iface/IndexService.java | 29 + .../dynamo/iface/IndexedObjectResolver.java | 28 + .../silverwrist/dynamo/index/CurrentFile.java | 290 +++++++++ .../dynamo/index/DirectoryAutoCleanup.java | 85 +++ .../dynamo/index/IndexDirectoryImpl.java | 431 +++++++++++++ .../dynamo/index/IndexManagerObject.java | 272 +++++++++ .../dynamo/index/IndexManagerOps.java | 92 +++ .../dynamo/index/IndexManagerOps_mysql.java | 84 +++ .../dynamo/index/IndexMessages.properties | 24 + .../silverwrist/dynamo/index/IndexOps.java | 69 +++ .../dynamo/index/IndexOps_mysql.java | 576 ++++++++++++++++++ .../dynamo/index/IndexServiceImpl.java | 166 +++++ 19 files changed, 2302 insertions(+) create mode 100644 src/dynamo-framework/com/silverwrist/dynamo/except/IndexException.java create mode 100644 src/dynamo-framework/com/silverwrist/dynamo/iface/IndexManager.java create mode 100644 src/dynamo-framework/com/silverwrist/dynamo/iface/IndexManagerConfig.java create mode 100644 src/dynamo-framework/com/silverwrist/dynamo/iface/IndexService.java create mode 100644 src/dynamo-framework/com/silverwrist/dynamo/iface/IndexedObjectResolver.java create mode 100644 src/dynamo-framework/com/silverwrist/dynamo/index/CurrentFile.java create mode 100644 src/dynamo-framework/com/silverwrist/dynamo/index/DirectoryAutoCleanup.java create mode 100644 src/dynamo-framework/com/silverwrist/dynamo/index/IndexDirectoryImpl.java create mode 100644 src/dynamo-framework/com/silverwrist/dynamo/index/IndexManagerObject.java create mode 100644 src/dynamo-framework/com/silverwrist/dynamo/index/IndexManagerOps.java create mode 100644 src/dynamo-framework/com/silverwrist/dynamo/index/IndexManagerOps_mysql.java create mode 100644 src/dynamo-framework/com/silverwrist/dynamo/index/IndexMessages.properties create mode 100644 src/dynamo-framework/com/silverwrist/dynamo/index/IndexOps.java create mode 100644 src/dynamo-framework/com/silverwrist/dynamo/index/IndexOps_mysql.java create mode 100644 src/dynamo-framework/com/silverwrist/dynamo/index/IndexServiceImpl.java diff --git a/build.properties.sample b/build.properties.sample index 181e33f..0c87661 100644 --- a/build.properties.sample +++ b/build.properties.sample @@ -59,5 +59,10 @@ velocity.base=/usr/local/jakarta/velocity-1.3.1 # velocity.lib=${velocity.base} velocity.jarfile=velocity-1.3.1.jar +# [Location of Lucene 1.3RC1] +lucene.base=/usr/local/jakarta/lucene-1.3-rc1 +# lucene.lib=${lucene.base} +lucene.jarfile=lucene-1.3-rc1.jar + # [Location of SourceID SSO 1.0b7/1.0 (optional)] # sourceid.base=${user.home}/sso diff --git a/build.xml b/build.xml index 0f697d0..623f277 100644 --- a/build.xml +++ b/build.xml @@ -72,6 +72,11 @@ + + + + + @@ -85,6 +90,7 @@ +