Dan, ah, ok.
I understand your question now. But I'm sorry, I never worked with indexes untill now. Try here to find some help with XPath: http://www.zvon.org/xxl/XPathTutorial/Output/ and play with it. A guess would be that you can query for every tag independently if it's a index or not. Sorry that I can't give you more help on that. On Wed, 17 Jul 2002, Dan Barron wrote: >Heinrich-- > >Thanks for replying! Actually, I gave a bad example. We will use PMID as >the "key" and so won't need an index on that field. However, there are >other examples of the same problem. To reduce the question to its >simplest form, can I use Xpath in indexer patterns...? > >A better example is last name of authors. There is one area of the >document where LastName is a tag in the AuthorList/Author hierarchy. But >there are also other places LastName appears. I would want to only index >those within AuthorList/Author so I can find documents authored by a >certain person. > >Does that make more sense? > >dan > >----------------------- > >Dan, > >If I understand you right, you using PMID as unique key for your >documents. > >If you retrieve your documents using your unique PMID you don't need any >index, do you? > >Am I still on your track? > >On Tue, 16 Jul 2002, Dan Barron wrote: > >>I'm trying to create indexers for a database of journal citations. One of > >>snip< regards Heinrich -- http://www.xmlBlaster.org
