[Xapian-discuss] Xapian vs Lucene

Jamie D jam5t3r.lists at gmail.com
Thu Feb 1 07:42:48 GMT 2007


On 31/01/07, Reini Urban <rurban at x-ray.at> wrote:
> > - awareness of user permissions (a result should only display if the
> > searching user is authorized to see it)
>
> This was complicated to achieve with xapian. Native Windows Lucene C# is
> better here.
> For now we - xapian-omega - stick with http auth via a mod_ntlm backend,
> which handles the windows auth tokens automatically. No login required
> on MSIE, just firefox.

In your case it would be very simple to use Xapian. Xapian has to know
nothing about user permissions, why would it anyway, its a search
engine right? Handle all of you user authentication/acl's using PHP,
if all of your search queries are made through PHP you have no
problem.

I too was looking at Xapian and Lucene, before trying Xapian I first
used the php implementation of Lucene in the Zend framework. It was
very slow both for indexing and searching, and was constantly running
into memory issues. I switched to Xapian and its been far better, what
took several days to index using the Zend search Lucene can be indexed
using xapian in just 5 minutes and searching is much faster too.

I have not used the java version of Lucene so can not comment on this
version, I wanted to stay away from java as I know very little about
it.

Jamie



More information about the Xapian-discuss mailing list