From 1d2919b93a4835aa36ad39f32c1bdeb34fdcb142 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 19 Dec 2007 13:35:39 +0000 Subject: [PATCH] On facets and versions. --- NEWS | 13 +++++++++++++ doc/architecture.xml | 18 ++++++++++++++++-- doc/field-structure.xml | 10 +++++----- doc/introduction.xml | 12 +++++------- 4 files changed, 39 insertions(+), 14 deletions(-) diff --git a/NEWS b/NEWS index ab77e34..9ef7e85 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,16 @@ +--- 2.0.20 2007/12/19 + +Added experimental support for faceted results. This is implemented +as a special retrieval on a result set and is triggered using element +set name zebra::facet::f1:t1,f2,t2,.. which will return terms and +hit counts for field f1, type t1, field f2, type t2, .. The returned +data is packed as XML or SUTRS depending on record syntax. + +Added support for Unicode-based indexing using ICU. This allows +locale specific scanning, sorting. The implementation is based on +the ICU utility part of YAZ 3.0.16 and later. See the manual as well +as the examples/marcxml for an example of the use of ICU. + --- 2.0.18 2007/09/19 Fixed bug with scan and staticrank enabled. Bug introduced in 2.0.16. diff --git a/doc/architecture.xml b/doc/architecture.xml index c5cda76..3f8ad6d 100644 --- a/doc/architecture.xml +++ b/doc/architecture.xml @@ -1,5 +1,5 @@ - + Overview of &zebra; Architecture
@@ -501,13 +501,27 @@ zebra::snippet - Get snippet for record. This includes a phrase from the original + Get snippet for record for one or more indexes (f1,f2,..). + This includes a phrase from the original record at the point where a match occurs (for a query). By default give terms before - and after are included in the snippet. The matching terms are enclosed within element <s>. The snippet facility requires Zebra 2.0.16 or later. + &acro.xml; and &acro.sutrs; + + + + zebra::facet::f1:t1,f2:t2,.. + + + Get facet of a result set. The facet result is returned + as if it was a normal record, while in reality is a + recap of most "important" terms in a result set for the fields + given. + The facet facility first appeared in Zebra 2.0.20. + &acro.xml; diff --git a/doc/field-structure.xml b/doc/field-structure.xml index bf02d35..3666d2e 100644 --- a/doc/field-structure.xml +++ b/doc/field-structure.xml @@ -1,5 +1,5 @@ - + Field Structure and Character Sets @@ -22,10 +22,10 @@ - Zebra 1.3 and Zebra 2.0 series require that the field type is - a single character, e.g. w (for word), and - p for phrase. Zebra 2.1 allows field types to - be any string. This allows for greater flexibility - in particular + Zebra 1.3 and Zebra versions 2.0.18 and earlier required that the field + type is a single character, e.g. w (for word), and + p for phrase. Zebra 2.0.20 and later allow field types + to be any string. This allows for greater flexibility - in particular per-locale (language) fields can be defined. diff --git a/doc/introduction.xml b/doc/introduction.xml index b88f4c9..e3d884f 100644 --- a/doc/introduction.xml +++ b/doc/introduction.xml @@ -1,5 +1,5 @@ - + Introduction
@@ -274,12 +274,10 @@ Facetted browsing - partial - &zebra; supports scan inside a hit - set from a previous search, thus reducing the listed - terms to the - subset of terms found in the documents/records of the hit - set. + available + Zebra 2.1 and allows retrieval of facets for + a result set. + -- 1.7.10.4