Obviously, seeing more of your code would help. I've successfully
used taggit with Haystack several times. All your ought to need to do
is something like:
======
class EntrySearchIndex(indexes.SearchIndex):
text = indexes.CharField(document=True, use_template=True)
# Your fields here, then...
tags = indexes.MultiValueField()
def prepare_tags(self, obj):
return [tag.name for tag in obj.tags.all()]
====
You don't need to use the ``prepare`` override in this case,
because you already have a ``tags`` field and because you don't need
to access the prepared results of more than one field.
Daniel
> --
> You received this message because you are subscribed to the Google Groups "django-haystack" group.
> To post to this group, send email to django-...@googlegroups.com.
> To unsubscribe from this group, send email to django-haysta...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-haystack?hl=en.
>
>