Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

On the same topic...(Quite urgent)

Status
Not open for further replies.

rmz8

Programmer
Aug 24, 2000
210
US
How do I create a Verity collection so I can search a database of several fields. I have Administrator access, but I don't know how to make a collection with the database documents or implement it once it is created
 
1.) go to the verity section of CF Admin
2.) add a collection. Just give it a name.
3.) on the next page, click on the index button.
4.) select the types of files you want to be indexed.
5.) choose the directory your files are in.
6.) click on the update button... and now you have a very collection that is ready to be used.
 
I am familiar with setting up a Verity to search files. However, I want this to search database entries. Also, how do you implement the search function once the Verity collection is made?
 
for database search....

<input type=&quot;test&quot; name=&quot;SearchString&quot;>

<input type=&quot;submit&quot; value=&quot;search&quot;>


----------------

<cfoutput>
<cfquery name=&quot;SearchDatabase&quot; datasource=&quot;#db#&quot;>
Select *
From YourTable
Where Field like '%#form.SearchString%#'
</cfquery>
</cfoutput>
 
I want to do full-text searching. Not SQL searching. It is not powerful and inefficient. There is a way to create a custom Verity search function in order to search defined database fields. That is what I'm trying to do.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top