exteNd 5.2.1 Documentation Addenda
Autonomy-based search technology provides conceptual and keyword searching in exteNd Director applications. exteNd Director 5.2.1 incorporates a new version of the Autonomy search engine called Suir Server version 5.0, which is part of the Autonomy IDOL search engine product suite. The Suir Server replaces Autonomy DRE Server version 3.x, the server supported by earlier versions of exteNd Director.
This document describes the differences between the DRE and Suir Servers, and explains how to install, configure, and use the upgraded search engine. Topics include:
Here is a summary of changes to Autonomy-based searching in exteNd Director 5.2.1 as a result of upgrading to the Suir Server:
The installation process is simpler, especially on UNIX platforms. See Installing the Autonomy Suir Server.
The default query and index ports have changed. See New defaults for query and index ports. You can use these new port numbers to verify the status of the Suir Server, as described in Verifying server status.
The Suir Server now processes custom fields automatically, as described in Processing custom fields.
exteNd Director 5.2.1 ships with new Autonomy documentation. See Getting help on the Autonomy Suir Server.
Information in the exteNd Director Content Search Guide that references the Autonomy DRE Server is obsolete. See Backward compatibility.
This section explains how to install the Suir Server on supported platforms. The information in this section supersedes conflicting install instructions in the chapter Configuring Your Environment for Conceptual Searching in the exteNd Director Content Search Guide.
The Suir Server is installed with exteNd Director and launched automatically as a Windows service called DirectorSuir when you start up your machine. The display name of the service is exteNd Director Suir.
To complete the installation, follow these steps:
Add the native library autonomyJNI.dll to your runtime environment.
For detailed instructions, see the section on adding the Autonomy dynamic library to your environment in the chapter Configuring Your Environment for Conceptual Searching in the exteNd Director Content Search Guide.
The executable file is DirectorSuir.exe, located in:
exteNd install directory/Director/autonomy/engine
The Autonomy search engine is now installed automatically on Linux and Solaris servers when you install exteNd Director 5.2.1. You no longer need to run a setup script.
To complete the installation, follow these steps:
Add the native library libautonomyJNI.so to your runtime environment.
For detailed instructions, see the section on adding the Autonomy dynamic library to your environment in the chapter Configuring Your Environment for Conceptual Searching in the exteNd Director Content Search Guide.
The directory structure for the Autonomy search engine has been reconfigured to match the one provided for Windows. The root installation folder is:
exteNd install directory/Director/autonomy
This folder contains:
engine subfolder, which contains Autonomy search engine executables
OmniSlaves subfolder, which contains the executables and files used to import documents into the search engine
The executable is DirectorSUIR.exe, located in:
exteNd install directory/Director/autonomy/engine
To start the Suir Server on a Unix machine, execute the startSUIR.sh script. This script launches the server as a Unix daemon. You can stop the running server by running the stopSUIR.sh script. These scripts reside in the root installation folder:
exteNd install directory/Director/autonomy
The default ports for the search engine have changed as follows:
Port |
Old Default |
New Default |
---|---|---|
Query port |
2000 |
52000 |
Index port |
2001 |
52001 |
To change the ports for the search engine, you must modify them in two locations:
Modify the query and index port numbers in the exteNd Director project
For detailed instructions, see the sections Query Port and Index Port in the chapter Search Options Reference in the exteNd Director Content Search Guide.
Modify the query and index port numbers in the Suir Server configuration file:
exteNd install directory/Director/autonomy/engine/DirectorSuir.cfg
You can verify Suir Server status by:
You can query the Suir Server using the Autonomy JNI API.
To query the Suir Server port, enter this URL in your browser:
http://server name:Suir Server port/qmethod=v
By default, the Suir Server runs on port 52000, specified as QUERYPORT in the Suir Server configuration file, located in:
exteNd install directory/Director/autonomy/engine/DirectorSuir.cfg
Here is an example of the status information you receive when you query the Suir Server port:
The ACI interface is a new API included with the Suir Server. This interface contains a set of HTTP commands that provide new query functionality for communicating with the Suir Server. You can use ACI commands in place of the HTTP commands used by the Autonomy JNI API, such as the qmethod commands. The Suir Server continues to support the JNI API.
NOTE: exteNd Director does not use the new ACI API or ACI HTTP commands internally. Instead, it continues to use the Autonomy JNI API which uses the qmethod HTTP commands.
To query the ACI interface port, enter this URL in your browser:
http://server name:ACI interface port/action=GetStatus
By default, the ACI interface uses port 52003, specified as PORT in the Suir Server configuration file:
exteNd install directory/Director/autonomy/engine/DirectorSuir.cfg
Here is an example of the status information you receive when you query the ACI interface port:
The following URLs provide help on using the ACI:
To learn about: |
Use this URL: |
---|---|
Using ACI HTTP commands |
http://host name:ACI port/action=Help For example, if your host is MyHost using the default ACI port, enter this URL: http://MyHost:52003/action=Help |
Configuring ACI |
http://host name:ACI port/action=confighelp For example, if your host is MyHost using the default ACI port, enter this URL: http://MyHost:52003/action=confighelp |
Issuing HTTP queries using ACI |
http://host name:ACI port/action=Query&Text=search phrase For example, if your host is MyHost using the default ACI port and your search phrase is Human Resources, enter this URL: http://MyHost:52003/action=Query&Text=Human Resources
|
The Autonomy Suir Server streamlines the process of indexing custom fields. exteNd Director supports several types of custom fields for describing documents stored in the content repository:
The following sections describe how the Suir Server processes metadata fields and user-defined fields for searching.
Metadata fields are now indexed automatically and incorporated into query results.
To speed up the index process and optimize disk space, you can prevent one or more metadata fields from being indexed, as described in Excluding custom fields from the index process.
User-defined fields are now indexed automatically for searching. You no longer need to restart the server to make sure that the Autonomy search engine adds the values of the new fields to the index store.
However, user-defined fields are not automatically incorporated into query results. This means that when you search for documents that contain specific user-defined field values, the query returns the expected documents, but does not list the user-defined fields in the query results.
You specify the fields to include in query results by editing a results template located in:
exteNd install directory/Director/autonomy/engine/templates/resultsbody.txt
By default, the results template contains Autonomy-defined fields and the exteNd Director metadata fields. These fields will automatically appear in query results. To include your own custom fields in query results, you need to add them to the template, as follows:
Open the results template in your favorite text editor:
The results template is located in:
exteNd install directory/Director/autonomy/engine/templates/resultsbody.txt
Add a descriptor entry for your custom field.
For example, if you defined a custom field called REFERENCEDBY, add a descriptor that looks something like this:
REFERENCEDBY=<!-- ATNMY_FIELD MATCH="*/REFERENCEDBY" TRIM="1" ESCAPE="0" -->
In this example, the descriptor contains the following additional parameter settings:
Parameter |
What it means |
---|---|
TRIM |
Controls line break characters: |
ESCAPE |
Determines whether to escape special characters: |
For more information about template descriptors and syntax, see the Autonomy IDOL Server Administrator's Guide, installed with exteNd Director 5.2.1, as described in Getting help on the Autonomy Suir Server.
Force the Suir Server to read the changes in the template by using one of the following methods:
To speed up the indexing process and conserve disk storage, you can prevent the Suir Server from indexing custom fields that you do not intend to search on in a field query. The Suir Server uses a configuration parameter called CantHaveFieldCSVs to specify which fields should not be indexed. The parameter is located in the Server section of the Suir Server configuration file:
exteNd install directory/Director/autonomy/engine/DirectorSuir.cfg
To prevent a field from being indexed, follow these steps:
Append the field to the comma-separated list of values for CantHaveFieldCSVs.
For example, suppose you define a custom field called CITATIONS. By default, this field will be indexed for searching. To prevent it from being indexed, add the custom field to the CantHaveFieldCSVs descriptor, as in this example:
CantHaveFieldCSVs=*/CHECKSUM,*/DREWORDCOUNT,*/CITATIONS
Force the Suir Server to read the changes in the configuration file by using one of the following methods:
The Suir Server requires that custom field names contain only alphanumeric characters and underscores, but no other punctuation or embedded spaces.
There are several ways to get help on how to use the Autonomy Suir Server:
Read the Autonomy IDOL Server Administrator's Guide, installed with exteNd Director 5.2.1 at the following location:
exteNd install directory/Docs/help/Autonomy
NOTE: The IDOL Server Administrator's Guide also contains information about the Nore, Laune, and DiSH servers, but these are not used by exteNd Director 5.2.1.
Access Autonomy online help by querying a running server, as follows:
This section describes backward compatibility issues you may encounter when you upgrade from previous versions of exteNd Director.
This section describes how exteNd Director 5.2.1 handles previously installed Autonomy DRE Servers on Windows and UNIX platforms.
On Windows platforms, exteNd Director 5.2.1 automatically launches the Autonomy search engine as a service called exteNd Director Suir on startup. In previous exteNd Director versions, the service was called exteNd Director DRE.
The exteNd Director 5.2.1 installer disables exteNd Director DRE services it detects, but does not remove them. You can run exteNd Director Suir and exteNd Director DRE services simultaneously as long as they use different ports. However, both services run on the same port by default so you must reconfigure one of the installations before running both search engines on multiple versions of exteNd Director on a single machine. For instructions, see Reconfiguring query and index ports.
You can safely remove the exteNd Director DRE service when you no longer need earlier versions of exteNd Director.
The exteNd Director 5.2.1 installer does not stop Autonomy DRE Servers on UNIX platforms. It is recommended that you terminate any running queryh processes once you no longer require the earlier version of the Autonomy search engine.
exteNd Director 5.2.1 continues to include the Autonomy DRE Administration Tool on Windows because it can be used with a local Suir Server and with a Suir Server running on a remote UNIX machine.
The DRE Administration Tool no longer provides an Import tab.
The information in this document supersedes conflicting information in the exteNd Director Content Search Guide as follows:
The instructions in Installing the Autonomy Suir Server supersede conflicting install instructions in the chapter Configuring Your Environment for Conceptual Searching in the exteNd Director Content Search Guide.
The default ports for the search engine have changed as described in New defaults for query and index ports. Sections of the exteNd Director Content Search Guide may display the old default port numbers. All other instructions on configuring the search engine are correct in the chapter Configuring Your Environment for Conceptual Searching.
To change ports, see Reconfiguring query and index ports.
Copyright © 2004-2005 Novell, Inc. All rights reserved. Copyright © 1997, 1998, 1999, 2000, 2001, 2002, 2003 SilverStream Software, LLC. All rights reserved. more ...