[Xapian-discuss] Group and Permission Based Searches

Olly Betts olly at survex.com
Sun Jul 2 14:56:34 BST 2006


On Sun, Jul 02, 2006 at 10:49:27AM -0300, Michael Caplan wrote:
>   1. They need to be able to search within each individual document
>      type, or a group of document types;

Just add the document type to each document as boolean term, then filter
on that when you want to.

>   2. The search results need to only show the documents that the end
>      user has permission to view (they have been granted the
>      appropriate access rights)

This thread (and especially the highlighted message) describe how you
could do this:

http://thread.gmane.org/gmane.comp.search.xapian.devel/112/focus=113

Cheers,
    Olly



More information about the Xapian-discuss mailing list