Cocoon
  1. Cocoon
  2. COCOON-1880

[PATCH] Allow LuceneIndexTransformer to index large documents (with more than 10k terms)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.8, 2.1.9
    • Fix Version/s: 2.1.10, 2.2
    • Component/s: Blocks: Lucene
    • Labels:
      None
    • Other Info:
      Patch available

      Description

      The LuceneIndexTransformer did not provide a way to over-ride the default maxFieldLength value of a Lucene IndexWriter. Since the default value is 10k, this means that large documents can not be indexed.

        Activity

        Hide
        Conal Tuohy added a comment -
        The patch adds the facility to set a "max-field-length" parameter, in the same way as all the other parameters. Also the JavaDoc has been expanded significantly.
        Show
        Conal Tuohy added a comment - The patch adds the facility to set a "max-field-length" parameter, in the same way as all the other parameters. Also the JavaDoc has been expanded significantly.
        Hide
        Antonio Gallardo added a comment -
        Thanks for the patch. It was applied in 2.1.x branch and 2.2-dev. Please feel free to reopen the issue if needed.
        Show
        Antonio Gallardo added a comment - Thanks for the patch. It was applied in 2.1.x branch and 2.2-dev. Please feel free to reopen the issue if needed.

          People

          • Assignee:
            Antonio Gallardo
            Reporter:
            Conal Tuohy
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development