Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for OpenSearchResultList (0.17 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/util/OpenSearchResultList.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.util;
    
    import java.util.ArrayList;
    
    public class OpenSearchResultList<E> extends ArrayList<E> {
    
        private static final long serialVersionUID = 1L;
    
        private long totalHits;
    
        private long tookInMillis;
    
        public void setTotalHits(final long totalHits) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

                        "contentLength", "lastModified", "ruleId", "httpStatusCode", "status" }, null);
                return builder.execute();
            });
            final OpenSearchResultList<OpenSearchAccessResult> targetList = new OpenSearchResultList<>();
            final SearchHits hits = response.getHits();
            final TotalHits totalHits = hits.getTotalHits();
            final long totalHitsValue = totalHits != null ? totalHits.value : 0;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                final SearchRequestBuilder builder = c.prepareSearch(index);
                callback.accept(builder);
                return builder.execute();
            });
            final OpenSearchResultList<T> targetList = new OpenSearchResultList<>();
            final SearchHits hits = response.getHits();
            final TotalHits totalHits = hits.getTotalHits();
            final long totalHitsValue = totalHits != null ? totalHits.value : 0;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top