----- Original Message ----- 
From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
To: <xindice-users@xml.apache.org>
Sent: Wednesday, March 31, 2004 12:04 AM
Subject: Re: Index pattern


> Wojtek wrote:
>
> >Hello,
> >I'd like to improve my database and use some indexes, but I have doubts.
> >File in collection looks like this:
> ><user login=wojtek>
> >        <url>my_url</url>
> >        ...
> ></user>
> >
> >I want to make xpath query:
> >/[EMAIL PROTECTED]'wojtek']/url
> >
> >My question is how to write index pattern to make processing of above
query
> >most efficient?
> >Is this correct:  ...-p [EMAIL PROTECTED]/wojtek  ?
> >
> >
>
> No; more like ... -p [EMAIL PROTECTED] , so you will be able to find any user
> by his login quickly.
>

Sorry, I'd made a mistake. I thought about pattern:   ...-p [EMAIL 
PROTECTED]/url
maybe ...-p [EMAIL PROTECTED]/url    is correct? I am afraid I expect too much 
:)

Greetings,
Wojtek


Reply via email to