Questions tagged [django-haystack]

Haystack is a modular search app for Django projects. It aims to provide a familiar API for django developers that does not depend on the backend used for searching.

Haystack gives django developers a familiar API to write search code and use it with any supported search engine (as of this writing those are Solr, Whoosh, ElasticSearch and Xapian). It also provides basic views and forms necessary for building the search infrastructure into your project in a way that is extensible and doesn't require modifications in other apps.

It provide advanced features like

  • Highlighting
  • Faceting
  • Autocomplete
  • Boost
  • Signal Processors
  • Multiple Indexes
  • Rich Content Extraction
  • Spatial Search
1312 questions
0
votes
1 answer

Django - get_FOO_display method - display choice long name

I am trying to create a method(s) on my model to return the 'long name' for my choices. I obviously do not understand the "Model.get_FOO_display()" method, or am doing some syntactic butchery. The ultimate plan is to grab the 'long names' in the…
BillB1951
  • 225
  • 6
  • 17
0
votes
2 answers

Solr query looking for IN, IT, or IS in field

When performing these queries (separately): country:IN -or- country:IT -or- country:IS ... I get all items in the index returned. I want to get only the items whose country field matches those params. I've tried every combination of escaping with…
jeffcole
  • 3
  • 2
0
votes
1 answer

Django mod_wsgi and haystack = error 500

I'm using Haystack on my Django project and all works well using django server. When I'm going to production, running on Apache, I receive an error 500; more precisely from the log: mod_wsgi (pid=4536): Exception occurred processing WSGI script…
Massimo Variolo
  • 4,669
  • 6
  • 38
  • 64
0
votes
1 answer

django haystack solr: index file not being created

