You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by ChadDavis <ch...@gmail.com> on 2010/02/17 20:09:11 UTC
jackrabbit 2.0 query
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 )
and this next code returns four supported options:
queryManager.getSupportedQueryLanguages();
Re: jackrabbit 2.0 query
Posted by ChadDavis <ch...@gmail.com>.
I entered the ticket.
On Wed, Feb 17, 2010 at 1:36 PM, Alexander Klimetschek <ak...@day.com> wrote:
> On Wed, Feb 17, 2010 at 20:36, ChadDavis <ch...@gmail.com> wrote:
>> On Wed, Feb 17, 2010 at 12:30 PM, Alexander Klimetschek
>> <ak...@day.com> wrote:
>>> On Wed, Feb 17, 2010 at 20:09, ChadDavis <ch...@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() ?
>>>
>>
>> The key is in there, it just doesn't have a value.
>
> Could you file a bug for that? Thanks!
>
> http://jackrabbit.apache.org/issue-tracker.html
> http://wiki.apache.org/jackrabbit/QuestionsAndAnswers#Reporting_Problems
>
> Regards,
> Alex
>
> --
> Alexander Klimetschek
> alexander.klimetschek@day.com
>
Re: jackrabbit 2.0 query
Posted by Alexander Klimetschek <ak...@day.com>.
On Wed, Feb 17, 2010 at 20:36, ChadDavis <ch...@gmail.com> wrote:
> On Wed, Feb 17, 2010 at 12:30 PM, Alexander Klimetschek
> <ak...@day.com> wrote:
>> On Wed, Feb 17, 2010 at 20:09, ChadDavis <ch...@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() ?
>>
>
> The key is in there, it just doesn't have a value.
Could you file a bug for that? Thanks!
http://jackrabbit.apache.org/issue-tracker.html
http://wiki.apache.org/jackrabbit/QuestionsAndAnswers#Reporting_Problems
Regards,
Alex
--
Alexander Klimetschek
alexander.klimetschek@day.com
Re: jackrabbit 2.0 query
Posted by ChadDavis <ch...@gmail.com>.
On Wed, Feb 17, 2010 at 12:30 PM, Alexander Klimetschek
<ak...@day.com> wrote:
> On Wed, Feb 17, 2010 at 20:09, ChadDavis <ch...@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() ?
>
The key is in there, it just doesn't have a value.
Re: jackrabbit 2.0 query
Posted by Alexander Klimetschek <ak...@day.com>.
On Wed, Feb 17, 2010 at 20:09, ChadDavis <ch...@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