Solr
  1. Solr
  2. SOLR-487

Add configuration option for maxDocBytesToAnalyze to solr-config.xml

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: None
    • Component/s: highlighter
    • Labels:
      None
    • Environment:

      Not that it matters, but: Windows Vista Business (x86, x64), latest Ubuntu server, Tomcat 6.0.14

      Description

      My team has hit the maxDocBytesToAnalyze limitation a while back and decided to add a quick configuration parameter to solr-config.xml. I'll attach a patch momentarily (based on Solr 1.2.0 source code) that includes the implementation.

      1. maxdocsize.HighlightingUtils.patch
        0.3 kB
        Tomer Gabel
      2. maxdocsize.SolrConfig.patch
        0.5 kB
        Tomer Gabel

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        13h 27m 1 Mike Klaas 26/Feb/08 00:08
        Resolved Resolved Closed Closed
        39s 1 Mike Klaas 26/Feb/08 00:08
        Mike Klaas made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mike Klaas made changes -
        Assignee Mike Klaas [ klaasm ]
        Mike Klaas made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Mike Klaas added a comment -

        Thanks for the patch, but this functionality is already in trunk (1.3).

        http://wiki.apache.org/solr/HighlightingParameters has a list of what's new in the next version (a lot has changed since 1.2 in the Highlighter world)

        Show
        Mike Klaas added a comment - Thanks for the patch, but this functionality is already in trunk (1.3). http://wiki.apache.org/solr/HighlightingParameters has a list of what's new in the next version (a lot has changed since 1.2 in the Highlighter world)
        Tomer Gabel made changes -
        Attachment maxdocsize.SolrConfig.patch [ 12376399 ]
        Hide
        Tomer Gabel added a comment -

        Patch to default solr-config.xml (based on Solr 1.2.0) to add the configuration parameter implementation.

        Show
        Tomer Gabel added a comment - Patch to default solr-config.xml (based on Solr 1.2.0) to add the configuration parameter implementation.
        Tomer Gabel made changes -
        Field Original Value New Value
        Attachment maxdocsize.HighlightingUtils.patch [ 12376398 ]
        Hide
        Tomer Gabel added a comment -

        Patch to HighlightingUtils.java (based on Solr 1.2.0) to add the configuration parameter implementation.

        Show
        Tomer Gabel added a comment - Patch to HighlightingUtils.java (based on Solr 1.2.0) to add the configuration parameter implementation.
        Tomer Gabel created issue -

          People

          • Assignee:
            Mike Klaas
            Reporter:
            Tomer Gabel
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development