Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: update
    • Labels:
      None

      Description

      As discussed shortly on the mailing list (http://www.mail-archive.com/solr-user@lucene.apache.org/msg09807.html), the objective of this task is to add a maxLength property to the CopyField "command". This property simply limits the number of characters that are copied.

      This is particularly useful to avoid very slow highlighting when the index contains big documents.

      Example :
      <copyField source="text" dest="highlight" maxLength="30000" />

      This approach has also the advantage of limiting the index size for large documents (the original text field does not need to be stored and to have term vectors). However, the index is bigger for small documents...

        Attachments

        1. SOLR-538.patch
          43 kB
          Chris Harris
        2. SOLR-538.patch
          43 kB
          Chris Harris
        3. SOLR-538.patch
          44 kB
          Lars Kotthoff
        4. SOLR-538-for-1.3.patch
          42 kB
          Koji Sekiguchi
        5. SOLR-538.patch
          43 kB
          Chris Harris
        6. SOLR-538.patch
          43 kB
          Lars Kotthoff
        7. SOLR-538.patch
          43 kB
          Lars Kotthoff
        8. SOLR-538.patch
          43 kB
          Lars Kotthoff
        9. SOLR-538.patch
          43 kB
          Lars Kotthoff
        10. CopyFieldMaxLength.patch
          42 kB
          Georgios Stamatis
        11. CopyFieldMaxLength.patch
          57 kB
          Georgios Stamatis

          Activity

            People

            • Assignee:
              koji Koji Sekiguchi
              Reporter:
              dessaigne Nicolas Dessaigne
            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: