Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 96 for getHits (0.1 sec)

  1. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

                String scrollId = response.getScrollId();
                try {
                    while (scrollId != null) {
                        final SearchHit[] hits = response.getHits().getHits();
                        if (hits.length == 0) {
                            break;
                        }
    
                        final BulkRequestBuilder bulkRequestBuiler = client.prepareBulk();
    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. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                    .execute());
            String scrollId = response.getScrollId();
            try {
                while (scrollId != null) {
                    final SearchHits searchHits = response.getHits();
                    if (searchHits.getHits().length == 0) {
                        break;
                    }
    
                    final BulkResponse bulkResponse = getClient().get(c -> {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            int count = 0;
            String scrollId = response.getScrollId();
            try {
                while (scrollId != null) {
                    final SearchHits searchHits = response.getHits();
                    final SearchHit[] hits = searchHits.getHits();
                    if (hits.length == 0) {
                        break;
                    }
    
                    final BulkRequestBuilder bulkRequest = client.prepareBulk();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java

            String scrollId = response.getScrollId();
            try {
                while (scrollId != null) {
                    final SearchHits searchHits = getSearchHits(response);
                    final SearchHit[] hits = searchHits.getHits();
                    if (hits.length == 0) {
                        break;
                    }
    
                    if (!handler.apply(searchHits)) {
                        break;
                    }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractBehavior.java

            String scrollId = response.getScrollId();
            try {
                while (scrollId != null) {
                    final SearchHits searchHits = getSearchHits(response);
                    final SearchHit[] hits = searchHits.getHits();
                    if (hits.length == 0) {
                        break;
                    }
    
                    if (!handler.apply(searchHits)) {
                        break;
                    }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractBehavior.java

            String scrollId = response.getScrollId();
            try {
                while (scrollId != null) {
                    final SearchHits searchHits = getSearchHits(response);
                    final SearchHit[] hits = searchHits.getHits();
                    if (hits.length == 0) {
                        break;
                    }
    
                    if (!handler.apply(searchHits)) {
                        break;
                    }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

            String scrollId = response.getScrollId();
            try {
                while (scrollId != null) {
                    final SearchHit[] hits = response.getHits().getHits();
                    if (hits.length == 0) {
                        break;
                    }
                    for (final SearchHit hit : hits) {
                        final Map<String, Object> source = hit.getSourceAsMap();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

            String scrollId = response.getScrollId();
            int count = 0;
            try {
                while (scrollId != null) {
                    final SearchHit[] hits = response.getHits().getHits();
                    if (hits.length == 0) {
                        break;
                    }
    
                    count += hits.length;
                    final BulkResponse bulkResponse = get(c -> {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/Suggester.java

                    .setTrackTotalHits(true).execute().actionGet(suggestSettings.getSearchTimeout());
            return searchResponse.getHits().getTotalHits().value;
        }
    
        private String getSearchAlias(final String index) {
            return index;
        }
    
        private String getUpdateAlias(final String index) {
            return index + ".update";
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

                    .setQuery(queryBuilder).setSize(0).setTrackTotalHits(true).execute().actionGet(fessConfig.getIndexSearchTimeout());
            final TotalHits totalHits = countResponse.getHits().getTotalHits();
            if (totalHits != null) {
                return totalHits.value;
            }
            return 0;
        }
    
        public long deleteBySessionId(final String sessionId) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
Back to top