Ticket #200 (closed enhancement: fixed)

Opened 2 years ago

Last modified 1 year ago

Wrap fedoragsearch in a topaz service and enforce security

Reported by: ebrown Assigned to: ebrown
Priority: high Milestone:
Component: topaz Version: 0.5-SNAPSHOT
Keywords: fedora search Cc:
Blocking: Blocked By:

Dependency Graph

Change History

10/24/06 23:14:18 changed by ebrown

(In [849]) Closes #202 Index articles with fedoragsearch during ingest

This also addresses #200 (wrapping fedoragsearch in a topaz service).

Articles are indexed on ingestion and removed from the index when they're deleted.

11/15/06 19:26:54 changed by ebrown

(In [1096]) Addresses #200. fedoragsearch-service jar file This is a wrapper around the FedoraGenericSearch? source distribution. The primary purpose of wroapping the source was because the binary distribution was soley as a WAR file and topaz needs this stuff separated (as it is in the source dist) into a useable JAR file. Doing it as a source-level module also makes it easier to have consistent dependencies.

11/16/06 18:25:02 changed by ebrown

(In [1118]) Addresses #200 fedoragsearch-server plugin to cache DTDs, cache & filter hits

This replaces the FgsLucene? portion of fedoragsearch when configured in the webapp's WEB-INF/config/fedoragsearch.properites configuration. It is derived from the original FgsLucene? source distribution and retains some issues.

There is still room for improvement:

11/16/06 18:52:54 changed by ebrown

(In [1119]) Addresses #200 fedoragsearch service impl (ws-server-impl) and webapp

With [1118], this also addresses #208 to eliminate fixed-paths in fedoragsearch. However fedoragsearch.properties still fakes out fedoragsearch's Config class by providing settings and xslt in the webapp's WEB-INF that are not really used. In addition, in some instances, xsl:include's have been replaced with inline code (to eliminate resolving issues that should be fixed by setting system-ids and implementing resolvers appropriately).

ThredLocal? variables in source://head/topazproject/webservices/search/topaz-lucene-impl/src/main/java/org/topazproject/fedoragsearch/topazlucene/SearchContext.java are used to shuffle PEP and user information (for hit caching and authentication) to the search engine by the service impl -- FedoraGenericSearchServicePortSoapBindingImpl?.

11/16/06 19:30:57 changed by ebrown

(In [1121]) Addresses #200 Start and stop fedoragsearch in a separate container on port 9092

Adds the following to ant-tasks:

  • ant-tasks:search-install
  • ant-tasks:search-start
  • ant-tasks:search-stop

Copied from mulgara mojos with shutdown port defaulted to 9292.

11/16/06 19:51:49 changed by ebrown

(In [1122]) Addresses #200 Copy repository definitions from head/pom.xml

This is necessary since fedoragsearch-server has no parent and thus does not inherit configuration from other pom-s.

11/16/06 19:56:29 changed by ebrown

(In [1123]) Addresses #200 Lucene packages and pom-s to deploy to gandalf

Lucene 2.0.0 has not been put up on any public maven2 repository. This puts it on the gandalf repository split appropriately into 3 libraries.

Why is it such a PITA to push stuff to ibiblio -- especially if it is an apache sub-project?

11/16/06 22:27:44 changed by ebrown

(In [1134]) Fixes #205 When fedoragsearch starts, create db if it doesn't exist

This was hacked in [879] for windows users and will be removed soon when the separate search service is enabled. Thus fixing it the right way now is a good thing. Also addresses #200.

11/16/06 23:59:26 changed by ebrown

(In [1139]) Incorporate changes to other ant-tasks to allow db to be specified on start

To specify location of search-database, start with topaz.search.indexpath system property set. For example:

mvn ant-tasks:search-start -Dtopaz.search.indexpath=/tmp/lucene

[1134] will use this if set (via commons-config) or will put DB in a temp directory. Addresses #200.

11/17/06 10:27:27 changed by ebrown

  • status changed from new to closed.
  • resolution set to fixed.

(In [1149]) Fixes #200 & #172 Turn on our search service

This is based on fedoragsearch, but has the modifications in #200, #172 and #208:

11/17/06 10:50:44 changed by ebrown

(In [1150]) Install search before starting it! (should have been in [1149])

I missed this organizational change when [1135] was merged.

Addresses #200. It should fix the build.

11/17/06 15:39:26 changed by ebrown

(In [1157]) Remove fedoragsearch from fedora now that we have search service re #200

This reverts [825] & [879] re #199 & #205.

11/17/06 23:37:42 changed by ebrown

(In [1166]) Fix broken ant-tasks:fedora-install in [1157] re #200.

Should fix build.

11/20/06 13:21:56 changed by ebrown

(In [1205]) Ensure that resources are released on initialization. Goes with [1134]

re #205 & #200

10/29/07 21:12:54 changed by

  • milestone deleted.

Milestone november6 deleted