Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getSourceAsMap (0.14 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

                    for (final SearchHit searchHit : hits.getHits()) {
                        final OpenSearchAccessResult target = new OpenSearchAccessResult();
                        final Map<String, Object> fields = searchHit.getSourceAsMap();
                        target.setParentUrl(getFieldValue(fields.get("parentUrl"), String.class));
                        target.setMethod(getFieldValue(fields.get("method"), String.class));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                    if (hits.length == 0) {
                        break;
                    }
                    for (final SearchHit hit : hits) {
                        final SuggestItem item = SuggestItem.parseSource(hit.getSourceAsMap());
                        item.setDocFreq(0);
                        item.setKinds(Stream.of(item.getKinds()).filter(kind -> kind != SuggestItem.Kind.DOCUMENT)
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

                        isFinished.set(true);
                    }
    
                    for (final SearchHit hit : hits) {
                        final Map<String, Object> source = hit.getSourceAsMap();
                        if (limitOfDocumentSize > 0) {
                            long size = 0;
                            for (final String field : supportedFields) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

                index = hits[0].getIndex();
            } else {
                index = SuggestConstants.EMPTY_STRING;
            }
    
            for (final SearchHit hit : hits) {
                final Map<String, Object> source = hit.getSourceAsMap();
                final String text = source.get(FieldNames.TEXT).toString();
                words.add(text);
    
                if (detail) {
                    items.add(SuggestItem.parseSource(source));
                }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

            for (int i = 0; i < hits.length && words.size() < size; i++) {
                final SearchHit hit = hits[i];
    
                final Map<String, Object> source = hit.getSourceAsMap();
                final String text = source.get(FieldNames.TEXT).toString();
                if (skipDuplicateWords) {
                    final String duplicateCheckStr = text.replace(" ", "");
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

                        if (hits.length == 0) {
                            break;
                        }
                        for (final SearchHit hit : hits) {
                            array[count] = hit.getSourceAsMap();
                            count++;
                        }
                        response = client.prepareSearchScroll(scrollId).setScroll(settings.getScrollTimeout()).execute()
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                    }, (searchResponse, hit) -> {
                        final Map<String, Object> docMap = new HashMap<>();
                        final Map<String, Object> source = hit.getSourceAsMap();
                        if (source != null) {
                            docMap.putAll(source);
                        }
                        final Map<String, DocumentField> fields = hit.getFields();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

                    if (hits.length == 0) {
                        break;
                    }
                    for (final SearchHit hit : hits) {
                        final Map<String, Object> source = hit.getSourceAsMap();
                        final String fieldReadingAnalyzer = source.get(FieldNames.ANALYZER_SETTINGS_READING_ANALYZER) == null ? null
                                : source.get(FieldNames.ANALYZER_SETTINGS_READING_ANALYZER).toString();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            if (totalHitsValue != 0) {
                try {
                    for (final SearchHit searchHit : hits.getHits()) {
                        final Map<String, Object> source = searchHit.getSourceAsMap();
                        final T target = BeanUtil.copyMapToNewBean(source, clazz, option -> {
                            option.converter(new EsTimestampConverter(), timestampFields).excludeWhitespace();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            return getDocument(index, condition, (response, hit) -> {
                final FessConfig fessConfig = ComponentUtil.getFessConfig();
                final Map<String, Object> source = hit.getSourceAsMap();
                if (source != null) {
                    final Map<String, Object> docMap = new HashMap<>(source);
                    docMap.put(fessConfig.getIndexFieldId(), hit.getId());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
Back to top