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.


Vadim




Reply via email to