lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Whitman <brian.whit...@variogr.am>
Subject copying fields between documents in different indexes
Date Fri, 16 Feb 2007 22:12:51 GMT
Using the lucene API, is there a way to copy the contents and  
parameters of fields between documents in different indexes? Without  
requiring the field to be stored or needing to pass around the  
fulltext contents of the field.

I guess I am looking for

doc.add(new Field("contentsNew", copyFrom(originalDoc, "contents")));

where doc and originalDoc are from different indexes.





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


Mime
View raw message