I’m using the acts_as_index plugin for search and I’ve noticed that it seems to only return elements whose words match the exact query. I want to return elements even if the query is only part of a word. How would I configure for this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
acts_as_indexed only supports partial word matches at the beginning of the word. Here is an example from the docs:
This is to be expected from an indexed search. Searching for partial matches anywhere in a word would negate the benefits of using an index.