X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Farchitecture.xml;h=c1088d60763c408294db261b65dd381c3ee90df1;hb=7d2e837262bb9d7b393cf01a6c5f8b079add3d11;hp=c5cda765924d405d1bdac8d7bef362b0eed8336c;hpb=ac7e25f7dba2a56d0ecb9babd9512a20e5712bb0;p=idzebra-moved-to-github.git diff --git a/doc/architecture.xml b/doc/architecture.xml index c5cda76..c1088d6 100644 --- a/doc/architecture.xml +++ b/doc/architecture.xml @@ -1,5 +1,4 @@ - Overview of &zebra; Architecture
@@ -501,13 +500,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;