April 26, 2012 at 4:33 am
Hello everyone,
A customer asked for a system change allowing a specific varchar field to be queryable using some kind of operators in a "google-style" fashion.
He wants to be able to query for Gas AND Food OR Drink, and the result should contain Gas combined with Food or with Drink, or something like "Gas Station", that would bring a perfect match for Gas Station.
Unfortunately, Full Text Search is not an option - for some weird reason, it's not allowed in our corporate servers. Neither dynamic sql.
Has anyone achieved that or has some light to shed on this topic?
Thanks in advance for any help.
April 26, 2012 at 4:50 am
...
Unfortunately, Full Text Search is not an option - for some weird reason, it's not allowed in our corporate servers. Neither dynamic sql.
...
The closest to "google-style" search in SQL is Full-text search, if it's not an option, you can advise to change technology. For example document DB's (such as Mongo) can do it in much better way.
I wonder, what will happen if the project sponsor (business) who pays for the technology will find out that their IT have "some weird reasons" for not using features of the product business paid a substantial amount of money for, instead coming up with really weird ideas of custom implementations (kind of bicycle inventions) which will cost a lot more and usually achieving much worse results.
Is this sort of Government organisation?
April 26, 2012 at 4:56 am
Is this sort of Government organisation?
:-D:-D:-D
I'll not even lose time trying to find out how you knew it
April 26, 2012 at 5:16 am
Then tell your customer he cannot have the "google-style" search as their IT prohibits it.
April 29, 2012 at 5:49 pm
Teach the user how to use LIKE. It's easier.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 30, 2012 at 1:07 pm
Are you able to use CLR?
April 30, 2012 at 1:14 pm
also did you look at this long, detailed article here on SSC:
A Google Like Full Text Search[/url]
when the article came out, and i played with it, i learned a LOT.
Lowell
April 30, 2012 at 3:03 pm
I saw the article, is really cool, but i think our partner can't use FTS.
May 2, 2012 at 1:25 pm
Hello everyone,
Sorry for not replying before. After much talking, explanation, drawing... our client agreed with FTS, and the article helped solve the question.
Thanks everyone for your valuable help!
May 3, 2012 at 3:38 am
What have you drawn to them? I can only guess...
But I know for sure what I would draw... :hehe:
May 3, 2012 at 4:39 am
Good morning everyone,
Well... let's say this thread was really convincing... :w00t:
Viewing 11 posts - 1 through 11 (of 11 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy