3.0.0 (May 19 2011)¶
ENGINE-275 GroupBy Support¶
Version 3.0 now provides full groupBy support for items with a one-to-many relationship. For example, for real estate apartment rental applications, the intent is to find a specific apartment with specific characteristics. In addition to apartment features, many apartments are part of a Site, Community or Development that also has common features.
This feature requires that the item database include at least two types of items, the parent (the item that determines the groups) and the child (the item the customer wants to locate). The query specifies the child search criteria and then groups the results by the parent in the order of the best match to the child item. To use the real estate example, the query searches for apartments that have specific features (studio, bathrooms, fireplace, washer/dryer), then organizes the results into the Communities in which the first Community returned is the Community for the apartment with the highest relevance!
The query API has been enhanced to return any of the Parent item (Community) property values as well as any of the child item property data (apartments) for each group.
GroupBy dimensions may index one and only one value.
GroupBy requires a groupBy type dimension over the group by value.
<dimension type="groupBy" key="site_item_id" />
ENGINE-45 Dimension Element ‘name’ Attribute Available in Query Response¶
A tree type dimension can have elements that include a name attribute. This was useful for customers who index an mnemonic id or some other coded format. The name attribute is now available as a label in the indexValues query response. To enable this feature, use the indexValues request criterion field includeLabel.
This feature can further reduce the need for additional round trips to fetch data required to render your UI.
ENGINE-113 Exact and Fuzzy Relevance Score Overrides¶
There are two new query request criterion fields that override any built-in scoring that might be assigned to a criterion. Use exactRelevance to specify the score to use for any exact match for the criterion. Use fuzzyRelevance to specify the score to use for any fuzzy (non-exact) matches.
ENGINE-326 ENGINE-466 ENGINE-469 Hit Detection enabled for Keyword, Text, fieldedText, geoloc, long, integer, double & time dimensions¶
IndexValues was introduced in version 2.9.1. This release adds additional types supported by this feature.
ENGINE-456 Changeset Importing Error Control Improved¶
The engine now provides clearer error messages when a changeset failed to import because of invalid data for a property value.