We are using Lucene 4.10.3 and are interested in limiting the number of terms per field. In the past this was set by the IndexWriter (maxFieldLength) and the default was 10K; as I understand it this is no longer the case, in fact it is now unlimited by default?
Anyway, what is the best way we can do this? I have found some references to a class called LimitTokenCountFilter, but I believe it is only found in later versions.
[ YouTube: http://www.youtube.com/user/mimecast#p/u/15/_523kC3lcNQ]
[ Twitter: http://twitter.com/mimecast
] [ Our Blog: http://blog.mimecast.com/
Lead Software Engineer
c: +44 7860 405292
p: +44 207 847 8700http://www.mimecast.com
GPS: 26' 05.940" S, 18o 28' 04.278" E
Cape Town Map
GPS: 33o 56.068" S, 18o 28.320" E
This email, sent at 12:02:15 on 2017-03-20 from [EMAIL PROTECTED] to [EMAIL PROTECTED] has been scanned for viruses and malware by Mimecast, an innovator in software as a service (SaaS) for business. 's email continuity, security, archiving and compliancy is managed by Mimecast's unified email management platform.
To find out more, email [EMAIL PROTECTED] or request a demo.
Mimecast SA (Pty) Ltd is a registered company within the Republic of South Africa, company registration number: 2004/000965/07 VAT No. 4650210547