Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SuggestRequest (0.07 sec)

  1. 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)
  2. src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestTest.java

    import static org.junit.Assert.assertTrue;
    
    import org.junit.Test;
    
    public class SuggestRequestTest {
        @Test
        public void test_isHiraganaQuery() throws Exception {
            SuggestRequest request = new SuggestRequest();
            assertTrue(request.isHiraganaQuery("あ"));
            assertTrue(request.isHiraganaQuery("あおぞら"));
            assertTrue(request.isHiraganaQuery("けんさく"));
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilder.java

    import org.opensearch.client.Client;
    
    public class SuggestRequestBuilder extends RequestBuilder<SuggestRequest, SuggestResponse> {
        public SuggestRequestBuilder(final Client client, final ReadingConverter readingConverter, final Normalizer normalizer) {
            super(client, new SuggestRequest());
            request.setReadingConverter(readingConverter);
            request.setNormalizer(normalizer);
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top