Matthew Toseland a ?crit : > On Saturday 06 September 2008 10:13, Julien Cornuwel wrote: >> Matthew Toseland a ?crit : >>> Querying by a ByteArrayWrapper works for you? Really? >> Well, it seems so. But I didn't do the two-times test though... >> I made this because getRoutingKey() returns a byte[] and that it is hard >> to query on this. > > As sdiz said, db4o is unable to create an index on it. So IMHO you should > query on a string. This could be Base64.encode(getRoutingKey()) or could be > chopped from the FreenetURI (which you can also keep; duplication isn't > *that* big a deal) ...
That's what I was doing before Nextgen$ pointed this to me :-( -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20080906/89e8d50c/attachment.pgp>
