close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

multiple keyword search phrases

Thread began 8/02/2010 12:47 pm by gab13726 | Last modified 8/03/2010 11:44 am by Jason Byrnes | 1354 views | 14 replies |

gab13726

multiple keyword search phrases

It appears that if you want to search for a phrase like "white shirt" you have to enter "white, shirt" to bring up results that include both words. Otherwise the results bring up all white items and all shirts. Is there any way to configure the search so that "white shirt" would bring up the "and" results rather than the "or" results?

Sign in to reply to this post

Jason ByrnesWebAssist

in the DataAssist search server behavior, edit the key word search.

there is a section for "Keyword AND" and "Keyword OR" separators.

you can set the Keyword AND separator to a blank space to accomplish this.

Sign in to reply to this post

gab13726

Can you be a little more specific how I make it and a blank?

Sign in to reply to this post

gab13726

Never mind. I figured it out. Thank you.

Sign in to reply to this post

Jason ByrnesWebAssist

Glad to hear it is working.

Sign in to reply to this post

gab13726

So, when I switch to a space for "and" and comma for "or", the search results only give me results that have "white shirt", not results that have "a shirt with blue and white stripes". Am I doing something wrong, or is this a limitation of the search facility that it will only give me the exact phrase?

Sign in to reply to this post

Jason ByrnesWebAssist

for that phrase to return a result, there would need to be a record in the database where the search column contains each of the words being searched. if all of those words are no present in the column it will not be returned.


also, what is your comparison? is it set to use includes or equals?
if it is set to equals, try using includes.

Sign in to reply to this post

gab13726

I am using "includes".

So "and" does not mean just having the two words "shirt" and "white" in the field. They have to be consecutive and in the exact order "white shirts"?

Sign in to reply to this post

Jason ByrnesWebAssist

not consecutive order, no.

but each word does need to be in the field.

Sign in to reply to this post

gab13726

This is the query that results when I search for "blue tabriz":

WHERE ((stockDesc LIKE '%blue tabriz%') OR (stockNo LIKE '%blue tabriz%') OR (fullDesc LIKE '%blue tabriz%'))

rather than

WHERE (((stockDesc LIKE '%blue%') AND stockDesc LIKE '%tabriz%')) OR ((stockNo LIKE '%blue%') AND (stockNo LIKE '%tabriz%')) etc...

So, am I doing something wrong in my instructions in the wizard to use a space for AND?

Sign in to reply to this post
loading

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