Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dev:sql:functions:context:home [2009/12/07 15:10]
tdo
dev:sql:functions:context:home [2016/06/28 22:38] (current)
Line 3: Line 3:
 ===== Omnidex SQL Function: $CONTEXT ===== ===== Omnidex SQL Function: $CONTEXT =====
  
 +===== Description =====
 The $CONTEXT function is used to retrieve small excerpts from a document containing the search criteria. ​ The $CONTEXT function returns the words adjacent to the criteria, formatting them if requested so that they keywords are easily visible. ​ The $CONTEXT function can return multiple of these contexts in one string, allowing the user to see the various locations which led to an entry being qualified. The $CONTEXT function is used to retrieve small excerpts from a document containing the search criteria. ​ The $CONTEXT function returns the words adjacent to the criteria, formatting them if requested so that they keywords are easily visible. ​ The $CONTEXT function can return multiple of these contexts in one string, allowing the user to see the various locations which led to an entry being qualified.
  
Line 60: Line 61:
 == label == == label ==
 An optional label that describes this particular search. ​ This label is not needed unless multiple $CONTAINS functions are used in the SQL statement. ​ This label refers to the label used in the $CONTAINS function. The label is case-insensitive,​ and may be up to 32 characters long. An optional label that describes this particular search. ​ This label is not needed unless multiple $CONTAINS functions are used in the SQL statement. ​ This label refers to the label used in the $CONTAINS function. The label is case-insensitive,​ and may be up to 32 characters long.
 +==== Options ====
 +END_HIGHLIGHT ​
  
 ===== Example ===== ===== Example =====
 
Back to top
dev/sql/functions/context/home.1260198637.txt.gz ยท Last modified: 2016/06/28 22:38 (external edit)