0

I am trying to split the whole search string by (, ) and then take each word to return each searched product. But that's not working.Can anyone give any idea on how should I approach this?

  • what you need is django full text search. check it out here: https://docs.djangoproject.com/en/2.0/ref/contrib/postgres/search/ – saviour123 Feb 05 '18 at 11:58
  • @saviour123 Is there any way of using full text search in sqlite3? – John Mayer Feb 05 '18 at 13:08
  • yes. They call FTS3 extension.. check this resources.. https://stackoverflow.com/questions/35020797/how-to-use-full-text-search-in-sqlite3-database-in-django, http://www.rkblog.rk.edu.pl/w/p/fulltext-search-sqlite-and-django-app/ – saviour123 Feb 05 '18 at 14:39

0 Answers0