public class Highlight extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
boundary_chars |
protected Integer |
boundary_max_scan |
protected String |
boundary_scanner |
protected String |
boundary_scanner_locale |
protected String |
encoder |
protected LinkedHashMap<String,Highlight> |
fields |
protected Boolean |
force_source |
protected String |
fragment_offset |
protected Integer |
fragment_size |
protected String |
fragmenter |
protected String |
highlight_query |
protected List<String> |
matched_fields |
protected Integer |
no_match_size |
protected Integer |
number_of_fragments |
protected String |
order |
protected Integer |
phrase_limit |
protected String |
post_tags |
protected String |
pre_tags |
protected Boolean |
require_field_match |
protected String |
tags_schema |
protected String |
type |
| 构造器和说明 |
|---|
Highlight() |
protected LinkedHashMap<String,Highlight> fields
protected String boundary_chars
protected Integer boundary_max_scan
protected String boundary_scanner
protected String boundary_scanner_locale
protected String encoder
protected Boolean force_source
protected String fragmenter
protected String fragment_offset
protected Integer fragment_size
protected String highlight_query
protected Integer no_match_size
protected Integer number_of_fragments
protected String order
protected Integer phrase_limit
protected String pre_tags
protected String post_tags
protected Boolean require_field_match
protected String tags_schema
protected String type
public LinkedHashMap<String,Highlight> getFields()
public void setFields(LinkedHashMap<String,Highlight> fields)
public void addField(String... fields)
public void clear()
public String getBoundary_chars()
public void setBoundary_chars(String boundary_chars)
public Integer getBoundary_max_scan()
public void setBoundary_max_scan(Integer boundary_max_scan)
public String getBoundary_scanner()
public void setBoundary_scanner(String boundary_scanner)
public String getBoundary_scanner_locale()
public void setBoundary_scanner_locale(String boundary_scanner_locale)
public String getEncoder()
public void setEncoder(String encoder)
public Boolean getForce_source()
public void setForce_source(Boolean force_source)
public String getFragmenter()
public void setFragmenter(String fragmenter)
public String getFragment_offset()
public void setFragment_offset(String fragment_offset)
public Integer getFragment_size()
public void setFragment_size(Integer fragment_size)
public String getHighlight_query()
public void setHighlight_query(String highlight_query)
public Integer getNo_match_size()
public void setNo_match_size(Integer no_match_size)
public Integer getNumber_of_fragments()
public void setNumber_of_fragments(Integer number_of_fragments)
public String getOrder()
public void setOrder(String order)
public Integer getPhrase_limit()
public void setPhrase_limit(Integer phrase_limit)
public String getPre_tags()
public void setPre_tags(String pre_tags)
public String getPost_tags()
public void setPost_tags(String post_tags)
public Boolean getRequire_field_match()
public void setRequire_field_match(Boolean require_field_match)
public String getTags_schema()
public void setTags_schema(String tags_schema)
public String getType()
public void setType(String type)
Copyright © 2025. All rights reserved.