posted 9 years ago
hi All,
I am using apache lucene 5.2.0 for indexing and searching. I am indexing one field in Not Analyzed way as I need it for regular expression search. While Indexing I get one exception when my field length is > 32766 "java.lang.IllegalArgumentException: Document contains at least one immense term in field="ATTACHMENT_NOT_ANALYZED" (whose UTF8 encoding is longer than the max length 32766)......." . I tried to search solution on net they have suggested me to not index in Not Analyzed way, but Indexing not analyzed way is my primary requirement for Regular Expression search and I can not minimize length as well. Please help