You could search based on the keyword nokia and cellular and then loop thru
the query results treating the search text as a list delimited by ".". I
would think to be quite processor intensive on a large search result.

Duane

-----Original Message-----
From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 14, 2001 7:48 AM
To: CF-Talk
Subject: Highlighting search results


I have a search query that uses verity to produce search results from a
Product_desc field.
Instead of Verity's summary field, I need to output portions of the
Product_desc column.

I want to output ONLY relevent sentences (the same as Google does), so a
search
for "nokia" or "cellular" or "phone" would output 2-4 diffrent sentences
from Product_desc:

.. Cellular accessories that include Plantronics headsets and horizontal
leather cases for most...
. accessories for Audiovox, Mitsubishi, Samsung, Nokia, Ericsson,
Motorola, Qualcomm...
.. We match our quality cellular phone accessory products with ...

Michael.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to