• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Index field data in Not Analyzed way whose length is > 32766

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic