Here's what I do.  I file this under the category "elegant hack".

The content that I want to index resides in a table.  To
over-simplify, the table contains a numeric identifier (key), text and
date fields.

I create a collection that indexes just text search terms (i.e. just
the text fields).

I have an "advanced search" interface.  If the text field is a Verity
term (I created a UDF that determines if the search is Verity or not),
I search against my collection and return a resultset of just keys.  I
then create a list of those keys.  Finally, I pass that list of keys
(I return a max of 1,000) in to a standard SQL query "IN" statement
within the WHERE clause that filters the other defined parameters of
the SQL query (including any date logic).

Works great, I don't have to be limited by having only 4 CUSTOM
fields, it gives me far more search flexibility, and it only adds a
bit of overhead to the verity search.

Pete

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215820
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to