## Deprecated API

Contents

- Deprecated Fields
- Deprecated Methods

Deprecated Fields
org.apache.lucene.search.highlight.Highlighter.DEFAULT_MAX_DOC_BYTES_TO_ANALYZE See `Highlighter.DEFAULT_MAX_CHARS_TO_ANALYZE`

Deprecated Methods
org.apache.lucene.search.highlight.Highlighter.getBestFragments(Analyzer, String, int) This method incorrectly hardcodes the choice of fieldname. Use the method of the same name that takes a fieldname.
org.apache.lucene.search.highlight.Highlighter.getMaxDocBytesToAnalyze() See `Highlighter.getMaxDocCharsToAnalyze()`, since this value has always counted on chars. They both set the same internal value, however
org.apache.lucene.search.highlight.Highlighter.setMaxDocBytesToAnalyze(int) See `Highlighter.setMaxDocCharsToAnalyze(int)`, since this value has always counted chars

Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.