public class DiscoveryHitHighlightFieldConfiguration extends Object
| Constructor and Description |
|---|
DiscoveryHitHighlightFieldConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getField() |
int |
getMaxSize() |
int |
getSnippets()
Get the maximum number of highlighted snippets to generate per field
|
void |
setField(String field) |
void |
setMaxSize(int maxSize) |
void |
setSnippets(int snippets)
Set the maximum number of highlighted snippets to generate per field
|
public DiscoveryHitHighlightFieldConfiguration()
public String getField()
public void setField(String field)
public int getMaxSize()
public void setMaxSize(int maxSize)
public void setSnippets(int snippets)
snippets - the number of maximum snippetspublic int getSnippets()
Copyright © 2022 LYRASIS. All rights reserved.