mirror of https://github.com/apache/lucene.git
LUCENE-4906: make expert Object method protected
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523225 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5329cbdd3d
commit
c3fd78cae6
|
@ -327,7 +327,7 @@ public class PostingsHighlighter {
|
|||
* @throws IllegalArgumentException if <code>field</code> was indexed without
|
||||
* {@link IndexOptions#DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS}
|
||||
*/
|
||||
public Map<String,Object[]> highlightFieldsAsObjects(String fieldsIn[], Query query, IndexSearcher searcher, int[] docidsIn, int maxPassagesIn[]) throws IOException {
|
||||
protected Map<String,Object[]> highlightFieldsAsObjects(String fieldsIn[], Query query, IndexSearcher searcher, int[] docidsIn, int maxPassagesIn[]) throws IOException {
|
||||
if (fieldsIn.length < 1) {
|
||||
throw new IllegalArgumentException("fieldsIn must not be empty");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue