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