solr is not able to create index, get following error: All documents removed. Indexing 100 notes. Failed to add documents to Solr: [Reason: None] Error 404…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/solr" class="post-tag grid--cell" title="show questions tagged 'solr'" rel="tag">solr</a> <a href="../../questions/tagged/django-haystack" class="post-tag grid--cell" title="show questions tagged 'django-haystack'" rel="tag">django-haystack</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 20 '12 at 02:35">asked Apr 20 '12 at 02:35</time> <a href="../../users/1172255/billb1951" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1172255.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="BillB1951" /> </a> <div class="s-user-card--info"> <a href="../../users/1172255/billb1951" class="s-user-card--link">BillB1951</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">225</li> <li class="s-award-bling s-award-bling__silver" title="6 silver badges">6</li> <li class="s-award-bling s-award-bling__bronze" title="17 bronze badges">17</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-10220982"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/10220982/django-haystack-solr-http-error-500-accessing-solr-admin" class="question-hyperlink">Django Haystack Solr: HTTP ERROR 500 accessing /solr/admin/</a></h3> <div class="excerpt">HTTP ERROR 500 accessing /solr/admin/. Reason: Severe errors in solr configuration. Check your log files for more detailed information on what may be wrong. If you want solr to continue after configuration errors, change: false in…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/django" class="post-tag grid--cell" title="show questions tagged 'django'" rel="tag">django</a> <a href="../../questions/tagged/solr" class="post-tag grid--cell" title="show questions tagged 'solr'" rel="tag">solr</a> <a href="../../questions/tagged/django-haystack" class="post-tag grid--cell" title="show questions tagged 'django-haystack'" rel="tag">django-haystack</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 19 '12 at 02:45">asked Apr 19 '12 at 02:45</time> <a href="../../users/1172255/billb1951" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1172255.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="BillB1951" /> </a> <div class="s-user-card--info"> <a href="../../users/1172255/billb1951" class="s-user-card--link">BillB1951</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">225</li> <li class="s-award-bling s-award-bling__silver" title="6 silver badges">6</li> <li class="s-award-bling s-award-bling__bronze" title="17 bronze badges">17</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-10183705"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/10183705/what-s-the-difference-of-setting-up-a-field-and-setting-facet-true-in-search-i" class="question-hyperlink">what's the difference of setting up a "field" and setting "facet=true" in search_indexes.py in haystack?</a></h3> <div class="excerpt">I'm confused with 'field' and 'facet=true' in search_indexes.py Setting up a field such as name=CharField(max_length=100) enables me to provide a link with the name that user can drill down to(narrow search result)? and facet=true gives me the…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/django" class="post-tag grid--cell" title="show questions tagged 'django'" rel="tag">django</a> <a href="../../questions/tagged/django-haystack" class="post-tag grid--cell" title="show questions tagged 'django-haystack'" rel="tag">django-haystack</a> <a href="../../questions/tagged/faceted-search" class="post-tag grid--cell" title="show questions tagged 'faceted-search'" rel="tag">faceted-search</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 17 '12 at 00:54">asked Apr 17 '12 at 00:54</time> <a href="../../users/433570/eugene" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/433570.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="eugene" /> </a> <div class="s-user-card--info"> <a href="../../users/433570/eugene" class="s-user-card--link">eugene</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">39,839</li> <li class="s-award-bling s-award-bling__gold" title="68 gold badges">68</li> <li class="s-award-bling s-award-bling__silver" title="255 silver badges">255</li> <li class="s-award-bling s-award-bling__bronze" title="489 bronze badges">489</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-10173573"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/10173573/missing-explanation-from-haystack-document" class="question-hyperlink">missing explanation from haystack document</a></h3> <div class="excerpt">I'm new to whole search stuff and having a hard time learning haystack.(solr as backend) Here is my understanding of haystack/solr. Please comment on it if my understanding is wrong. Solr solr is document search engine. (opposed to RDBMS) It…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/django" class="post-tag grid--cell" title="show questions tagged 'django'" rel="tag">django</a> <a href="../../questions/tagged/solr" class="post-tag grid--cell" title="show questions tagged 'solr'" rel="tag">solr</a> <a href="../../questions/tagged/indexing" class="post-tag grid--cell" title="show questions tagged 'indexing'" rel="tag">indexing</a> <a href="../../questions/tagged/django-haystack" class="post-tag grid--cell" title="show questions tagged 'django-haystack'" rel="tag">django-haystack</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 16 '12 at 11:53">asked Apr 16 '12 at 11:53</time> <a href="../../users/433570/eugene" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/433570.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="eugene" /> </a> <div class="s-user-card--info"> <a href="../../users/433570/eugene" class="s-user-card--link">eugene</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">39,839</li> <li class="s-award-bling s-award-bling__gold" title="68 gold badges">68</li> <li class="s-award-bling s-award-bling__silver" title="255 silver badges">255</li> <li class="s-award-bling s-award-bling__bronze" title="489 bronze badges">489</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-10160221"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/10160221/solr-http-error-500-accessing-solr-admin-reason-severe-errors-in-solr-configur" class="question-hyperlink">Solr - HTTP ERROR 500 accessing /solr/admin/. Reason: Severe errors in solr configuration</a></h3> <div class="excerpt">Major warnings are as follows: Solr - HTTP ERROR 500 problem accessing /solr/admin/. Reason: Severe errors in solr configuration. Caused by: java.io.IOException: Cannot create directory:…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/solr" class="post-tag grid--cell" title="show questions tagged 'solr'" rel="tag">solr</a> <a href="../../questions/tagged/django-haystack" class="post-tag grid--cell" title="show questions tagged 'django-haystack'" rel="tag">django-haystack</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 15 '12 at 07:12">asked Apr 15 '12 at 07:12</time> <a href="../../users/1172255/billb1951" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1172255.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="BillB1951" /> </a> <div class="s-user-card--info"> <a href="../../users/1172255/billb1951" class="s-user-card--link">BillB1951</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">225</li> <li class="s-award-bling s-award-bling__silver" title="6 silver badges">6</li> <li class="s-award-bling s-award-bling__bronze" title="17 bronze badges">17</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-10073189"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/10073189/django-cms-haystack-search-placeholder-content" class="question-hyperlink">Django-cms haystack search - placeholder content</a></h3> <div class="excerpt">i have problem with results in django-cms and haystack search. I'm using django-cms-search plugin, haystack as backend. Haystack returns correct results. But i want to show "teaser" in search results. I can access absolute URL and title of page via…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/python" class="post-tag grid--cell" title="show questions tagged 'python'" rel="tag">python</a> <a href="../../questions/tagged/django" class="post-tag grid--cell" title="show questions tagged 'django'" rel="tag">django</a> <a href="../../questions/tagged/templates" class="post-tag grid--cell" title="show questions tagged 'templates'" rel="tag">templates</a> <a href="../../questions/tagged/django-haystack" class="post-tag grid--cell" title="show questions tagged 'django-haystack'" rel="tag">django-haystack</a> <a href="../../questions/tagged/django-cms" class="post-tag grid--cell" title="show questions tagged 'django-cms'" rel="tag">django-cms</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 09 '12 at 12:30">asked Apr 09 '12 at 12:30</time> <a href="../../users/1321847/jozef-mares" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1321847.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Jozef Mares" /> </a> <div class="s-user-card--info"> <a href="../../users/1321847/jozef-mares" class="s-user-card--link">Jozef Mares</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">31</li> <li class="s-award-bling s-award-bling__bronze" title="4 bronze badges">4</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-8559244"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>-1</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/8559244/haystack-quates-the-multiword-query-instead-how-to-pass-unquated-query" class="question-hyperlink">Haystack quates the multiword query instead how to pass unquated query?</a></h3> <div class="excerpt">My solr query is q=xyz OR abc. I am entering this in haystack form. haystack quotes the query q="xyz OR abc" so OR does not work, so how to achieve this behavior via haystack. In haystack form I should be able to do "q=xyz OR abc AND jkl" </div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/django" class="post-tag grid--cell" title="show questions tagged 'django'" rel="tag">django</a> <a href="../../questions/tagged/solr" class="post-tag grid--cell" title="show questions tagged 'solr'" rel="tag">solr</a> <a href="../../questions/tagged/django-haystack" class="post-tag grid--cell" title="show questions tagged 'django-haystack'" rel="tag">django-haystack</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Dec 19 '11 at 09:22">asked Dec 19 '11 at 09:22</time> <a href="../../users/826951/shreyas" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/826951.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="shreyas" /> </a> <div class="s-user-card--info"> <a href="../../users/826951/shreyas" class="s-user-card--link">shreyas</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">2,510</li> <li class="s-award-bling s-award-bling__gold" title="4 gold badges">4</li> <li class="s-award-bling s-award-bling__silver" title="19 silver badges">19</li> <li class="s-award-bling s-award-bling__bronze" title="20 bronze badges">20</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-45828541"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>-1</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/45828541/checking-if-date-in-date-range-in-python-but-over-100k-records" class="question-hyperlink">Checking if date in date range in Python but over 100k records</a></h3> <div class="excerpt">We are trying to overhaul a scheduling application at the moment. It is written in Python/Django and using DRF to power a React frontend. I just have a quick question- apologies if this has been answered already. I have seen Dietrich Epp's answer to…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/python" class="post-tag grid--cell" title="show questions tagged 'python'" rel="tag">python</a> <a href="../../questions/tagged/django" class="post-tag grid--cell" title="show questions tagged 'django'" rel="tag">django</a> <a href="../../questions/tagged/django-rest-framework" class="post-tag grid--cell" title="show questions tagged 'django-rest-framework'" rel="tag">django-rest-framework</a> <a href="../../questions/tagged/django-haystack" class="post-tag grid--cell" title="show questions tagged 'django-haystack'" rel="tag">django-haystack</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Aug 22 '17 at 23:49">asked Aug 22 '17 at 23:49</time> <a href="../../users/2288983/user2288983" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2288983.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="user2288983" /> </a> <div class="s-user-card--info"> <a href="../../users/2288983/user2288983" class="s-user-card--link">user2288983</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">63</li> <li class="s-award-bling s-award-bling__bronze" title="6 bronze badges">6</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-39040702"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>-1</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/39040702/upgraded-django-from-1-4-to-1-6-and-haystack-from-1-2-to-2-3-and-indexing-is-n" class="question-hyperlink">Upgraded Django from 1.4 to 1.6 and Haystack from 1.2 to 2.3 and indexing is not happening anymore</a></h3> <div class="excerpt">I'm upgrading things as the title says, and now doing a rebuild_index seems to do nothing. The output is a simple: $ ./manage.py rebuild_index --noinput Removing all documents from your index because you said so. All documents removed. Indexing…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/django" class="post-tag grid--cell" title="show questions tagged 'django'" rel="tag">django</a> <a href="../../questions/tagged/solr" class="post-tag grid--cell" title="show questions tagged 'solr'" rel="tag">solr</a> <a href="../../questions/tagged/django-haystack" class="post-tag grid--cell" title="show questions tagged 'django-haystack'" rel="tag">django-haystack</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Aug 19 '16 at 13:48">asked Aug 19 '16 at 13:48</time> <a href="../../users/1203785/salvatore-iovene" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1203785.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Salvatore Iovene" /> </a> <div class="s-user-card--info"> <a href="../../users/1203785/salvatore-iovene" class="s-user-card--link">Salvatore Iovene</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">2,064</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="17 silver badge">17</li> <li class="s-award-bling s-award-bling__bronze" title="31 bronze badge">31</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-32328374"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>-1</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/32328374/how-to-display-search-results-django-haystack-elasticsearch-on-the-same-page" class="question-hyperlink">How to display search results(django+haystack+elasticsearch) on the SAME page?</a></h3> <div class="excerpt">I included haystack+elasticsearch into my django project folowing by official haystack docs. Searching is working good, but results are displaying in separate page (search.html).I need show searching results on the same page I place searching query…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/python" class="post-tag grid--cell" title="show questions tagged 'python'" rel="tag">python</a> <a href="../../questions/tagged/django" class="post-tag grid--cell" title="show questions tagged 'django'" rel="tag">django</a> <a href="../../questions/tagged/search" class="post-tag grid--cell" title="show questions tagged 'search'" rel="tag">search</a> <a href="../../questions/tagged/elasticsearch" class="post-tag grid--cell" title="show questions tagged 'elasticsearch'" rel="tag">elasticsearch</a> <a href="../../questions/tagged/django-haystack" class="post-tag grid--cell" title="show questions tagged 'django-haystack'" rel="tag">django-haystack</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Sep 01 '15 at 09:43">asked Sep 01 '15 at 09:43</time> <a href="../../users/5287469/andriy" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/5287469.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Andriy" /> </a> <div class="s-user-card--info"> <a href="../../users/5287469/andriy" class="s-user-card--link">Andriy</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">311</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="7 silver badge">7</li> <li class="s-award-bling s-award-bling__bronze" title="19 bronze badge">19</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-31885443"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>-1</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/31885443/elasticsearch-groovy-script-error" class="question-hyperlink">Elasticsearch: Groovy script error</a></h3> <div class="excerpt">I am using Elasticsearch as the backend for Haystack search in a Django project. The local Elasticsearch node is working. A remote node was working for some time an Amazon EC2 instance, but recently when I try to query this remote node, I get an…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/groovy" class="post-tag grid--cell" title="show questions tagged 'groovy'" rel="tag">groovy</a> <a href="../../questions/tagged/elasticsearch" class="post-tag grid--cell" title="show questions tagged 'elasticsearch'" rel="tag">elasticsearch</a> <a href="../../questions/tagged/amazon-ec2" class="post-tag grid--cell" title="show questions tagged 'amazon-ec2'" rel="tag">amazon-ec2</a> <a href="../../questions/tagged/django-haystack" class="post-tag grid--cell" title="show questions tagged 'django-haystack'" rel="tag">django-haystack</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Aug 07 '15 at 19:41">asked Aug 07 '15 at 19:41</time> <a href="../../users/1359529/brandon-brown" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1359529.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Brandon Brown" /> </a> <div class="s-user-card--info"> <a href="../../users/1359529/brandon-brown" class="s-user-card--link">Brandon Brown</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">331</li> <li class="s-award-bling s-award-bling__silver" title="6 silver badges">6</li> <li class="s-award-bling s-award-bling__bronze" title="16 bronze badges">16</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-30343310"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>-1</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/30343310/pagination-issue-with-haystack" class="question-hyperlink">Pagination issue with Haystack</a></h3> <div class="excerpt">I am using alphabetical pagination with haystack that I borrowed from https://djangosnippets.org/snippets/1364/ But named pagination is hitting the database which it shouldn't. Line 15 is causing this, although I have same iteration code in a django…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/django" class="post-tag grid--cell" title="show questions tagged 'django'" rel="tag">django</a> <a href="../../questions/tagged/django-haystack" class="post-tag grid--cell" title="show questions tagged 'django-haystack'" rel="tag">django-haystack</a> <a href="../../questions/tagged/django-pagination" class="post-tag grid--cell" title="show questions tagged 'django-pagination'" rel="tag">django-pagination</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 20 '15 at 07:43">asked May 20 '15 at 07:43</time> <a href="../../users/887976/chirdeep-tomar" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/887976.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Chirdeep Tomar" /> </a> <div class="s-user-card--info"> <a href="../../users/887976/chirdeep-tomar" class="s-user-card--link">Chirdeep Tomar</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">4,281</li> <li class="s-award-bling s-award-bling__gold" title="8 gold badges">8</li> <li class="s-award-bling s-award-bling__silver" title="37 silver badges">37</li> <li class="s-award-bling s-award-bling__bronze" title="66 bronze badges">66</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/django-haystack_page=86" rel="prev" title="Go to page 86">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/django-haystack_page=1" rel="" title="Go to page 1">1</a> <a class="s-pagination--item" href="../../questions/tagged/django-haystack_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/django-haystack_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <div class="s-pagination--item is-selected">87</div> <a class="s-pagination--item" href="../../questions/tagged/django-haystack_page=88" rel="" title="Go to page 88">88</a> <a class="s-pagination--item" href="../../questions/tagged/django-haystack_page=88" rel="next" title="Go to page 88"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>