Search entries not showing result
Created 6 years ago by firdhana

Hi All, I have entries stream with search. but result are empty. Already scout:import and streams:index but still now showing any result. any idea why?

ryanthompson  —  6 years ago Best Answer

If you are using entries(...).search(term) it's fuzzy but also uses weight in the overall amount of text the match is found in. You can do LIKE queries without the search method 😄

ryanthompson  —  6 years ago

Can you show us some code? Is the stream searchable? This would be defined in the CP or via migration depending on where you made it.

firdhana  —  6 years ago

it seems it has to be exact word. I was thought it will use LIKE query. am i right? because when i use full word, it show just right. related to search, are they any multiple stream search like old pyro do with CI? I am not very good at laravel, just learning now.

ryanthompson  —  6 years ago Best Answer

If you are using entries(...).search(term) it's fuzzy but also uses weight in the overall amount of text the match is found in. You can do LIKE queries without the search method 😄