close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Database search which ranks results

Thread begun 4/01/2009 10:46 am by nibo | Last modified 4/01/2009 1:57 pm by Ray Borduin | 2171 views | 1 replies |

nibo

Database search which ranks results

Currently using DataAssist 1, although thinking about upgrading to 2. ASP and Access DB.

As part of a shop I'm building I would like to include a simple keyword search box which looks for matches across 2-3 fields. I would like the results to be listed in order of relevance. Is this possible?

i.e. search page results are filtered on three fields - manufacturer, model and description. If the user enters "remo pinstripe", how can I make sure that the resulting recordset lists the most relevant records first?

Is it possible to weight the results toward a particular field, for example, the manufacturer?

I'm not quite sure how best to set-up the search in DataAssist. Should I just add one item which is set to compare with all of the columns I want to search or should I add a separate line for each of the columns I want to search and use the AND and OR separator?

I'm also not clear on the difference between a "value" and a "keyword".

Sorry, lots of questions. I hope someone can help. Thanks.

Sign in to reply to this post

Ray BorduinWebAssist

DataAssist won't help you order by relevance.

Keyword allows you to search across multiple columns. You should probably just use that. Then you would have to find a way to calculate the relevence and order it accordingly since DataAssist does not include that feature.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...