Hi Bernd,

You add a separate StoredField with the same name.

> On 25 Oct 2017, at 11:11, Bernd Fehling <[email protected]> 
> wrote:
> 
> 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: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to