When searching the context index, we must prioritize results where has_prefix is True.
When searching the context index, we must prioritize results where has_prefix is True.