Stored fields

Looking for help interacting with stored fields returned from the search. Specifically hit.fields() returns a map of string and JsonData. How do you turn that JsonData into something you can manipulate? Thanks.

SearchRequest searchRequest = SearchRequest.of(sr -> sr
            .source(s -> s
            .storedFields(Arrays.asList("doc.test1", "doc.test2"))
            .query(q -> q
                .ids(i -> i

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.