You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
maxDocBytesToAnalyze() was deprecated as part of #2209 in favor of maxDocCharsToAnalyze(), and then removed with the 3.0 release deprecation removals as part of #3097.
There is one commented-out vestige that ought to be renamed or removed (my vote is removal - this was commented out six years ago):
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:
Migrated from LUCENE-1560 by Michael McCandless (@mikemccand), updated May 09 2016
The text was updated successfully, but these errors were encountered: