django-haystack Questions
2
Solved
Hi i m using haystack with a woosh as search engine:
my model looks as follows
class Person(models.Model):
personid = models.IntegerField(primary_key = True, db_column = 'PID')
firstname = mod...
Ene asked 12/8, 2010 at 16:39
4
Solved
I am making a Django app. It uses Haystack with elasticsearch as backend.
When I run
./manage.py rebuild_index
I get this error:
aborted.', error(61, 'Connection refused')))
caused by: Pr...
Need asked 24/8, 2014 at 12:45
3
Solved
I´m having a issue when I ran "python manage.py rebuild_index" in my app supported by haystack and elasticsearch.
Python 2.7
Django version 1.6.2
Haystack 2.1.0
Elasticsearch 1.0
Please see the e...
Palsy asked 14/3, 2014 at 17:36
3
I delete a record using django:
r = model.objects.get(id=1)
r.delete()
Now I want to remove the record from the index WITHOUT re-indexing. How?
I cannot get remove_object to work and the hays...
Honewort asked 7/3, 2014 at 5:16
3
Solved
I am using elasticsearch as backend for haystack in my Django project. I created everything required for a search as mentioned here. But when i search i throws a traceback error with TransportError...
Kathikathiawar asked 28/12, 2016 at 11:38
2
Solved
I have a django site which uses Haystack with the Xapian backend for search indexing. I've added a new field to one of the models being indexed, then added that field to the SearchIndex for that mo...
Menthol asked 13/12, 2011 at 9:22
1
Solved
I am using django-haystack and I am trying to implement a way to append the page number to a pdf link in order to open it in the specific page. My goal is to open the pdf in the page where the firs...
Epicene asked 15/3, 2019 at 11:1
1
Solved
We use django-haystack as our search index. Generally great, but during tests it adds overhead to every model object creation and save, and for most tests it is not required. So I would like to avo...
Kneepad asked 13/10, 2015 at 17:7
2
Solved
I'm trying to make a custom search form using django haystack, i just modify from haystack's documentation :
forms.py
from django import forms
from haystack.forms import SearchForm
class DateRa...
Salmon asked 13/7, 2012 at 8:26
2
I have a simple setup with django-haystack and whoosh engine. A search yielding 19 objects took me 8 seconds. I used the django-debug-toolbar to determine that i had a bunch of repeated queries.
I...
Semiliquid asked 24/8, 2015 at 13:16
5
Solved
I have a list of items as:
i = SearchQuerySet().models(Item)
now, each item in i has a attribute, price
I want to narrow the result in which price information is not available along with the on...
Halsted asked 11/6, 2013 at 12:55
7
Super simple question: I went through the "getting start" doc for haystack (using whoosh; I installed both python-whoosh and haystack using pip (first time using it)), and I simply cannot run pytho...
Convulsive asked 16/4, 2011 at 4:26
4
Solved
Does anyone have any experience using django-haystack with the whoosh backend?
I'm looking to use it for a categorized live-search type tool. Is it gonna be fast/efficient enough in a production e...
Silkworm asked 8/6, 2009 at 22:52
2
Solved
I have 2 servers with Haystack:
Server1: This has elasticsearch installed
Server2: This doesn't have elasticsearch, the queries are made to Server1
My issue is about pagination when I make querie...
Parts asked 5/1, 2015 at 10:37
1
I'm pretty new to search implementation, bear with me while I'm learning!
So my pet project is a recipe site and each recipe can have n steps. the model looks something like:
class Recipe(models....
Bigname asked 26/6, 2017 at 20:20
0
I've been working on a web app developed with Django which uses Postgres and ElasticSearch. It uses ElasticSearch since the database stores a lot of data which increases by the hour. To get things ...
Aestivation asked 18/5, 2017 at 14:16
3
Solved
I'm trying to implement yielding results for a searching only a part of a word (which is called autocomplete according to the Haystack docs if I'm not mistaken).
Example:
Search "gol"
Result "g...
Parabolic asked 23/1, 2013 at 12:0
1
I'm using django-haystack with elasticsearch backend. The data contains names of books that may contain special characters like &, ' or "". The indexed data escapes these characters and the sea...
Ostensive asked 26/10, 2014 at 7:41
3
Solved
I currently have Solr 4.2.0 working in production (set up around 2012). I have set up a new development environment where I upgraded all packages (Django 1.8.10, PySolr 3.4.0, Haystack 2.4.1) and s...
Bakery asked 16/3, 2016 at 10:48
3
Solved
I am trying to use Haystack and Whoosh with my Django app. I followed the steps on Haystack docs, but i am getting this error when i do a search
AttributeError at /search/
'module' object has no a...
Agriculture asked 3/1, 2016 at 12:32
2
I have a model like this:
class MyModel(models.Model):
desc1 = models.TextField(blank=True, default="")
desc2 = models.TextField(blank=True, default="")
I want to search string on fields of th...
Guadalupeguadeloupe asked 10/5, 2012 at 16:59
1
Solved
I followed tutorial on:
http://krzysztofzuraw.com/blog/2016/haystack-elasticsearch-part-two.html
http://www.techstricks.com/django-haystack-and-elasticsearch-tutorial/
Everything works fine but wh...
Aguie asked 29/10, 2016 at 15:25
2
Solved
I just installed Solr and Haystack for a Django project I'm working on. Following this Haystack tutorial I created a schema.xml but I'm not sure where to place it in the Solr installation.
My Solr...
Machine asked 23/7, 2011 at 17:28
1
I need to text-search across my model and filter with db queries at the same time.
For example:
class MyModel(models.Model):
text = models.TextField()
users = models.ManyToMany(User)
class MyM...
Cacia asked 1/8, 2016 at 13:42
1
Solved
I deleted a record from django app, then I followed it up with up with update_index and the record was still searchable. I then used rebuild_index and that seemed to work when I ran the search agai...
Manaker asked 21/3, 2016 at 18:3
1 Next >
© 2022 - 2024 — McMap. All rights reserved.