Class FixedShingleFilterFactory


  • public class FixedShingleFilterFactory
    extends TokenFilterFactory
    Factory for FixedShingleFilter

    Parameters are:

    • shingleSize - how many tokens should be combined into each shingle (default: 2)
    • tokenSeparator - how tokens should be joined together in the shingle (default: space)
    • fillerToken - what should be added in place of stop words (default: _ )
    Since:
    7.4.0
    SPI Name (case-insensitive: if the name is 'htmlStrip', 'htmlstrip' can be used when looking up the service).
    "fixedShingle"