django-haystack / django-haystack/celery-haystack
Unable to use celery-haystack with a index based on multiple models
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 226
- Forks
- 95
- PR merge metrics
- No merged PRs in 30d
Description
The index we are using is based on multiple models. So get_model() method is not defined for the index. I am getting an error that get_model method should be implemented. This works correctly with RealTimeSignalProcessor provided by haystack but not with the CelerySignalProcessor provided by celery_haystack.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the CelerySignalProcessor entry point and trace where get_model() is required for an index based on multiple models. Compare that behavior with Haystack's RealTimeSignalProcessor, then verify that a multi-model index can be processed without requiring get_model().
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100