Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getResponse (0.12 sec)

  1. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            }
        }
    
        public Object get(final String key) {
            final GetResponse getResponse =
                    client.prepareGet().setIndex(settingsIndexName).setId(settingsId).execute().actionGet(getSearchTimeout());
            if (!getResponse.isExists()) {
                return null;
            }
            final Map<String, Object> map = getResponse.getSource();
            return map.get(key);
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/TestThread.java

        assertEquals(null, getResponse(methodName).getResult());
      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned the
       * expected boolean value.
       */
      public void assertPriorCallReturns(boolean expected, @Nullable String methodName)
          throws Exception {
        assertEquals(expected, getResponse(methodName).getResult());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        assertEquals(null, getResponse(methodName).getResult());
      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned the
       * expected boolean value.
       */
      public void assertPriorCallReturns(boolean expected, @Nullable String methodName)
          throws Exception {
        assertEquals(expected, getResponse(methodName).getResult());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

            return client.prepareBulk();
        }
    
        @Override
        public ActionFuture<GetResponse> get(final GetRequest request) {
            return client.get(request);
        }
    
        @Override
        public void get(final GetRequest request, final ActionListener<GetResponse> listener) {
            client.get(request, listener);
        }
    
        @Override
        public GetRequestBuilder prepareGet() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

                if (logger.isDebugEnabled()) {
                    logger.debug("Logging in with SPNEGO Authenticator");
                }
                final HttpServletResponse response = LaResponseUtil.getResponse();
                final SpnegoHttpServletResponse spnegoResponse = new SpnegoHttpServletResponse(response);
    
                // client/caller principal
                final SpnegoPrincipal principal;
                try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                    builder.addKind(SuggestItem.Kind.DOCUMENT.toString());
                }
    
                final SuggestResponse suggestResponse = builder.execute().getResponse();
    
                buf.append("\"query_time\":").append(suggestResponse.getTookMs());
                buf.append(",\"record_count\":").append(suggestResponse.getTotal());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

    import org.opensearch.action.bulk.BulkRequestBuilder;
    import org.opensearch.action.bulk.BulkResponse;
    import org.opensearch.action.delete.DeleteResponse;
    import org.opensearch.action.get.GetResponse;
    import org.opensearch.action.index.IndexResponse;
    import org.opensearch.action.search.SearchRequestBuilder;
    import org.opensearch.action.search.SearchResponse;
    import org.opensearch.action.support.WriteRequest.RefreshPolicy;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

            resolver.resolve(OpenIdConnectCredential.class, credential -> OptionalEntity.of(credential.getUser()));
        }
    
        @Override
        public ActionResponse getResponse(final SsoResponseType responseType) {
            return null;
        }
    
        @Override
        public String logout(final FessUserBean user) {
            return null;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                final SearchResult<T, GetRequestBuilder, GetResponse> searchResult) {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final long startTime = systemHelper.getCurrentTimeAsLong();
    
            GetResponse response = null;
            final GetRequestBuilder requestBuilder = client.prepareGet(index, id);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                            responseOpt.ifPresent(externalContext::setResponse);
                        }
                        return searcher.search(query, reqParams, userBean);
                    } finally {
                        if (externalContext != null) {
                            externalContext.setRequest(null);
                            externalContext.setResponse(null);
                        }
                    }
                }));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
Back to top