You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Bastian Fiebig <fi...@reduxnet.de> on 2002/10/17 22:15:20 UTC
Index problems
Hello,
I have created an index. And now a query is about 5 sec slower. What's
the reason for this?
For performance testing, i have converted freedb cd entry's in xml.
The XML file are in this style:
<?xml version="1.0" encoding="ISO-8859-1"?>
<CD DISCID="1004" CATEGORY="Rock">
<ID>1004</ID>
<ARTIST>The Beatles</ARTIST>
<TITLE>Past Masters Volume 1</TITLE>
<YEAR />
<GENRE />
<TRACKS>
<TRACK>Love Me Do</TRACK>
<TRACK>From Me To You</TRACK>
<TRACK>Thank You Girl</TRACK>
<TRACK>She Loves You</TRACK>
<TRACK>I'll Get You</TRACK>
<TRACK>I Want To Hold Your Hand</TRACK>
<TRACK>This Boy</TRACK>
<TRACK>Komm, Gib Mir Deine Hand</TRACK>
<TRACK>Sie Liebt Dich</TRACK>
<TRACK>Long Tall Sally</TRACK>
<TRACK>I Call Your Name</TRACK>
<TRACK>Slow Down</TRACK>
<TRACK>MatchBox</TRACK>
<TRACK>I Feel Fine</TRACK>
<TRACK>She's A Woman</TRACK>
<TRACK>Bad Boy</TRACK>
<TRACK>Yes It Is</TRACK>
<TRACK>I'm Down</TRACK>
</TRACKS>
<PRICE>4.91</PRICE>
</CD>
And then i have created a index
xindice ai -c /db/test/1000 -n id -p id
A query without a index takes about 58000 ms ( 1000 Documents and a
random query to 10 documents).
And a query with index about 63000 ms.
What's wrong here?
Bastian
--
Best regards,
Bastian mailto:fiebig@reduxnet.de