mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
clean code
This commit is contained in:
parent
d12c757824
commit
4a9c7d672e
@ -78,7 +78,7 @@ public class HighlightPhase implements SearchPhase {
|
||||
if (mapper != null) {
|
||||
indexName = mapper.names().indexName();
|
||||
}
|
||||
String[] fragments = null;
|
||||
String[] fragments;
|
||||
try {
|
||||
fragments = highlighter.getBestFragments(fieldQuery, context.searcher().getIndexReader(), docId, indexName, parsedHighlightField.fragmentCharSize(), parsedHighlightField.numberOfFragments());
|
||||
} catch (IOException e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user