On Fri, 2005-02-18 at 04:38 +0100, Miro Max wrote: > i'm indexing my content as unstored fiels. now i want > to get this fields matching to the query and copy it > to a new index. > > do i have to reconstruct this content or can i copy > this content as field to a new index --> > > Field f = hits.doc(i).getField("content"); > d.add(f);
You'll have to recreate the field from the original content. The above method will produce a blank field in the new document if "content" is UnStored. -- Miles Barr <[EMAIL PROTECTED]> Runtime Collective Ltd. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]