Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SuggestResponse (0.09 sec)

  1. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponse.java

    import org.codelibs.fess.suggest.request.Response;
    
    public class SuggestResponse implements Response {
        protected final String index;
    
        protected final long tookMs;
    
        protected final List<String> words;
    
        protected final int num;
    
        protected final long total;
    
        protected final List<SuggestItem> items;
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

    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;
    
        private final List<String> tags = new ArrayList<>();
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                }
    
                final SuggestResponse suggestResponse = builder.execute().getResponse();
    
                buf.append("\"query_time\":").append(suggestResponse.getTookMs());
                buf.append(",\"record_count\":").append(suggestResponse.getTotal());
                buf.append(",\"page_size\":").append(suggestResponse.getNum());
    
                if (!suggestResponse.getItems().isEmpty()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top