Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-1560

maxDocBytesToAnalyze should be required arg up front

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.4.1
    • Fix Version/s: 4.9, 6.0
    • Component/s: modules/highlighter
    • Labels:
    • Lucene Fields:
      New

      Description

      We recently changed IndexWriter to require you to specify up-front
      MaxFieldLength, on creation, so that you are aware of this dangerous
      "loses stuff" setting. Too many developers had fallen into the trap
      of "how come my search can't find this document...".

      I think we should do the same with "maxDocBytesToAnalyze" with
      highlighter?

      Spinoff from this thread:

      http://www.nabble.com/Lucene-Highlighting-and-Dynamic-Summaries-p22385887.html

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mikemccand Michael McCandless
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: