public static class HighlightGroupsCommandDescriptor.Builder extends Object
Constructor and Description |
---|
Builder() |
public HighlightGroupsCommandDescriptor.Builder displayQueryString(String displayQueryString)
public HighlightGroupsCommandDescriptor.Builder internalQueryString(String internalQueryString)
public HighlightGroupsCommandDescriptor.Builder category(String category)
public HighlightGroupsCommandDescriptor.Builder referencedFields(List<AbstractField> referencedFields)
public HighlightGroupsCommandDescriptor.Builder declaredFields(List<AbstractField> declaredFields)
public HighlightGroupsCommandDescriptor.Builder isHidden(Boolean isHidden)
public HighlightGroupsCommandDescriptor.Builder color(String color)
User specified color to highlight matches with if found.
color
- the value to setpublic HighlightGroupsCommandDescriptor.Builder priority(String priority)
User specified priority assigned to highlighted matches if found.
priority
- the value to setpublic HighlightGroupsCommandDescriptor.Builder matchOnly(List<String> matchOnly)
List of fields to search for terms or phrases to highlight. If not specified all string fields are scanned.
matchOnly
- the value to setpublic HighlightGroupsCommandDescriptor.Builder fields(List<String> fields)
List of fields to search for terms or phrases to highlight.
fields
- the value to setpublic HighlightGroupsCommandDescriptor.Builder keywords(List<String> keywords)
List of terms or phrases to highlight if found.
keywords
- the value to setpublic HighlightGroupsCommandDescriptor.Builder subQueries(List<ParseQueryOutput> subQueries)
List of subQueries specified as highlightgroups command arguments
subQueries
- the value to setpublic HighlightGroupsCommandDescriptor build()
public HighlightGroupsCommandDescriptor.Builder copy(HighlightGroupsCommandDescriptor model)
Copyright © 2016–2024. All rights reserved.