In a website I have a large number of products. In the search page user can find the product by searching at the top of the page.
I can search in two methods.
- When user starts typing I can return all the products ( with a max limit ) that contains the search query as substring.
- Or i can return all the products that starts with the particular search query.
Considering the UX which search is more convenient for the user ?
Are there any test results based on the above problem ?