Hi guys, I'm setting up a site with many events that occur at many places. I want to create a scalable search and am considering using something like Xapian to implement it, however, I've not used it or its equivalents before.
Does anyone have clear instructions on how to install and use Xapian with Django? I've scoured the net and the user groups but have not found any clear examples. I've noticed that there was mention of it being incomplete and that it does not presently work across many-to- many relationships. Is this true? For example, I would like to be able to do the following: Search by placeTypeName e.g. entering "Bar" and returning a list of relevant Places, Search by placeTypeName AND addressSuburb e.g. "Bar AND Somesuburb" or something like "Type:Bar Suburb:Somesuburb" and returning a list of relevant Places. My models.py has something like (I've stripped the it only to include the relevant bits): class PlaceType(models.Model): placeTypeName = models.CharField(maxlength=200) class Place(models.Model): placeName = models.CharField(maxlength=200, core=True) placeType = models.ManyToManyField(PlaceType, filter_interface=models.HORIZONTAL, core=True) addressSuburb = models.CharField(maxlength=200, core=True) class Event(models.Model): eventName = models.CharField(maxlength=200, core=True) placeName = models.ForeignKey(Place, core=True) Any ideas how to implement this? Cheers Mark --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---