lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cristian Lorenzetto <cristian.lorenze...@gmail.com>
Subject Re: Fields stored and instances
Date Wed, 07 Sep 2016 15:10:33 GMT
I explain better .... i created a my class MyStoredField.java for saving a
value.
Reading ....for understading if it is a normal stored field or not i used
"instanceof".
But in debug the class generated when i read the document id StoredField
not MyStoredField . No way for doing it?

2016-09-07 16:48 GMT+02:00 Cristian Lorenzetto <
cristian.lorenzetto@gmail.com>:

> I have a doubt.
>
> I created a class storing a special value.
> When i store the document saving this field all ok.
> when i read the document the field is found but it is a different class
> (StoredField instead MyStoredField)
>  it is ok so? or i saw wrong previously in other examples?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message