Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Soft search not finding Microsoft?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

SiSL
Average Member

Turkey
671 Posts

Posted - 07 December 2007 :  22:44:12  Show Profile  Visit SiSL's Homepage
Greetings,

I think I'm in trouble with Full-Text Search.

I'm searching for word "soft" on Product List, where there are results like "Microsoft Office" and "Ahead Software" with CONTAINS clause such as:

CONTAINS(product_name, ' "soft" OR "soft*" ')


It does not return any result of "microsoft" product. Is it normal behaviour? I can't search like "LIKE '%soft%'" in FT ?

PS: well, ofcourse tried such as "*soft" as well, seems it also did not work.

CHIP Online Forum

My Mods
Select All Code | Fix a vulnerability for your private messages | Avatar Categories W/ Avatar Gallery Mod | Complaint Manager
Admin Level Revisited | Merge Forums | No More Nested Quotes Mod

Edited by - SiSL on 07 December 2007 22:46:49

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 08 December 2007 :  16:59:00  Show Profile  Send pdrg a Yahoo! Message
fine manual :-)

http://www.developer.com/db/article.php/3446891

The problem is you're just not searching with the right syntax, you need to use the contains() with it's parameters set - it is very powerful searching once you get to grips with it and learn how it works - I used it to replace a hugely expensive (and complex) patents searching tool with our own homebrew one in a few days - searching thousands of patents every week with varying terms in mere seconds (this was quite a big deal back in 1998!)

Edited by - pdrg on 08 December 2007 17:02:29
Go to Top of Page

SiSL
Average Member

Turkey
671 Posts

Posted - 08 December 2007 :  17:04:31  Show Profile  Visit SiSL's Homepage
For example, what can I do to show "Microsoft Office" product when someone searches for "soft" ? Just a single line with CONTAINS() ?

Basically I feel it lacks search for some-part-of-a-word, rather search word by word or start of the word, no backwards...

CHIP Online Forum

My Mods
Select All Code | Fix a vulnerability for your private messages | Avatar Categories W/ Avatar Gallery Mod | Complaint Manager
Admin Level Revisited | Merge Forums | No More Nested Quotes Mod

Edited by - SiSL on 08 December 2007 17:58:48
Go to Top of Page

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 09 December 2007 :  11:47:17  Show Profile  Send pdrg a Yahoo! Message
My apologies, I don't have a setup to test on any more - if it's not working, then I guess it's not working and you may have to go back to the LIKE operator if you want to search short character sequences within search terms. I guess the FT engine doesn't work by indexing all the substring permutations of a table!
Go to Top of Page

SiSL
Average Member

Turkey
671 Posts

Posted - 09 December 2007 :  13:00:21  Show Profile  Visit SiSL's Homepage
No need to apologize, just wanted to make sure, if I'm missing something, but throughout various searches I made through Google, I found out, what I ask is not possible unless I use LIKE operator.

Even google can not find Microsoft from search "icrosoft" :)

CHIP Online Forum

My Mods
Select All Code | Fix a vulnerability for your private messages | Avatar Categories W/ Avatar Gallery Mod | Complaint Manager
Admin Level Revisited | Merge Forums | No More Nested Quotes Mod
Go to Top of Page

phy1729
Average Member

USA
589 Posts

Posted - 09 December 2007 :  23:32:21  Show Profile
have you tried *icrosoft?
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.4 seconds. Powered By: Snitz Forums 2000 Version 3.4.07