Class SearchContext.Builder
- java.lang.Object
- 
- com.oracle.bmc.resourcesearch.model.SearchContext.Builder
 
- 
- Enclosing class:
- SearchContext
 
 public static class SearchContext.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchContextbuild()SearchContext.Buildercopy(SearchContext model)SearchContext.Builderhighlights(Map<String,List<String>> highlights)Describes what in each field matched the search criteria by showing highlighted values, but only for free text searches or for structured queries that use a MATCHING clause.
 
- 
- 
- 
Method Detail- 
highlightspublic SearchContext.Builder highlights(Map<String,List<String>> highlights) Describes what in each field matched the search criteria by showing highlighted values, but only for free text searches or for structured queries that use a MATCHING clause.The list of strings represents fragments of values that matched the query conditions. Highlighted values are wrapped with <h1>..</h1> tags. All values are HTML-encoded (except <h1> tags). - Parameters:
- highlights- the value to set
- Returns:
- this builder
 
 - 
buildpublic SearchContext build() 
 - 
copypublic SearchContext.Builder copy(SearchContext model) 
 
- 
 
-