MACROMEDIA COLDFUSION 5-DEVELOPING Develop Manual page 301

Table of Contents

Advertisement

Creating a Searchable Data Source
3
4
Creating summaries
As part of the indexing process, Verity automatically produces a summary of every
document file or every query result set that gets indexed. The default summarization
selects the best sentences, based on internal rules, up to a maximum of 500
characters. Summarization information is returned by default with every
operation. For more information on this topic, see the Knowledge Base article
"Verity Custom1, Custom2 and Summary Fields" (ID# 1081) at
http://www.coldfusion.com/Support/KnowledgeBase/SearchForm.cfm.
The
variable search_query.Summary. For example, to add a summary for each search
result returned by the collectionsearchaction.cfm page, change the
tag as follows:
<cfoutput query="Search1">
</cfoutput>
For information on an advanced summarization technique, see the Knowledge Base
article "Verity: Synchronizing information stored in Verity Collection" (ID# 1116) at
http://www.coldfusion.com/Support/KnowledgeBase/SearchForm.cfm.
cfsearch properties
Each
the query:
<hr noshade>
</body>
</html>
Save the file as collectionsearchaction.cfm.
View the file
collectionsearchform.cfm
form, and then submit it.
tag returns the summary for each found document in the query
cfsearch
<a href="#Search1.URL#">#Search1.title#</a><br>
#Summary#<br>
query object includes three variables that provide information about
cfsearch
The total number of records returned by the query.
RecordCount
The current row of the query being processed by
CurrentRow
RecordsSearched
If no records were returned in the search, this property returns a null value.
The total number of records in the index that were searched.
in your browser, enter values in the
281
cfsearch
cfoutput query
.
cfoutput

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 5

Table of Contents