Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for SearchHit (0.08 sec)

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

            if (totalHitsValue != 0) {
                try {
                    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));
    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/util/SearchEngineUtil.java

        }
    
        public static long scroll(final String index, final Function<SearchHit, Boolean> callback) {
            final SearchEngineClient client = ComponentUtil.getSearchEngineClient();
            return client.<SearchHit> scrollSearch(index, searchRequestBuilder -> true, (searchResponse, hit) -> hit,
                    hit -> callback.apply(hit));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

                    scrollId = response.getScrollId();
                    final SearchHit[] hits = response.getHits().getHits();
                    if (scrollId == null || hits.length == 0) {
                        SuggestUtil.deleteScrollContext(client, scrollId);
                        isFinished.set(true);
                    }
    
                    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
    - 7.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.index.query.functionscore.FunctionScoreQueryBuilder;
    import org.opensearch.index.query.functionscore.ScoreFunctionBuilders;
    import org.opensearch.search.SearchHit;
    import org.opensearch.search.rescore.QueryRescorerBuilder;
    
    public class PopularWordsRequest extends Request<PopularWordsResponse> {
        private String index = null;
    
        private int size = 10;
    
    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/score/ScoreBooster.java

    import org.opensearch.action.update.UpdateRequestBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.script.Script;
    import org.opensearch.script.ScriptType;
    import org.opensearch.search.SearchHit;
    
    public abstract class ScoreBooster {
        private static final Logger logger = LogManager.getLogger(ScoreBooster.class);
    
        protected BulkRequestBuilder bulkRequestBuilder = null;
    
        protected int priority = 1;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top