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-03-05 UTC."],[[["`IndexSpec` represents the information needed to specify an index for retrieval from the `SearchService`."],["To create an `IndexSpec` instance, you must use the `newBuilder()` method to start constructing the specification and set the necessary properties."],["The `getName()` method can be used to retrieve the name of a given index."],["The `equals(Object obj)`, `hashCode()`, and `toString()` 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."]]],[]]