lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Fehling <bernd.fehl...@uni-bielefeld.de>
Subject howto get LongPoint stored
Date Wed, 25 Oct 2017 10:11:35 GMT
With Lucene 6.6.2 I'm trying to get a LongPoint value indexed and stored.

Old code:
LegacyLongField dateField = new LegacyLongField("modified", lastModified, Field.Store.YES);

Because LegacyLongField is deprecated I tried LongPoint.

New code:
LongPoint dateField = new LongPoint("modified", lastModified);

But how to set Field.Store.YES ???

Regards
Bernd

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