Stay organized with collections
Save and categorize content based on your preferences.
public class IndexSpec
Represents information about an index. This class is used to fully specify
the index you want to retrieve from the SearchService.
To build an instance use the #newBuilder() method and set
all required parameters, plus optional values different than the defaults.
SearchService searchService = SearchServiceFactory.getSearchService();
IndexSpec spec = IndexSpec.newBuilder()
.setName("docs")
.build();
Index index = searchService.getIndex(spec);
Creates a new IndexSpec builder. You must use this method to obtain a new
builder. The returned builder must be used to specify all properties of
the IndexSpec. To obtain the IndexSpec call the Builder#build()
method on the returned builder.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-26 UTC."],[],[]]