lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <>
Subject RE: Limiting terms / field
Date Mon, 20 Mar 2017 12:27:23 GMT
It is also in 4.10.3 as part of the analysis-common module:





Uwe Schindler

Achterdiek 19, D-28357 Bremen <> 



From: Chris Bamford [] 
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  <> sent at 2017-03-20 12:02:15 is confidential and may be legally privileged.
It is intended solely for use by  <>
and others authorized to receive it. If you are not  <> 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 



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message