I've recently set up Webinator 27 and am using result profile 2. I would like to display a count of the number of hits which have been found each abstract. That is, I want to display the number of highlighted words which would appear in the document preview.
Any clues about how to get the count of the number of hits in each abstract, will be greatly appreciated. (the Webinator 27 search script is bewilderingly different than my old version 6.1)
Just to further clarify what I'm after, here's a snippet of my old search script, with my alterations to the old original webinator 6.1 script surrounded by comments with the initials RJS. The result that I'm after is called $dnumhits in this snippet:
<!-- ============================== -->
<!-- set up the abstract -->
<switch $SSc_abstractstyle>
<case desc>
<$dabstract=$Description>
<case smart>
<abstract $Body $SSc_abstractlen smart><$dabstract=$ret>
<case dumb>
<abstract $Body $SSc_abstractlen dumb><$dabstract=$ret>
<default><!--<case query>-->
<strfmt $qsrchfmt $txtquery>
<!-- RJS added -->
<$cleanQuery=$ret>
<!-- RJS end addition -->
<abstract $Body $SSc_abstractlen smart $ret><$dabstract=$ret>
<!-- RJS added dnumhits to count the number of hits in the abstract -->
<strfmt "%mbs" $cleanQuery $Body>
<rex row "<b>" $ret></rex>
<$dnumhits=$loop>
<!-- RJS end addition -->
</switch>