这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@boena
Copy link

@boena boena commented Mar 23, 2012

I am using Globalize3 and noticed that acts_as_indexed didn't work correctly for my multi-lingual site.

The problem was that if I started with locale :en and made a search, it indexed all the translated fields for english. But if I then changed language to :sv and made a different search it didn't re-index and I only got hits for the search phrase on the previously indexed english hits. This fix will add a folder with the locale to each model so that you will be able to index correctly.

Don't know if it should be a merge to the main project (due to the I18n dependency) but might be a nice branch if someone else has the same problem.

@j15e
Copy link

j15e commented Oct 25, 2012

Thanks, might use this, exactly what I was looking for

@parndt
Copy link
Collaborator

parndt commented Dec 10, 2012

@dougal any interest?

@dougal
Copy link
Owner

dougal commented Dec 20, 2012

Interesting, but I need to have a play with Globalize to really understand how it works.

@ryankopf
Copy link
Collaborator

Won't merge without test coverage, as this is 11 years old.

@ryankopf ryankopf closed this Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants