2.7.0 (July 1 2010)

Bug Fixes

ENGINE-2 Syntax Error in Discovery Init Script

Syntax Error in Discovery Init Script.

ENGINE-44 Init Script Fails if Folder Names Contain Spaces

Init Script Fails if Folder Names Contain Spaces.

ENGINE-53 Updating a Text Dimension with New Attributes Caused Unexpected Search Results

Updating a Text Dimension with New Attributes Caused Unexpected Search Results.

Improvements

ENGINE-30 Support for Case-insensitive Matching Against Dimension Values

Support for Case-insensitive Matching Against Dimension Values.

ENGINE-32 Support for “notValue” for Text Dimensions

Support for “notValue” for Text Dimensions.

ENGINE-41 Engine Init Script is now Universal for Linux Variants

Engine Init Script is now Universal for Linux Variants.

ENGINE-49 Text Dimension Analyzers Are Configurable

Text Dimension Analyzers Are Configurable.

ENGINE-52 Dimensions Tab of Admin Page Shows Default Settings Attributes

Dimensions Tab of Admin Page Shows Default Settings Attributes.

Improvements

ENGINE-30 Support for Case-insensitive Matching Against Dimension Values

This feature extends case-insensitive matching, now available for Text dimensions, to Keyword and Tree dimensions.

Case-insensitive matching is enabled for the entire dimensions.xml file by setting attributes on the Dimensions element. To specify the matching sensitivity of individual dimensions, the same attributes can be applied to the Dimension element.

The common attributes are:

ignoreCase = “true” | “false”

Case-insensitive matching is enabled by converting indexed and criterion values to lowercase using a specified Locale.

The Locale specifies the language, country and system variant to use. The default value is United States English for POSIX systems. (en_US_POSIX)

ENGINE-41 Engine Init Script is now Universal for Linux Variants

The start_stop_daemon is no longer required by the init script.

ENGINE-49 Text Dimension Analyzers Are Configurable

For a text type dimension, you can now to specify the following attributes:

<dimension id="name" type="text"
 stemming="false" accentFolding="false" stopWords="a,b,c"/>

The defaults are:

stemming true
accentFolding true
stopWords a, and, are, as, at, be, but, by, for, if, in, into, is, it, no, not, of, on, or, s, such, t, that, the, their, then, there, these, they, this, to, was, will, with

ENGINE-52 Dimensions Tab of Admin Page Shows Default Settings Attributes

The dimensions element now allows attrbibutes that set default values for all defined dimensions. Any attribute placed on the dimensions element will be used by default by any defined dimensions in the document.

<dimensions stemming="false" ignoreCase="true" accentFolding="false">
</dimensions>

New Features

ENGINE-50 Support for “Starting With” Searches Against Dimension Values

This new feature enables “startsWith” searches against value for Text and Keyword dimensions.

To support this feature, the Criteria interface supports a new option “searchStyle” whose values are either “exact” or “startsWith”. The default is “exact”.

Example:

<dimensions ignoreCase="true">
   <dimension id="fulltext" type="text"/>
   <dimension id="tags" type="keyword"/>
</dimensions>
{
  "criteria": [
     { "dimension": "fulltext", "value": "real", "searchStyle": "startsWith" },
     { "dimension": "tags", "value": "love", "searchStyle": "startsWith" }
    ],
  "startIndex": 0,
  "pageSize": 10
}

ENGINE-51 Locale Support

To support Locale-based case conversions for case-insensitive searching, the Engine now supports Locale definitions. Locales consist of three components: Language, Country and System Variant.

Customers can specify a locale in three ways:

  1. by specifying only a language (default=English)
  2. by specifying only a language and a Country (default=US)
  3. by specifying all three: language, country and variant (default=POSIX)

In other words, if variant is specified, then language and country must also be specified.

Language, Country and Variant should be separated by an underscore (_) character, for example: en_US_POSIX.