Package gov.nasa.pds.validate.ri
Class FakeOpensearch
- java.lang.Object
-
- gov.nasa.pds.validate.ri.OpensearchDocument
-
- gov.nasa.pds.validate.ri.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
-
-
Constructor Summary
Constructors Constructor Description FakeOpensearch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.opensearch.action.search.SearchResponse
search(org.opensearch.client.RestHighLevelClient client, org.opensearch.action.search.SearchRequest request)
-
-
-
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 classgov.nasa.pds.validate.ri.OpensearchDocument
- Throws:
IOException
-
-