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

Multiple indices for a given model #127

Open
fabiociotoli opened this issue Nov 25, 2015 · 0 comments
Open

Multiple indices for a given model #127

fabiociotoli opened this issue Nov 25, 2015 · 0 comments

Comments

@fabiociotoli
Copy link

I have two indices, ModelIndexA and ModelIndexB, both for same model (A is default).
In my settings I have:

...'INDICES': { 'index_a': 'package.index_a', 'index_b': 'package.index_b' }...

When the search_index --update is executed, just the default index is updated.
In both ModelIndex subclasses I redefined the matches_indexing_condition method and I saw that this is called just for default index.

Is there any workaround?

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

No branches or pull requests

1 participant