This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes JDBC with Full Text Search? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC with Full Text Search?" Watch "JDBC with Full Text Search?" New topic
Author

JDBC with Full Text Search?

Leonardo Carreira
Ranch Hand

Joined: Apr 07, 2009
Posts: 489

Hi Friends..

i have a question..
i use Swing application + JDBC + MySQL v5.0.81..

is it possible to put Full Text Search for my application?..
if its possible, what is the best tool that i have to use?
How about Sphinx?..
or is there any Full Text Search tool which could be ran with jdbc together?..

Thanks in advance

Sorry, perhaps my english language isn't too good.. Prepare for SCJP 6, Please God help me.. ☼
References : [Java.Boot] [JavaChamp] [JavaPrepare]
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42954
    
  73
That depends on what, exactly, you mean by "full text search". SQL can find any text within varchar fields using the "... like '%searchstring%' ... " syntax.
Leonardo Carreira
Ranch Hand

Joined: Apr 07, 2009
Posts: 489

Thanks @Ulf for your reply..

sincerely, i really doubt.. when is the best way to use Full Text Search?..
if i use Full Text Search like Sphinx, is performance of my query is better than before?..

Thanks..
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42954
    
  73
So you have text search now? How does it work, and why do you want to change it? Just for performance reasons?
Leonardo Carreira
Ranch Hand

Joined: Apr 07, 2009
Posts: 489

i just want to try to know comparison both of them..


Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42954
    
  73
How can we compare two things if we only know one of them?
Leonardo Carreira
Ranch Hand

Joined: Apr 07, 2009
Posts: 489

yeah.. exactly we can't compare both of them..

okay, i will keep using PreparedStatement..
Thanks in advance...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JDBC with Full Text Search?