Re: Index Pattern changes
Vadim Gritsenko <[email protected]>
| Newsgroups | gmane.text.xml.xindice.devel |
|---|---|
| Message-ID | <[email protected]> |
On Jan 28, 2008, at 10:09 PM, Natalia Shilenkova wrote: > I plan to make some changes to Index Pattern that would allow to > specify path to an element/attribute. The path could be relative or > absolute. So, instead of pattern "elem@id" one could be using pattern > "/doc/node1/node2/elem@id". This would help to build indexes that only > include relevant information, reducing index size. > > Also, it could be helpful in case when content of elem@id has > different type depending on its location in a document, for example, > some of them contain strings, while others contain integer. Right now > this situation is not handled so well, and may result in nodes of a > "wrong" type disappearing from result set. > > Any thoughts? That sounds great! I suspect implementation of such index would require changes to indexing interfaces, isn't it? Vadim