Lucene - Core
  1. Lucene - Core
  2. LUCENE-4843

LimitTokenPositionFilter: don't emit tokens with positions that exceed the configured limit

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3, 5.0
    • Component/s: modules/analysis
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      Like LimitTokenCountFilter, except it's the token position that's limited rather than the token count.

        Activity

        Hide
        Steve Rowe added a comment -

        Patch implementing the idea.

        I think it's ready to go.

        Show
        Steve Rowe added a comment - Patch implementing the idea. I think it's ready to go.
        Hide
        Commit Tag Bot added a comment -

        [trunk commit] Steven Rowe
        http://svn.apache.org/viewvc?view=revision&revision=1457572

        LUCENE-4843: Add LimitTokenPositionFilter: don't emit tokens with positions that exceed the configured limit

        Show
        Commit Tag Bot added a comment - [trunk commit] Steven Rowe http://svn.apache.org/viewvc?view=revision&revision=1457572 LUCENE-4843 : Add LimitTokenPositionFilter: don't emit tokens with positions that exceed the configured limit
        Hide
        Steve Rowe added a comment -

        Committed to trunk and branch_4x.

        Show
        Steve Rowe added a comment - Committed to trunk and branch_4x.
        Hide
        Commit Tag Bot added a comment -

        [branch_4x commit] Steven Rowe
        http://svn.apache.org/viewvc?view=revision&revision=1457574

        LUCENE-4843: Add LimitTokenPositionFilter: don't emit tokens with positions that exceed the configured limit (merged trunk r1457572)

        Show
        Commit Tag Bot added a comment - [branch_4x commit] Steven Rowe http://svn.apache.org/viewvc?view=revision&revision=1457574 LUCENE-4843 : Add LimitTokenPositionFilter: don't emit tokens with positions that exceed the configured limit (merged trunk r1457572)
        Hide
        Commit Tag Bot added a comment -

        [trunk commit] Steven Rowe
        http://svn.apache.org/viewvc?view=revision&revision=1457586

        LUCENE-4843: In TestRandomChains, only use LimitTokenPositionFilter configured to consume all wrapped stream's tokens, just like LimitTokenCountFilter

        Show
        Commit Tag Bot added a comment - [trunk commit] Steven Rowe http://svn.apache.org/viewvc?view=revision&revision=1457586 LUCENE-4843 : In TestRandomChains, only use LimitTokenPositionFilter configured to consume all wrapped stream's tokens, just like LimitTokenCountFilter
        Hide
        Commit Tag Bot added a comment -

        [branch_4x commit] Steven Rowe
        http://svn.apache.org/viewvc?view=revision&revision=1457587

        LUCENE-4843: In TestRandomChains, only use LimitTokenPositionFilter configured to consume all wrapped stream's tokens, just like LimitTokenCountFilter (merged trunk r1457586)

        Show
        Commit Tag Bot added a comment - [branch_4x commit] Steven Rowe http://svn.apache.org/viewvc?view=revision&revision=1457587 LUCENE-4843 : In TestRandomChains, only use LimitTokenPositionFilter configured to consume all wrapped stream's tokens, just like LimitTokenCountFilter (merged trunk r1457586)
        Hide
        Uwe Schindler added a comment -

        Closed after release.

        Show
        Uwe Schindler added a comment - Closed after release.

          People

          • Assignee:
            Steve Rowe
            Reporter:
            Steve Rowe
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development