Hi,
Why is this a problem? Maybe you misunderstood. You can add several
NumericField instances with same name! Something like:
for (double d : array) {
document.add(new DoubleField("myfield", d, Field.Store.YES/NO));
}
Uwe
-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: [email protected]
> -----Original Message-----
> From: ASKozitsin [mailto:[email protected]]
> Sent: Monday, October 10, 2016 1:48 PM
> To: [email protected]
> Subject: RE: Array as Lucene Field
>
> Thanks for quick response!
>
> Several NumericFields is a bit complicated, because I do not know how many
> values might be in array.
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Array-as-
> Lucene-Field-tp4300445p4300451.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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]