maxDocBytesToAnalyze should be required arg up front
----------------------------------------------------

                 Key: LUCENE-1560
                 URL: https://issues.apache.org/jira/browse/LUCENE-1560
             Project: Lucene - Java
          Issue Type: Improvement
          Components: contrib/highlighter
    Affects Versions: 2.4.1
            Reporter: Michael McCandless
             Fix For: 2.9



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


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to