per-item highlights on individual result items (with docs & tests) #36

merged 1 commit into from Jan 1, 2012


None yet

3 participants


Revised version of my prior pull request for this feature ( #33 ), now with documentation and tests. I went with a field name of "solr_highlights" instead of "solr:highlights" because the : in the field name (while guaranteeing it won't collide with an existing field name) is also problematic (read: impossible to use) in Django templates, which is my primary motivation for adding this.

Hope the tests are general what you were looking for; hope the docs are clear without being too Django specific. --I tried to also draw on the examples in posts to the google group.

Hope you don't have to do much revision.


Minor suggestion. We might want to use … instead of the ... in the example.

@tow tow merged commit b399e54 into tow:master Jan 1, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment