Class FakeOpensearch

  • All Implemented Interfaces:
    gov.nasa.pds.validate.ri.DocumentInfo, org.opensearch.client.RestClientBuilder.HttpClientConfigCallback, org.opensearch.client.RestClientBuilder.RequestConfigCallback

    public class FakeOpensearch
    extends gov.nasa.pds.validate.ri.OpensearchDocument
    • Field Summary

      • Fields inherited from class gov.nasa.pds.validate.ri.OpensearchDocument

        PAGE_SIZE, sourceOverride
    • Constructor Summary

      Constructors 
      Constructor Description
      FakeOpensearch()  
    • Constructor Detail

      • FakeOpensearch

        public FakeOpensearch()
    • Method Detail

      • search

        protected org.opensearch.action.search.SearchResponse search​(org.opensearch.client.RestHighLevelClient client,
                                                                     org.opensearch.action.search.SearchRequest request)
                                                              throws IOException
        Overrides:
        search in class gov.nasa.pds.validate.ri.OpensearchDocument
        Throws:
        IOException