You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by neman ould sidahmed <no...@yahoo.fr> on 2009/05/14 16:38:49 UTC

[SOLVED] Re: custom indexing for jackrabbit

Hello everyone, 


my problem was the in cusom configuration file, I had indexed the property mynamespace:title missed in the configuration file.

Thank's

regards

Neman.
--- En date de : Mer 4.3.09, Marcel Reutegger <ma...@gmx.net> a écrit :

De: Marcel Reutegger <ma...@gmx.net>
Objet: Re: custom indexing for jackrabbit
À: users@jackrabbit.apache.org
Date: Mercredi 4 Mars 2009, 10h35

Hi,

On Mon, Mar 2, 2009 at 13:56, neman ould sidahmed <no...@yahoo.fr> wrote:
> I get my item with the quer
>
> "select *  from mynamespace:item where mynamespace:title = 'nould' "
> the title is unique.
>
> ok, I get my item, I update for example the title for this item and I save the session, the new
>  value of title is 'nould1'.
>
> I do the same query, with new tilte,  the new query is :
> "select *  from mynamespace:item where mynamespace:title = 'nould1' "
> the query for that item does not return anymore?
>
> If I check with XPath qury, I got the item. I think the problem is the re-index of this item.

Whether you use SQL or XPath is just a syntactical difference but does
not change the way how items are indexed or queried. If it works with
XPath, then something must be wrong with your SQL statement.

regards
 marcel