: But then when you retrieve your metadata it's converted to String -> String.
Correct ... the documentation should make it clear that what gets persisted is a String, but the method of giving the String to the API is by passing an Obejct that will be toString()ed. (Asside: it would be really nice if Java had a Stringable interface) It's not the prettiest API in the world, in a pure Java1.5 code base i wouldn't even suggest it, but in 1.4 code bases it tends to be a lot more freindly then then to document that people must pass a collection of Stings and cast them all. -Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org