Daniel: I greatly appreciate the suggestion: it seems like it might offer just what i'm looking for. But i'm having a bit of trouble getting things set up (the dreaded "no results" on my simple test case, which means i'm still missing something).
Do you happen to have a pointer to a running site that i can compare to, so your end results can encourage me to persevere? Sean On Nov 9, 9:18 am, Daniel Roseman <dan...@roseman.org.uk> wrote: > On Nov 9, 4:24 am, SeanB <sean.boi...@gmail.com> wrote: > > > > > Many web sites offer faceted browsing such that a series of categories > > can be selected to narrow a large set of records down to a few (or > > one). Such interfaces often show how many records match the various > > category values, which sometimes helps direct the search. Likewise, > > since only valid combinations of categories values are shown and > > selectable, the problem problem of constraints with zero results are > > mitigated. You can see this in action on lots of shopping sites: > > Amazon's page on diamond wedding rings (http://www.amazon.com/gp/ > > search/ref=sr_nr_n_2?rh=n%3A3367581%2Ck%3Adiamonds%2Cn%3A!3880591%2Cn > > %3A3887251&bbn=3880591&keywords=diamonds&ie=UTF8&qid=1257740168&rnid=388059 > > 1) > > is a good example. > > > I'm an intermediate-level Django user, and i'm trying to conceive how > > to architect a faceted browsing application in Django. I can see > > conceptually how a combination of constraints specified in the > > interface could translate into a series of filter statements on a > > model, and i can see how, with some constraints in place, the > > remaining values and the number of records matching them could be > > computed and presented. > > > But I'm less sure how to provide a RESTful interface (since any of > > several constraints can be selected independently) in an efficient > > manner, or how to work out the template details. So i'm looking for > > some direction. > > > Are there any Django sites out there already that use an approach like > > this? Or suggestions as to how to architect one? > > We've achieved faceted search by using the haystack project, which > provides faceted search for Django out of the box in conjunction with > an external search engine, Solr. Works well for us. > -- > DR. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---