From:
<fre...@aj...> - 2005-12-16 21:44:25
|
> A generic structure like this doesn't really help to write good > queries. I feel so, and it's not really interesting to read :o) > I don't know how many distinct 'keys' you have,=20 > This will also make > it easier to define range indexes depending on the type of the > element. These keys are bibliographic properties (title, author, abstract...),=20 structure should be scalable, but type of data could be known (a subject=20 descriptor is interesting for an exact search, a description for fulltext= ) > but I would > at least transform the most common ones into elements, so instead of > <field name=3D"foo">1</field> you get <foo>1</foo>.=20 We tried first this structure because it's the input and the desired=20 output, but it's a very little job to adjust output (input needs work). --=20 Fr=E9d=E9ric Glorieux (AJLSM, http://ajlsm.com) |