> To do this, call the following two lines *before* you call
>
> fillUpDB()
> Db4o.configure().objectClass(Car.class).objectField("pilot").indexed(true);
> Db4o.configure().objectClass(Pilot.class).objectField("points").indexed(true);
Carl, thanks for tip.
Unfortunately it doesn't work. Result is forever bad:
Test: index on pilot and points
Execution time=39 ms
I run code on another computer and results had been similiar. Really is my code fast in your computer?
BTW I thought index must be set before any opening of database and the first query is slower because of initial indexing of fields.
I have db4o 6.1.501
PS: Thank you very much for spending time on such "silly" questions.
Jan Chodura