You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by sim luc <si...@gmx.net> on 2003/02/05 11:49:35 UTC

nested Documents?

hello

my lucene Documents have 2 Fields: an id and a content Field.
when i create a new Document to add to the index i would like
to be able to make the new Document inherit the content of an
other Document which is already in the index. the content Field
is not Stored, but Tokenized and Indexed.

i need to index documents which sometimes contain other
documents which are already indexed. for example i have a
document A which has the content "some simple text" and a
document B which has the content "more complicated" plus
all of the content of document A. if i search for "simple" i want
to get A and B as results of the search. document A is already
in the index and i want to add document B to the index. is there
a way to tel the lucene indexer that the content Field of the
document B dosn't only contain the string "more complicated"
but also all the content of document A?

Thanks

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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