[Xapian-discuss] Question

James Aylett james-xapian at tartarus.org
Fri Apr 17 22:06:46 BST 2009


On Fri, Apr 17, 2009 at 11:47:53PM +0300, Eduard Suica wrote:

> I was wandering if is possible to search using Xapian only for a
> given document value.
> 
> I have a database containing a user id. Some users can search the
> entire database, some just their record. Can I perform a search this
> way ?

Edward, you may want to consider using a boolean term to record the
user id, and filtering on that when you need to restrict a search to a
given user.

Cheers,
James

-- 
  James Aylett

  talktorex.co.uk - xapian.org - uncertaintydivision.org



More information about the Xapian-discuss mailing list