0

I am developing a laravel 5.2 site, and I want to implement search functionality in it. Lets say of higher level, like search OLX.com uses.

I have tried mysql FULL TEXT Indexes but it doesn't give very optimized results.

What will be the best approach to do that? which method should i use?

Your Common Sense
  • 156,878
  • 40
  • 214
  • 345
rida mukhtar
  • 229
  • 2
  • 12
  • try this link...http://www.webreference.com/programming/php/search/2.html – Nitin Dhomse May 27 '16 at 08:49
  • yes i have seen this, but this is a very naive technique to do that. using Like query doesnt work for me. there is going to a data in thousands may be more. So i need more efficient way to do this. – rida mukhtar May 27 '16 at 08:50
  • @NitinDhomse - that's both out of date and far less sophisticated than using a proper FULLTEXT index such as the OP has already tried. It might be worth giving Solr a look : http://lucene.apache.org/solr/ – CD001 May 27 '16 at 08:51
  • Yes I am looking at this right now. but I cant judge is it good for me or not. – rida mukhtar May 27 '16 at 08:54
  • have you tried Elastic search?, which is very fast and optimized. – Nitin Dhomse May 27 '16 at 08:56
  • @NitinDhomse No i havent tried it. Which one will be easy and good? solr or Elastic? as I am doing this first time – rida mukhtar May 27 '16 at 09:12
  • I read somewhere that Google custom search is good approach. IS it for me? as I explained what I want. – rida mukhtar May 27 '16 at 09:15

0 Answers0