Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for Response (0.03 sec)

  1. src/main/java/org/codelibs/fess/suggest/request/Response.java

    package org.codelibs.fess.suggest.request;
    
    /**
     * The Response interface serves as a marker interface for all response types
     * in the suggestion system. Implementations of this interface are used to
     * encapsulate the results of various operations and queries within the system.
     *
     * <p>Classes implementing this interface should provide specific details and
     * data relevant to the type of response they represent.</p>
     */
    public interface Response {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            response = suggester.suggest().setQuery("zenbun").setSuggestDetail(true).execute().getResponse();
            assertEquals(1, response.getNum());
            assertEquals("全文 検索", response.getWords().get(0));
    
            response = suggester.suggest().addKind("query").execute().getResponse();
            assertEquals(1, response.getNum());
    
            SuggestResponse response2 = suggester.suggest().setSuggestDetail(true).execute().getResponse();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 37.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponse.java

    import org.codelibs.fess.suggest.request.Response;
    
    /**
     * Represents the response for popular words request.
     */
    public class PopularWordsResponse implements Response {
    
        /**
         * The index associated with the response.
         */
        protected final String index;
    
        /**
         * The time taken to generate the response in milliseconds.
         */
        protected final long tookMs;
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/ResponseProcessor.java

    /**
     * The ResponseProcessor interface defines a contract for processing response data.
     * Implementations of this interface are responsible for handling the response data
     * obtained during a crawling process.
     */
    public interface ResponseProcessor {
    
        /**
         * Processes the given response data.
         *
         * @param responseData the response data to be processed
         */
        void process(ResponseData responseData);
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

                        if (!scrollId.equals(response.getScrollId())) {
                            SuggestUtil.deleteScrollContext(client, scrollId);
                        }
                    }
                    scrollId = response.getScrollId();
                    final SearchHit[] hits = response.getHits().getHits();
                    if (scrollId == null || hits.length == 0) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexResponse.java

    import java.util.List;
    
    import org.codelibs.fess.suggest.request.Response;
    
    /**
     * Represents the response of a suggest index operation.
     * This class contains information about the number of suggest documents,
     * the number of input documents, any errors that occurred during the operation,
     * and the time taken to complete the operation.
     */
    public class SuggestIndexResponse implements Response {
        /** The number of suggest documents. */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

     *   to return the result of the computation.
     * </p>
     *
     * @param <RESPONSE> The type of the response.
     */
    public class Deferred<RESPONSE extends Response> {
        /**
         * Constructs a new Deferred object.
         */
        public Deferred() {
            // nothing
        }
    
        private RESPONSE response = null;
    
        private Throwable error = null;
    
        private final Promise promise = new Promise();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                    }
                }
            }
        }
    
        /**
         * Retrieves response data for the given URI using SMB1 protocol.
         *
         * @param uri the URI to retrieve data from
         * @param includeContent whether to include content in the response
         * @return the response data
         */
        protected ResponseData getResponseData(final String uri, final boolean includeContent) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java

     *   <li>Checking last modified dates</li>
     *   <li>Getting content</li>
     *   <li>Handling redirects</li>
     *   <li>Processing responses</li>
     *   <li>Handling exceptions during crawling and child URL processing</li>
     *   <li>Handling cases where no URL is in the queue</li>
     *   <li>Handling cases where no response processor or rule is found</li>
     *   <li>Handling system errors</li>
     * </ul>
     *
     * <p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/request/Request.java

    import org.opensearch.transport.client.Client;
    
    /**
     * Abstract class representing a request that can be executed to produce a response.
     *
     * @param <T> the type of response produced by this request
     */
    public abstract class Request<T extends Response> {
        /**
         * Constructs a new request.
         */
        public Request() {
            // nothing
        }
    
        /**
         * Executes the request.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top