lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mirko Sertic" <mirko.ser...@web.de>
Subject Aw: RE: Indexing and storing very large documents
Date Mon, 24 Mar 2014 15:26:28 GMT
Ah, ok, so i cannot use PostingsHighlighter as it requires stored fields, right?
 
Regards
Mirko
 
 

Gesendet: Montag, 24. März 2014 um 16:01 Uhr
Von: "Uwe Schindler" <uwe@thetaphi.de>
An: java-user@lucene.apache.org
Betreff: RE: Indexing and storing very large documents
Stored fields do not support Readers at the moment.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: Mirko Sertic [mailto:mirko.sertic@web.de]
> Sent: Monday, March 24, 2014 3:03 PM
> To: java-user@lucene.apache.org
> 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: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org


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

---------------------------------------------------------------------
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