Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 39 of 39 for searchlist (0.21 sec)

  1. 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)
  2. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

                int count = 0;
                try {
                    while (scrollId != null) {
                        final SearchHit[] hits = response.getHits().getHits();
                        if (hits.length == 0) {
                            break;
                        }
                        for (final SearchHit hit : hits) {
                            array[count] = hit.getSourceAsMap();
                            count++;
                        }
    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/suggest/index/SuggestIndexer.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 SuggestItem item = SuggestItem.parseSource(hit.getSourceAsMap());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K 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/suggest/request/suggest/SuggestRequest.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.sort.SortOrder;
    
    public class SuggestRequest extends Request<SuggestResponse> {
        private String index = null;
    
        private String query = "";
    
        private int size = 10;
    
    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/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)
  7. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

                    while (scrollId != null) {
                        final SearchHit[] hits = response.getHits().getHits();
                        if (hits.length == 0) {
                            break;
                        }
    
                        final BulkRequestBuilder bulkRequestBuiler = client.prepareBulk();
                        Stream.of(hits).map(SearchHit::getId).forEach(id -> bulkRequestBuiler.add(new DeleteRequest(index, id)));
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. 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)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

                    final SearchHit[] hits = response.getHits().getHits();
                    if (hits.length == 0) {
                        break;
                    }
    
                    count += hits.length;
                    final BulkResponse bulkResponse = get(c -> {
                        final BulkRequestBuilder bulkRequest = client.prepareBulk();
                        for (final SearchHit hit : hits) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top