Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for unit (0.01 sec)

  1. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

             * @param unit The time unit.
             * @return The response.
             */
            public RESPONSE getResponse(final long time, final TimeUnit unit) {
                try {
                    final boolean isTimeout = !latch.await(time, unit);
                    if (isTimeout) {
                        throw new SuggesterException("Request timeout. time:" + time + " unit:" + unit.name());
                    }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java

    import org.opensearch.action.get.GetResponse;
    import org.opensearch.action.index.IndexAction;
    import org.opensearch.action.index.IndexRequest;
    import org.opensearch.action.index.IndexRequestBuilder;
    import org.opensearch.common.unit.TimeValue;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.transport.client.Client;
    
    /**
     * SuggestIndexWriter is an implementation of the SuggestWriter interface that provides methods to write, delete,
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. README.md

    mvn test
    
    # Format code before committing
    mvn formatter:format
    mvn license:format
    ```
    
    ### Code Style
    
    - Follow Java coding conventions
    - Use proper JavaDoc comments for public APIs
    - Include unit tests for new functionality
    - Ensure all tests pass before submitting PR
    
    ## License
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

    import org.opensearch.action.DocWriteRequest.OpType;
    import org.opensearch.action.search.SearchRequestBuilder;
    import org.opensearch.action.search.SearchResponse;
    import org.opensearch.common.unit.TimeValue;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.search.SearchHit;
    import org.opensearch.search.SearchHits;
    
    import jakarta.annotation.PostConstruct;
    
    /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. README.md

    9. Open a Pull Request
    
    ### Code Style
    
    - Use Eclipse formatter configuration (`src/config/eclipse/formatter/java.xml`)
    - Follow existing naming conventions
    - Add comprehensive JavaDoc for public APIs
    - Write unit and integration tests
    
    ## License
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

    import org.opensearch.action.search.SearchResponse;
    import org.opensearch.action.support.WriteRequest.RefreshPolicy;
    import org.opensearch.action.update.UpdateRequestBuilder;
    import org.opensearch.common.unit.TimeValue;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.search.SearchHit;
    import org.opensearch.search.SearchHits;
    import org.opensearch.search.sort.SortBuilders;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17K bytes
    - Viewed (1)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

        */
        @Override
        public synchronized void init() {
            if (httpClient != null) {
                return;
            }
    
            if (logger.isDebugEnabled()) {
                logger.debug("Initializing {}", HcHttpClient.class.getName());
            }
    
            super.init();
    
            // robots.txt parser
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

    import org.opensearch.action.update.UpdateRequestBuilder;
    import org.opensearch.action.update.UpdateResponse;
    import org.opensearch.common.action.ActionFuture;
    import org.opensearch.common.settings.Settings;
    import org.opensearch.common.unit.TimeValue;
    import org.opensearch.core.action.ActionListener;
    import org.opensearch.core.action.ActionResponse;
    import org.opensearch.index.IndexNotFoundException;
    import org.opensearch.index.engine.VersionConflictEngineException;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

    import org.opensearch.action.support.WriteRequest.RefreshPolicy;
    import org.opensearch.action.support.clustermanager.AcknowledgedResponse;
    import org.opensearch.cluster.metadata.MappingMetadata;
    import org.opensearch.common.unit.TimeValue;
    import org.opensearch.common.xcontent.XContentType;
    import org.opensearch.core.rest.RestStatus;
    import org.opensearch.core.xcontent.XContentBuilder;
    import org.opensearch.index.IndexNotFoundException;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 34.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertFalse;
    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    
    import org.junit.Before;
    import org.junit.Test;
    
    public class ReadingConverterTest {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
Back to top