lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Shouldn't IndexWriter.commit(Map) accept Properties instead?
Date Mon, 22 Jun 2009 20:21:17 GMT
On Mon, Jun 22, 2009 at 3:49 PM, Uwe Schindler<uwe@thetaphi.de> wrote:
> You could also serialize arbitrary objects into the index (Map<String,?>).

Or just commit(Object) (not commit(Map<?,?>)).

The back-compat problems in LUCENE-1473 don't apply since the Object
is opaque to Lucene.

What other issues would we be taking on by using Java's serialization here...?

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message