MySQL Forums
Forum List  »  Full-Text Search

Fulltext search urls like http://domain.com
Posted by: Dmitry Akinin
Date: December 28, 2012 03:28PM

I have a table with fulltext index on field, that contains some text with urls (site comments table). Sometimes we need to find some url in our user's comments.

For example:
query: http://domain.com
results:
comment1 ... http://domain.com ......
comment2 ... http://another.com ......
comment3 ... http://and_another_domain.com ......
etc.

In search results we see many comments that contains only http://, not full url that we search.

If a quote my query: "http://domain.com";, I get right results:
comment1 ... http://domain.com ......
comment2 ... http://domain.com ......
comment3 ... http://domain.com ......

Can I configume MySQL behavior somehow, to eliminate the need to put quotes in the query?

Thanx.

Options: ReplyQuote


Subject
Views
Written By
Posted
Fulltext search urls like http://domain.com
3965
December 28, 2012 03:28PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.