Django-sphinx result filtering using attributes?
问题 I was going through the django-sphinx documentation, and it looks like it allows you to filter search results using attributes , queryset = MyModel.search.query('query') results1 = queryset.order_by('@weight', '@id', 'my_attribute') results2 = queryset.filter(my_attribute=5) results3 = queryset.filter(my_other_attribute=[5, 3,4]) results4 = queryset.exclude(my_attribute=5)[0:10] From some examples, these attributes seem to be something you specify in the sphinx configuration file, rather than