- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for SuggestResponse (0.24 sec)
-
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) -
test-site/app/models/SuggestIndex.java
import org.codelibs.fess.suggest.index.contents.document.DocumentReader; import org.codelibs.fess.suggest.index.contents.document.ESSourceReader; import org.codelibs.fess.suggest.request.suggest.SuggestResponse; public class SuggestIndex { public SuggestResponse suggest(String query) { return ComponentsUtil.suggester.suggest() .setQuery(query) .execute().getResponse(); } public void index() {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Fri Nov 06 08:48:32 UTC 2015 - 964 bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 4.8K bytes - Viewed (0) -
test-site/app/controllers/Suggest.java
package controllers; import models.*; import org.codelibs.fess.suggest.request.suggest.SuggestResponse; import org.elasticsearch.common.xcontent.XContentBuilder; import org.elasticsearch.common.xcontent.json.JsonXContent; import play.Logger; import play.mvc.Controller; import play.mvc.Result; import java.util.Map; public class Suggest extends Controller { public static Result get() {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Fri Nov 06 08:48:32 UTC 2015 - 2.2K bytes - Viewed (0) -
README.ja.md
* suggesterの設定 * インデックス/タイプ名 * tagフィールド名 * roleフィールド名 * .suggest-array * suggesterの設定(配列) * 対応フィールド名 2回目以降のインスタンス生成時には、作成済みの設定が再利用されます。 ### Suggestリクエスト ```java SuggestResponse response = suggester.suggest().setQuery("kensaku").execute().getResponse(); ``` ### Suggest async widh lambda ``` suggester.suggest().setQuery("kensaku").execute() .done( response -> {} ).error(
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Mon Jul 27 10:00:55 UTC 2015 - 2.2K bytes - Viewed (0) -
README.md
Library for suggest. ## Usage ### Create suggester instance ```java String suggestId = "id"; Suggester suggester = Suggester.builder().build(client, suggestId); ``` ### Suggest ```java SuggestResponse response = suggester.suggest().setQuery("kensaku").execute().getResponse(); ``` ### Suggest async ``` suggester.suggest().setQuery("kensaku").execute() .done( response -> {} ).error(
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Jan 19 03:33:49 UTC 2023 - 1.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilder.java
import org.codelibs.fess.suggest.normalizer.Normalizer; import org.codelibs.fess.suggest.request.RequestBuilder; 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);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 2.8K bytes - Viewed (0)