close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

MATCH(column) AGAINST(searchitem)

Thread began 8/12/2011 10:04 am by john.denos344051 | Last modified 8/12/2011 1:49 pm by Jason Byrnes | 782 views | 1 replies |

john.denos344051

MATCH(column) AGAINST(searchitem)

I have developed a knowledge base website.
For the moment I search for certain strings with contains.
I want to add a fulltext index and then search with MATCH(column) AGAINST(searchitem)

At this moment this is not a option in DataAssits 2.08.
What is the best solution to handcode in the generated RESULTspage.

John den Os
Leiden
Netherlands

Sign in to reply to this post

Jason ByrnesWebAssist

when you create the full text index, make sure to name it the same as the column you are indexing


my example assumes the table is named "tblName" and the index is named "column"

it also assumes the search form uses the POST method and the search term element is named "searchitem"

create the following recordset in advanced mode:
SELECT *
FROM tbleName
WHERE MATCH(column) AGAINST(paramSearchItem IN BOOLEAN MODE)

in the variables section, create a new variable as:
name: paramSearchItem
Type: Text
Default Value: -1
Runtime Value: $_POST['searchitem']


in the past, I have had mixed results doing full text searches this way.

Sign in to reply to this post

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...