Hi Zender,

please take a look to
http://www.nabble.com/Lucene-vs.-Database-td19755932.html#a19757274

you shouldn't use a lucene fields to store such huge data. At least not a
lucene field in your main search index.
You can use lucene as repository, but I would advice you to use a extra
index for that.
If you want to store arrays you can use store = Store.COMPRESS in
constructor
public Field(String name, byte[] value, int offset, int length, Store store) 
with the serialized array as "value".

Best regards
  Karsten


Zender00 wrote:
> 
> Hello,
> 
> I have to store 2 arrays (1 int-Array, 1 String-Array (approx. length per
> element: 30 chars)) with a count of 100-10.000 elements in a lucene
> document.
> 

-- 
View this message in context: 
http://www.nabble.com/Save-big-arrays-in-lucene-document-tp20852797p20853980.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to