Stay organized with collections
Save and categorize content based on your preferences.
publicclassIndexSpec
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.
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 2025-08-07 UTC."],[[["\u003cp\u003e\u003ccode\u003eIndexSpec\u003c/code\u003e represents the information needed to specify an index for retrieval from the \u003ccode\u003eSearchService\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eTo create an \u003ccode\u003eIndexSpec\u003c/code\u003e instance, you must use the \u003ccode\u003enewBuilder()\u003c/code\u003e method to start constructing the specification and set the necessary properties.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetName()\u003c/code\u003e method can be used to retrieve the name of a given index.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eequals(Object obj)\u003c/code\u003e, \u003ccode\u003ehashCode()\u003c/code\u003e, and \u003ccode\u003etoString()\u003c/code\u003e methods are included to check if objects are equal, produce a hash code for the object, and return the string representation of the index, respectively.\u003c/p\u003e\n"]]],[],null,[]]