Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Info
titleCurrent released version

GSearch 2.25 (December 2008September 2012) is the currently released version.

Info
titleCompatibility

Compatible with Fedora Version 3.1-3.3.

Table of Contents

About This Service
New Features in Version 2.2
New Features in Version 2.1.1
New Features in Version 2.1
New Features in Version 2.0
Installation
Configuring the Service
Configuring the Service for Automatic Updates
Configuring Fedora for Automatic Updates
Additional Information

...

  • Added a plugin for the Apache Solr search server.
  • Added easier configuration, so that you need only edit one file with property values, then run it with ant.
  • Updated to Lucene version 2.3.0.unmigrated-wiki-markup
  • Added params to indexing in the format: ...&indexDocXslt=\[xslt-name\]\[(paramname1=value1\[,paramname2=value2\[,...\]\])\] Use the parameters at indexing time by putting xsl:param statement in the indexing xslt stylesheet, like this: <xsl:param name="someparamname" select="defaultvalue"/>
  • Added optimize options for Lucene indexing:
    fgsindex.mergeFactor and fgsindex.maxBufferedDocs will affect performance, see the index.properties file in configTestOnLucene. Also added ...?operation=updateIndex&action=optimize which will perform IndexWriter.optimize() which merges all segments together into a single segment, optimizing an index for search. Removed the optimize() call after each updateIndex.
  • Added untokenizedFields property to Lucene index.properties files. Adding the property with a list of all untokenized fields will ensure that they all select the appropriate analyzer.
  • Added a sortFields parameter to gfindObjects for Lucene, sorting search results as specified, see the index.properties file in configTestOnLucene.
  • Added properties snippetBegin and snippetEnd, making highlight code configurable, see the index.properties file in configTestOnLucene.
  • Added property for custom URIResolver used by xslt transformers for basic auth and SSL, see the example dk.defxws.fedoragsearch.server.URIResolverImpl class and the index.properties file in configTestOnLucene.
  • Removed encoding of special characters in indexFields. Snippets now show special characters without modification. Indexes should be reindexed.

...

  • Inspect the Lucene index with Luke. Notice, Luke cannot open an empty Lucene index.
  • You may tailor the highlight of search terms in demo.css.
  • You may want to experiment with more than one configuration, in which case you may maintain them under different names in parallel to the "config" configuration, which is the default configuration. In order to activate an alternative configuration you may use the semi-secret operation configure with parameter configName, either using the demo command line client or the REST interface.
Info
titleAlternate Web Application Context

If you are configuring GSearch to work with a Fedora 3.2+ server and you have elected to use a web application context other than 'fedora' (i.e. the URL to your Fedora server is not http://host:port/fedora

) you will need to edit the repository.properties file to update the context in the repository URL. You will also need to update any links provided in XSLT files, such as in basicGfindObjectToHtml.xslt.

Configuring the service for Automatic Updates
Anchor
sauto
sauto

...

  • gSearchUsername - If GSearch is protected by authentication, this is the username that Fedora should use to authenticate.
  • gSearchPassword - The password for the above user, if applicable

...