I have a single search index with several fields. I have set boost on them. I have rebuilt my index and elastic search _mapping shows the correct boost values so I am confident it is setup as expected.
Within my search index I have a field called text which is my document and within the template for it I am adding all of the attributes so they are searchable.
The problem I have is that boost does not seem to work.
I have a unique term that I have added to two different fields of two different models. The one with the higher boost is not being returned first.
I am guessing the problem is my query:
SearchQuerySet().filter(content=self.cleaned_data.get('q'))
Is this what it should be?