Store Indexed data on the Hit Object?

6 views
Skip to first unread message

esatte...@wi.rr.com

unread,
May 13, 2011, 9:15:23 AM5/13/11
to Djapian Users
I'm curious to know if there has been any though into putting the
content from the index into the Hit objects that come back from the
search. This as opposed to having to loop over each Hit object an
reference the `instance` property.

So if my indexer class had a field called `content`

The hit object would also have a property called content and I could
fetch that information from my search results rather than having to
hit the DB and get the data from a model object.
Reply all
Reply to author
Forward
0 new messages