public static class HighlightCommandDescriptor.Builder extends Object
Constructor and Description |
---|
Builder() |
public HighlightCommandDescriptor.Builder displayQueryString(String displayQueryString)
public HighlightCommandDescriptor.Builder internalQueryString(String internalQueryString)
public HighlightCommandDescriptor.Builder category(String category)
public HighlightCommandDescriptor.Builder referencedFields(List<AbstractField> referencedFields)
public HighlightCommandDescriptor.Builder declaredFields(List<AbstractField> declaredFields)
public HighlightCommandDescriptor.Builder isHidden(Boolean isHidden)
public HighlightCommandDescriptor.Builder color(String color)
User specified color to highlight matches with if found.
color
- the value to setpublic HighlightCommandDescriptor.Builder fields(List<String> fields)
List of fields specified to highlight with the same color if matches found.
fields
- the value to setpublic HighlightCommandDescriptor.Builder keywords(List<String> keywords)
List of terms or phrases to highlight if found.
keywords
- the value to setpublic HighlightCommandDescriptor build()
public HighlightCommandDescriptor.Builder copy(HighlightCommandDescriptor model)
Copyright © 2016–2024. All rights reserved.