close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Help with search syntax please

Thread began 2/09/2010 10:35 am by David CHnet.com | Last modified 2/10/2010 1:36 pm by Eric Mittman | 527 views | 1 replies |

David CHnet.com

Help with search syntax please

I don't understand how to change this line of code ...

$WADbSearch1->keywordComparison($KeyArr1,"".((isset($_POST["descriptionSearch"]))?" ".$_POST["descriptionSearch"]." ":"") ."","AND","Includes",",%20","|%20","%22","%22",0);

I'd love to see the syntax for this documented somewhere.

Anyway, my problem is this. descriptionSearch won't show me anything that has a full stop next to it. eg: it will find the word "service", but not the word "service." I have tried loads of ideas but I either break it or ... break it.

Can someone help please - urgent!!!
THANKS

Sign in to reply to this post

Eric Mittman

This code is the result of applying the DataAssist Search server behavior. All of the parameters that you see in this function call are configured in the DataAssist Search wizard.

In order, you are seeing the type of search, the value used, the separator, the comparison, the AND character, then the OR character, the start and end characters then the field type.

There should be no need to manually edit this as you can make the changes directly in the server behavior. I did a sample test using a keyword type of search using the includes comparison and I was able to search for a column that had a . character in the value and get back that value without issue. Here are some of the search terms used and the results returned in my test:

search for ca. returns ca.r
search for this. returns this. is. a sentence with some. periods

If you could post back with a table in a sql file that has some sample records in it I would be glad to do some tests to see what the problem may be.

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