Re: Search for the ORM and Haystack

2009-04-24 Thread mrts
On Apr 24, 3:49 am, Joseph Kocherhans wrote: > On Thu, Apr 23, 2009 at 6:50 PM, Ben Firshman wrote: > > > On 19 Apr 2009, at 11:42, mrts wrote: > > > > The feature is much needed, thanks for dealing with this! > > > > However, as for the API, I'd say coupling search to models is > > > inadvisa

Re: Search for the ORM and Haystack

2009-04-23 Thread Joseph Kocherhans
On Thu, Apr 23, 2009 at 6:50 PM, Ben Firshman wrote: > > On 19 Apr 2009, at 11:42, mrts wrote: > > > > The feature is much needed, thanks for dealing with this! > > > > However, as for the API, I'd say coupling search to models is > > inadvisable, Django has moved away from that design. > > > > A

Re: Search for the ORM and Haystack

2009-04-23 Thread Ben Firshman
On 19 Apr 2009, at 11:42, mrts wrote: > > The feature is much needed, thanks for dealing with this! > > However, as for the API, I'd say coupling search to models is > inadvisable, Django has moved away from that design. > > A registry-based approach could be implemented: I agree this approach is

Re: Search for the ORM and Haystack

2009-04-19 Thread mrts
On Apr 19, 3:48 am, Ben Firshman wrote: > This includes support for PostgreSQL in addition to MySQL,  searching   > across multiple fields, automatic index creation, relevance, admin   > full text search and a simple generic search view. A brief example of   > the API: > > class Article(models.Mo

Search for the ORM and Haystack

2009-04-18 Thread Ben Firshman
Hi all, For Google's Summer of Code last year, I worked on djangosearch (http://code.google.com/p/djangosearch/ ) with the aim of extending it with more backends. It soon became clear that the full text support in Django's database backends was sufficient for most small sites. Considering t