Stay organized with collections
Save and categorize content based on your preferences.
publicfinalclassSchema
Contains information about the kinds of document Fields
which are supported by the Index.
// Get the searchService for the default namespaceSearchServicesearchService=SearchServiceFactory.getSearchService();// Get the first page of indexes available and retrieve schemasGetResponse<Index>response=searchService.getIndexes(GetIndexesRequest.newBuilder().setSchemaFetched(true).build());// List out elements of Schemafor(Indexindex:response){Schemaschema=index.getSchema();for(StringfieldName:schema.getFieldNames()){List<FieldType>typesForField=schema.getFieldTypes(fieldName);}}
[[["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-12-19 UTC."],[],[]]