jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: jackrabbit 2.0 query
Date Wed, 17 Feb 2010 19:30:56 GMT
On Wed, Feb 17, 2010 at 20:09, ChadDavis <chadmichaeldavis@gmail.com> wrote:
> I'm just getting started with my search implementation, but I've
> noticed what appears to be a bug.  The following line returns null:
>
>  session.getRepository().getDescriptor(Repository.QUERY_LANGUAGES )

This is probably a bug. Is Repository.QUERY_LANGUAGES returned in
repository.getDescriptorKeys() ?

> and this next code returns four supported options:
>
> queryManager.getSupportedQueryLanguages();

Which is right, should be sql, xpath, jcr-sql2 and jcr-jqom. I would
use this one.

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message