Right. TextField.TYPE_NOT_STORED should be used then.
On Thu, Apr 24, 2025 at 10:37 AM Saha, Rajib
wrote:
> Thanks Mikhail for the suggestion.
> Now the previous exception has gone. But a new exception has come from
> Field.java.
> Here below are the exception details.
>
> java.lang.Ill
Thanks Mikhail for the suggestion.
Now the previous exception has gone. But a new exception has come from
Field.java.
Here below are the exception details.
java.lang.IllegalArgumentException: TokenStream fields cannot be stored
at org.apache.lucene.document.Field.(Field.java:155)