You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the CompositeIndexer tags in the Hit object are not populated.
I've found a way to resolve this by changing lines 233 and 234 of resultset.py
from:
tags = dict([(tag.prefix, tag.extract(doc))\
for tag in self._indexer.tags])
to:
tags = dict([(tag.prefix, tag.extract(doc))\
for tag in model.indexer.tags])
Original issue reported on code.google.com by michael....@gmail.com on 17 Jan 2011 at 2:35
The text was updated successfully, but these errors were encountered:
We can't use 'model.indexer' here because 1) 'indexer' is an arbitrary name,
and 2) there could be more then single one indexer for the same model.
In r381 there's an initial fix for this issue. It might be changed in favor of
subclassing ResultSet in future.
Original comment by esizi...@gmail.com on 21 Oct 2011 at 7:51
Original issue reported on code.google.com by
michael....@gmail.com
on 17 Jan 2011 at 2:35The text was updated successfully, but these errors were encountered: