Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
oak3 #1
combining verity collection searches
I was wondering about combining the results of two different collections and
the best way to approach this. If I have 1 table which consists of 3 fields,
ID, memo1, and memo2, and I want people to be able to independently search
either memo1, or memo2, or both, should I have 2 or 3 collections to do this?
What I've got right now is 2 collections with memo1 or memo2 in the body
attribute and the ID in the custom1 attribute. So I'd like to do this:
select * FROM memo1collection union select * FROM memo2collection ORDER
BY custom1 but it's throwing an error: Query Of Queries runtime error. All
resulting columns of queries in a SELECT statement containing a UNION operator
must have corresponding types. Columns with index number equal '5' have
diffent types (VARCHAR, OTHER). Both memo fields are just access DB memo
fields and the ID field is identical to both collections. Can anyone help me
out on this? Or should I just create a 3rd collection (not optimal for disk
space obviously) that contains both sets. Thanks, Oak
oak3 Guest
-
Verity collection issues
I've been using a system for searching in my CF powered apps for some years now, and it works pretty well., but now I've got a bit of a problem with... -
Enable Verity Searches???
Hi, We resently upgraded to MX 7 and have lost the ability to use Verity collections. CF Admin just says to 'configure your application server to... -
verity and database collection
I am trying to create a Verity collection from a database table using a query. It appears the collection is created but the search never finds any... -
Combining Verity with Query of Queries
Verity is capable of very powerful text searches and indexing, but it only returns Key, title, and decription. I'm working on an e-commerce site... -
Verity - Combining Explicit Search Operators
Hi, I am trying to combine search operators but finding no examples or help in the CF documentation. Can anyone help with the proper CFSEARCH...



Reply With Quote

