Search entries not showing result
Created 9 months 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  —  8 months 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  —  8 months 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  —  8 months 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  —  8 months 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 😄