Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for copyMapToNewBean (0.08 sec)

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

                    for (final SearchHit searchHit : searchHits) {
                        final Map<String, Object> source = searchHit.getSourceAsMap();
                        final OpenSearchAccessResult accessResult = BeanUtil.copyMapToNewBean(source, OpenSearchAccessResult.class, 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
    - 8.5K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            if (response.isExists()) {
                final Map<String, Object> source = response.getSource();
                final T bean = BeanUtil.copyMapToNewBean(source, clazz, option -> {
                    option.converter(new EsTimestampConverter(), timestampFields).excludeWhitespace();
                    option.exclude(OpenSearchAccessResult.ACCESS_RESULT_DATA);
                });
    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