Thursday, March 17, 2016

Oracle Endeca - how to use snippeting in Record Searches??

Definition :- The snippeting feature (also referred to as keyword in context or KWIC) provides the ability to return an extract from a r... thumbnail 1 summary
Definition:-

The snippeting feature (also referred to as keyword in context or KWIC) provides the ability to return
an extract from a record—called a snippet—to an application user who performs a record search query. A snippet contains the search terms that the user provided along with a portion of the term’s surrounding content to provide context

A snippet can be based on the term itself or on any thesaurus or spell-correction equivalents. At least
one instance of a term or equivalent is highlighted per snippet, regardless of the number of times the
term or its equivalents appear in the snippet. A thesaurus or spell-corrected alternative may be
highlighted instead of the term itself, even if both appear within the snippet.


Enabling and Configuring snippeting :-

You can configure snippeting on a per query basis by using the Ntx URL query parameter, the snip operator of Ntx , and key/value pairs that indicate which field to snippet and how many words to return
in a snippet. 

Find out example below:-

In a record search for records containing the word brilliant, snippet the product.longDescription property with
a maximum size of 10 words:

N=0&Ntk=All&Ntt=brilliant&Ntx=snip+product.longDescription:10


Endeca Record search snippeting


Endeca generates a new property "product.longDescription.Snippet" as part of attributes as per screen shot above.









No comments

Post a Comment

Note: Only a member of this blog may post a comment.

Text Widget