Solr query through Scorched/Sunburnt

2015-10-14 Thread Pippo Pluto
I have a weird problem. I'm querying a Solr 5.3 instance with Django through Scorched. It all works great as far as I don't ask an exact-match query. In other words, q=something something else returns exactly the same result as: q="something something else" The culprit, as far as I can s

Alphabetical list with links

2015-10-14 Thread Pippo Pluto
I have a list of people (something like, in my model: surname = models.CharField(max_length=255) firstname = models.CharField(max_length=255) I'd like to output a table for each starting letter of a surname. So, for example (in the template): {% for author in content %} {% if author.su