Re: [GD 40883] Re: Haystack

2013-07-30 Thread Sandeep kaur
On Tue, Jul 30, 2013 at 8:24 PM, Kamal Kaur wrote: > > I have created the template for haystack search and can open it, enter > any query. But there is no connectivity with database yet and its not > giving results. What I have uderstood is that, in haystack, indexes > for models are created. In

Re: Haystack

2013-07-30 Thread Kamal Kaur
On Tue, Jul 30, 2013 at 3:10 PM, Kamal Kaur wrote: > > What I am missing? As this command must create indexes by processing models. > And how does my search_indexes.py file actually look like? > Currently it looks like this: http://tny.cz/d842c556 I have created the template for haystack search

Re: haystack problem - already registered error

2012-11-02 Thread Laxmikant Gurnalkar
Hey Any Solution on this ? On Wednesday, September 15, 2010 4:53:26 AM UTC+5:30, Kenneth Gonsalves wrote: > > hi, > > I have installed haystack with xapian backend. My relevant code is like > this: > > import haystack > haystack.autodiscover() > > from haystack.indexes import * > from haystack

Re: Haystack with Whoosh Not Redirecting.

2012-06-25 Thread Nikolas Stevenson-Molnar
If I am reading your view correctly, it creates a new "Meek" if the form has been submitted, and doesn't query any records from the database. Is this really what you want in response to a user clicking a search result? _Nik On 6/25/2012 11:46 AM, coded kid wrote: > Yes the form is expecting data

Re: Haystack with Whoosh Not Redirecting.

2012-06-25 Thread coded kid
Yes the form is expecting data from users and it will filtered on the same page. will it still work? Nikolas Stevenson-Molnar wrote: > See the examples given for the permalink decorator: > https://docs.djangoproject.com/en/1.4/ref/models/instances/#the-permalink-decorator > > Also, review URLs in

Re: Haystack with Whoosh Not Redirecting.

2012-06-25 Thread Nikolas Stevenson-Molnar
See the examples given for the permalink decorator: https://docs.djangoproject.com/en/1.4/ref/models/instances/#the-permalink-decorator Also, review URLs in Django: https://docs.djangoproject.com/en/1.4/topics/http/urls/ In your case, you don't specify any arguments in your URL (or your view func

Re: Haystack with Whoosh Not Redirecting.

2012-06-25 Thread coded kid
(r'^find/$', findme), So how will i input the arguments? any example? thanks. Nikolas Stevenson-Molnar wrote: > Take another look at your get_absolute_url method. As written, it > specifies several keyword arguments to the view, but the "findme" view > does not take any arguments. Also, what does

Re: Haystack with Whoosh Not Redirecting.

2012-06-25 Thread Nikolas Stevenson-Molnar
Take another look at your get_absolute_url method. As written, it specifies several keyword arguments to the view, but the "findme" view does not take any arguments. Also, what does your urls.py file look like? _Nik On 6/25/2012 10:14 AM, coded kid wrote: > I successfully installed whoosh and mad

Re: Haystack Solr Error

2012-03-06 Thread Sam Lai
On 5 March 2012 07:49, coded kid wrote: > I'm trying to rebuild_index, so after inputting manage.py rebuild- > index , I'm getting: > > Removing all documents in your index because you said so. > fail to clear Solr index: [Errno 10061] No connection could be made > because the target > machine act

Re: haystack

2011-05-12 Thread Sam Lai
On 12 May 2011 17:31, pankaj sharma wrote: > > can u tell me which one is better in sphinx and haystack Haystack provides only the glue between Django and a search engine/indexer. With Haystack, you still need to pick a search engine to use, e.g. Solr, Whoosh, Xapian. It doesn't support Sphinx ye

Re: haystack

2011-05-12 Thread Tim Sawyer
Here's the instructions I wrote when I added search with Haystack and Whoosh to my site. http://drumcoder.co.uk/blog/2010/may/19/django-text-search-haystack-and-whoosh/ Hope that helps point you in the right direction. Tim. > hello friends, i want to use haystack for my website, > but i am havi

Re: haystack

2011-05-12 Thread pankaj sharma
can u tell me which one is better in sphinx and haystack On May 11, 10:01 pm, Tarkeshwar Thakur wrote: > In your settings filehttp://docs.djangoproject.com/en/dev/topics/settings/ > > On Thu, May 12, 2011 at 10:20 AM, pankaj sharma > wrote: > > > > > > > > > > > hello friends, i want to use hays

Re: haystack

2011-05-11 Thread Tarkeshwar Thakur
In your settings file http://docs.djangoproject.com/en/dev/topics/settings/ On Thu, May 12, 2011 at 10:20 AM, pankaj sharma wrote: > hello friends, i want to use haystack for my website, > but i am having too many problems to install it. > in the dowumentation it is telling to add haystack to ur

Re: Haystack error rebuinding index

2010-12-21 Thread Daniel França
Hi, the problem was some incompatibilites between haystack and haystack-xapian 2010/12/21 Daniel França > here's the stackstrace > > Traceback (most recent call last): > File "manage.py", line 28, in > execute_from_command_line() > File > "/usr/lib/python2.6/dist-packages/django/core/ma

Re: Haystack error rebuinding index

2010-12-21 Thread Daniel França
here's the stackstrace Traceback (most recent call last): File "manage.py", line 28, in execute_from_command_line() File "/usr/lib/python2.6/dist-packages/django/core/management/__init__.py", line 352, in execute_from_command_line utility.execute() File "/usr/lib/python2.6/dist-pack

Re: Haystack error rebuinding index

2010-12-21 Thread Daniel França
Hi, here's my search index: import datetime from haystack import indexes from haystack import site from profiles.models import Profile class ProfileIndex(indexes.SearchIndex): text = indexes.CharField(use_template=True, document=True) first_name = indexes.CharField(model_attr='first

Re: Haystack error rebuinding index

2010-12-20 Thread Sam Lai
2010/12/21 Daniel França : > anyone? > > 2010/12/19 Daniel França >> >> Hi all >> I was using haystack(xapian) at a Mac, so I moved it to a Linux (Ubuntu >> 10.10) using python 2.6.6, but now when I try to rebuild the index I get the >> following error: >> AttributeError: 'ProfileIndex' object has

Re: Haystack error rebuinding index

2010-12-20 Thread Daniel França
anyone? 2010/12/19 Daniel França > Hi all > I was using haystack(xapian) at a Mac, so I moved it to a Linux (Ubuntu > 10.10) using python 2.6.6, but now when I try to rebuild the index I get the > following error: > AttributeError: 'ProfileIndex' object has no attribute 'full_prepare' > > Profil

Re: Haystack/Whoosh problem

2009-10-28 Thread nausikaa
Ok, looks like I found a solution: svn co http://svn.whoosh.ca/projects/whoosh/trunk/ whoosh cd whoosh sudo python setup.py install The site here suggests a patch but I think it's not up to date anymore: http://haystacksearch.org/docs/installing_engines.html On Oct 28, 4:10 pm, nausikaa wrot