Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            suggester.refresh();
    
            SuggestResponse response1 = suggester.suggest().setQuery("tes").setSuggestDetail(true).execute().getResponse();
            assertEquals(1, response1.getNum());
            SuggestResponse response2 = suggester.suggest().setQuery("hoge").setSuggestDetail(true).execute().getResponse();
            assertEquals(1, response2.getNum());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K 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)
Back to top