Skip navigation links

MySQL Forums :: Full-Text Search :: Fulltext search urls like http://domain.com


Advanced 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 1761 Dmitry Akinin 12/28/2012 03:28PM
Re: Fulltext search urls like http://domain.com 912 Rick James 12/31/2012 09:16PM


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.