lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <>
Subject Re: shingle filter
Date Wed, 26 Aug 2009 07:24:45 GMT
On Tue, Aug 25, 2009 at 4:24 AM, Joe Calderon <>wrote:

> hello *, im currently faceting on a shingled field to obtain popular
> phrases and its working well, however ide like to limit the number of
> shingles that get created, the solr.ShingleFilterFactory supports
> maxShingleSize, can it be made to support a minimum as well? can
> someone point me in the right direction?

There is only maxShingleSize right now. The other configurable attribute is
outputUnigrams which controls whether or not unigrams may be added to the

If you want to add support for minimum size, I think you can make the
changes in ShingleFilter.fillShingleBuffer(). Create an issue in jira and
someone who knows more about shingles can help out.

Shalin Shekhar Mangar.

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