Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1740

ShingleFilterFactory improvements

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1
    • 3.1, 4.0-ALPHA
    • Schema and Analysis
    • None

    Description

      ShingleFilterFactory should allow specification of minimum shingle size (in addition to maximum shingle size), as well as the separator to use between tokens. These are implemented at LUCENE-2218. The attached patch allows ShingleFilterFactory to accept configuration of these items, and includes tests against the new functionality in TestShingleFilterFactory.

      Solr will have to upgrade to lucene-analyzers-3.1-dev.jar before the attached patch will apply.

      Attachments

        1. SOLR-1740.patch
          9 kB
          Robert Muir
        2. SOLR-1740.patch
          9 kB
          Steven Rowe

        Issue Links

          Activity

            People

              rcmuir Robert Muir
              sarowe Steven Rowe
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: