- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 76 for setKinds (0.05 sec)
-
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java
assertNotNull(item.getLanguages()); assertEquals(0, item.getLanguages().length); assertNotNull(item.getKinds()); assertEquals(1, item.getKinds().length); assertEquals(SuggestItem.Kind.DOCUMENT, item.getKinds()[0]); } @Test public void testGettersAndSetters() { // Test all getter and setter methods String[] text = { "initial" };
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16.7K bytes - Viewed (0) -
docs/en/docs/advanced/settings.md
## Pydantic `Settings` { #pydantic-settings } Fortunately, Pydantic provides a great utility to handle these settings coming from environment variables with <a href="https://docs.pydantic.dev/latest/concepts/pydantic_settings/" class="external-link" target="_blank">Pydantic: Settings management</a>. ### Install `pydantic-settings` { #install-pydantic-settings }Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
* @param settings the suggest settings to be used for creating the normalizer * @return a NormalizerChain with the default normalizers */ public static Normalizer createDefaultNormalizer(final Client client, final SuggestSettings settings) { final NormalizerChain normalizerChain = new NormalizerChain(); normalizerChain.add(new AnalyzerNormalizer(client, settings)); /*Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java
} private static void initializeSuggestSettings() throws Exception { // Create suggester and get settings Suggester suggester = Suggester.builder().build(client, "test"); settings = suggester.settings(); // Store analyzer settings storeAnalyzerSettings(); } private static void storeAnalyzerSettings() throws Exception {Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 12.5K bytes - Viewed (0) -
docs/en/docs/how-to/configure-swagger-ui.md
## JavaScript-only settings { #javascript-only-settings } Swagger UI also allows other configurations to be **JavaScript-only** objects (for example, JavaScript functions). FastAPI also includes these JavaScript-only `presets` settings: ```JavaScript presets: [ SwaggerUIBundle.presets.apis, SwaggerUIBundle.SwaggerUIStandalonePresetRegistered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.9K bytes - Viewed (0) -
README.md
Suggester customSuggester = Suggester.builder() .settings(settings) .readingConverter(new ReadingConverterChain()) .normalizer(new ICUNormalizer()) .build(client, "custom-suggest"); ``` ## Configuration Options ### Suggester Settings ```java import org.codelibs.fess.suggest.settings.SuggestSettingsBuilder; SuggestSettings settings = SuggestSettingsBuilder.builder()
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sun Aug 31 03:31:14 UTC 2025 - 12.1K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java
} @Test public void testBuildWithDefaults() { // Test building with default values String id = "test-id"; SuggestSettings settings = builder.build(client, id); assertNotNull(settings); // Verify that the settings object was created with the correct parameters // Note: We can't directly verify internal state of SuggestSettings without getters,Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
runner.ensureYellow(); client = runner.client(); // Initialize suggest settings Suggester suggester = Suggester.builder().build(client, "test"); settings = suggester.settings(); // Create test index client.admin().indices().prepareCreate(TEST_INDEX).execute().actionGet(); } @AfterClass
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 18.2K bytes - Viewed (0) -
docs/en/docs/environment-variables.md
You will learn more about using environment variables for handling **application settings** in the [Advanced User Guide - Settings and Environment Variables](./advanced/settings.md){.internal-link target=_blank}. ## `PATH` Environment Variable { #path-environment-variable }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 8.1K bytes - Viewed (0) -
docs/en/docs/how-to/conditional-openapi.md
## Conditional OpenAPI from settings and env vars { #conditional-openapi-from-settings-and-env-vars } You can easily use the same Pydantic settings to configure your generated OpenAPI and the docs UIs. For example: {* ../../docs_src/conditional_openapi/tutorial001.py hl[6,11] *}Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.4K bytes - Viewed (0)