MySql Full text or Sphinx or Lucene or anything else? -
i using mysql , have few tables need perform boolean search on. given fact tables innodb type, found out 1 of better ways use sphinx or lucene. have doubt in using these, queries of following format,
select count(*) cnt, date_format(convert_tz(wrdtrk.createdongmtdate,'+00:00',:zone),'%y-%m-%d') dat t_twitter_tracking wrdtrk wrdtrk.word (:word) , wrdtrk.createdongmtdate between :stdate , :enddate group dat;
the queries have date field needs converted timezone of logged in user , field used group by.
now if migrate sphinx/lucene able result similar query above. beginner in sphinx, of these 2 should use or there better.
actually groupby , search ' wrdtrk.word (:word)' major part of query , need move boolean search enhance user experience. database has approximately 23652826 rows , db innodb based , mysql full text search doesnt work.
regards roh
yes. sphinx can this. don't know like (:word)
does, can query @word "exactword"
in sphinx search.
Comments
Post a Comment