Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't search array fields #22

Open
vanboom opened this issue Sep 24, 2015 · 1 comment
Open

Can't search array fields #22

vanboom opened this issue Sep 24, 2015 · 1 comment

Comments

@vanboom
Copy link

vanboom commented Sep 24, 2015

I have an array field that stores an array of tags. I would like to search the tags along with my other fulltext fields.

When I do

   fulltext_search_in :tags

I get
NoMethodError: undefined methodencoding' for ["ghost", "accounting"]:Array`
...when trying to update the fulltext indexes.

Thanks for a great gem! I will contribute if I can figure out how to fix this.

@dblock
Copy link
Contributor

dblock commented Sep 24, 2015

Shouldn't be too hard to implement, looking forward to your PR @vanboom! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants