public class Highlight extends DslCloneable
Constructor and Description |
---|
Highlight(Collection<String> fields,
String pre,
String post,
Integer length,
Integer count,
Boolean defaultHighlight) |
Modifier and Type | Method and Description |
---|---|
Highlight |
clone() |
Integer |
getCount() |
Boolean |
getDefaultHighlight() |
Collection<String> |
getFields() |
Integer |
getLength() |
String |
getPost() |
String |
getPre() |
void |
setCount(Integer count) |
void |
setDefaultHighlight(Boolean defaultHighlight) |
void |
setFields(Collection<String> fields) |
void |
setLength(Integer length) |
void |
setPost(String post) |
void |
setPre(String pre) |
clone, deepClone
public Collection<String> getFields()
public void setFields(Collection<String> fields)
public Integer getLength()
public void setLength(Integer length)
public Integer getCount()
public void setCount(Integer count)
public Boolean getDefaultHighlight()
public void setDefaultHighlight(Boolean defaultHighlight)
public String getPre()
public void setPre(String pre)
public String getPost()
public void setPost(String post)
public Highlight clone()
clone
in class DslCloneable