コード例 #1
0
        public void rangeTest()
        {
            SearchRequest searchRequest = new SearchRequest();
              searchRequest.text = "Nintendo";

              RangeRequest rangeRequest = new RangeRequest();
              rangeRequest.searchRequest = searchRequest;
              rangeRequest.addField("price");

              RangeResponse response = searchClient.range(rangeRequest);
              //Assert.IsTrue( response.ranges.get("price").getMin() == 0);
              //assert response.getRanges().get("price").getMax() > 0;
        }
コード例 #2
0
 public RangeResponse range(RangeRequest rangeRequest)
 {
     return (RangeResponse) callAndConvert("/search",
                                     new RangeResponse().GetType(),
                                     rangeRequest.getQueryParams());
 }
コード例 #3
0
 public RangeResponse range(RangeRequest rangeRequest)
 {
     throw new NotImplementedException("Implement me");
 }