Stored fields do not support Readers at the moment. ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: [email protected]
> -----Original Message----- > From: Mirko Sertic [mailto:[email protected]] > Sent: Monday, March 24, 2014 3:03 PM > To: [email protected] > Subject: Indexing and storing very large documents > > Hi there > > I am searching for a way to store very large documents in a Lucene 4.7 index > and keep them ready to use the PostingsHighlighter for search result > highlighting. > > I do not want to read the whole document into memory, as this would > consume too much memory or could cause an OutOHeapSpace. So i have to > use a Reader. Unfortunately i cannot pass a Reader to a Field with > FieldType.stored() = true. Any ideas? Code examples would be very cool :-) > > Thanks in advance > Mirko > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
