I have 3 models with 3 indexes like (Modelname1Index, ModelName2Index, Modelname3Index) in search_indexes.py.
SearchQuerySet().filter is search from all the three, but I want to search each of them separately.
So, I tried doing like:
SearchQuerySet().filter(text=query).models(required_model_name)
But, it is returning results from the whole search(from all models), not from single model mentioned.
Also, when doing rebuild index, the no objects indexed for third model as that model's doesnt have any rows.
So, .models(thirdmodel) is returning empty result, but .models(any of the two other models) returning the whole result.