def get_results(self):
        results = self.form.search().models(Article, Code)
        return results
Limit primary search results to Article and Code matches.
dataset/ETHPy150Open mozilla/source/source/base/views.py/SourceSearchView.get_results