Re: Implementing Django Search

2012-06-19 Thread DF
Thank you. I ended up using Haystack but I appreciate your insight. On Tuesday, June 19, 2012 12:08:44 AM UTC-4, Daniel Sokolowski wrote: > > I also found that piece of code when I needed to implement search - it > was confusing so I ended up with my own approach that was easier to > understand

Re: Implementing Django Search

2012-06-18 Thread Daniel Sokolowski
I also found that piece of code when I needed to implement search - it was confusing so I ended up with my own approach that was easier to understand and simpler at least to me - I pasted an example of live code here: http://dpaste.org/KYhUq/ The searching piece of code is in the form_valid()

Re: Implementing Django Search

2012-06-18 Thread Nikolas Stevenson-Molnar
There are a number of ways you can use it. Must straight-forward is to use built-in views with a customized template: http://django-haystack.readthedocs.org/en/latest/tutorial.html#setting-up-the-views You can get a bit more advanced by using the various search forms with your own view: http://dja

Re: Implementing Django Search

2012-06-18 Thread DF
Does it provide instructions on connecting it to a search form? Dumb question, but sometimes documentation can be lacking. On Monday, June 18, 2012 2:40:58 PM UTC-4, Nikolas Stevenson-Molnar wrote: > > I've used Haystack with Whoosh: http://haystacksearch.org/. It's > straight-forward, well docu

Re: Implementing Django Search

2012-06-18 Thread Nikolas Stevenson-Molnar
I've used Haystack with Whoosh: http://haystacksearch.org/. It's straight-forward, well documented, and mimics the Django ORM. No need to parse the query yourself or anything like that, just pass the raw input to Haystack and enjoy delicious search results :) _Nik On 6/18/2012 11:23 AM, DF wrote:

Implementing Django Search

2012-06-18 Thread DF
I'm working on my first project and I'm attempting to implement a basic search function where users can search for a specific terms. There are many options available, most a bit too heavy for what I require. I found this posting which illustrates how to implement a basic search function that so