public class HighlighterContext extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HighlighterContext.HighlightQuery |
Modifier and Type | Field and Description |
---|---|
SearchContext |
context |
SearchContextHighlight.Field |
field |
String |
fieldName |
FetchSubPhase.HitContext |
hitContext |
FieldMapper<?> |
mapper |
HighlighterContext.HighlightQuery |
query |
Constructor and Description |
---|
HighlighterContext(String fieldName,
SearchContextHighlight.Field field,
FieldMapper<?> mapper,
SearchContext context,
FetchSubPhase.HitContext hitContext,
HighlighterContext.HighlightQuery query) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.analysis.Analyzer |
analyzer() |
void |
analyzer(org.apache.lucene.analysis.Analyzer analyzer) |
public final String fieldName
public final SearchContextHighlight.Field field
public final FieldMapper<?> mapper
public final SearchContext context
public final FetchSubPhase.HitContext hitContext
public final HighlighterContext.HighlightQuery query
public HighlighterContext(String fieldName, SearchContextHighlight.Field field, FieldMapper<?> mapper, SearchContext context, FetchSubPhase.HitContext hitContext, HighlighterContext.HighlightQuery query)
Copyright © 2009–2015. All rights reserved.