Re: Suggestion needed for a case of Lucene Migration with TokenStream

2025-04-24 Thread Mikhail Khludnev
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

RE: Suggestion needed for a case of Lucene Migration with TokenStream

2025-04-24 Thread Saha, Rajib
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)