django-haystack / django-haystack/celery-haystack

Unable to use celery-haystack with a index based on multiple models

Open
#56 2 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.