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

maxDocBytesToAnalyze should be required arg up front

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4.1
    • 4.9, 6.0
    • modules/highlighter
    • 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

            Unassigned Unassigned
            mikemccand Michael McCandless

            Dates

              Created:
              Updated:

              Slack

                Issue deployment