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
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
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
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
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
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
(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
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
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
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
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
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
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
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
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
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
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
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
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
19 matches
Mail list logo