It is also in 4.10.3 as part of the analysis-common module:





Uwe Schindler

Achterdiek 19, D-28357 Bremen <>



From: Chris Bamford [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 20, 2017 1:02 PM
Subject: Limiting terms / field



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.


- Chris

Chris Bamford

m: +44 7860 405292

Lead Software Engineer

p: +44 207 847 8700

Address click  <> here


The information contained in this communication from  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] sent at 2017-03-20 12:02:15 is confidential and may be legally privileged. It is intended solely for use by  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] and others authorized to receive it. If you are not  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] you are hereby notified that any disclosure, copying, distribution or taking action in reliance of the contents of this information is strictly prohibited and may be unlawful.

This email message has been scanned for viruses by Mimecast. Mimecast delivers a complete managed email solution from a single web based platform. For more information please visit
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB