Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for getSourceAsMap (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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