- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for dismax (0.05 sec)
-
src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java
break; case DISMAX: ((DisMaxQueryBuilder) queryBuilder).add(innerQueryBuilder); break; default: break; } return this; } /** * Enumeration of supported query types. */ enum QueryType { /** Boolean query type. */ BOOL, /** DisMax query type. */ DISMAX; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/QueryCommand.java
/** * Creates a default query builder based on the configured query type. * @return The default query builder (either dismax or bool query). */ protected DefaultQueryBuilder createDefaultQueryBuilder() { final FessConfig fessConfig = ComponentUtil.getFessConfig(); if ("dismax".equals(fessConfig.getQueryDefaultQueryType())) { final DisMaxQueryBuilder disMaxQuery = QueryBuilders.disMaxQuery();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java
QueryBuilder result = queryProcessor.execute(context, boostQuery, 1.0f); assertNotNull(result); // PhraseQueryCommand returns DefaultQueryBuilder which wraps either Bool or DisMax assertTrue(result instanceof DefaultQueryBuilder); // The boost is applied internally to the wrapped queries, not necessarily to the DefaultQueryBuilder itself }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java
// nothing } } public void test_convertTermQuery_dismax() throws Exception { setQueryType("dismax"); assertQueryBuilder(DefaultQueryBuilder.class,
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/QueryHelperTest.java
Map.of("_default", List.of("QUERY")), // Set.of("QUERY"), // buildQuery("QUERY ")); } public void test_build_simple_dismax() { setQueryType("dismax"); float titleBoost = 0.5f; float contentBoost = 0.05f; assertQuery(functionScoreQuery(simpleQuery("QUERY", titleBoost, contentBoost)), //
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.6K bytes - Viewed (0) -
src/main/resources/fess_config.properties
# Whether to allow transpositions in fuzzy content queries. query.boost.fuzzy.content.transpositions=true # Default query type. query.default.query_type=bool # Tie breaker value for dismax queries. query.dismax.tie_breaker=0.1 # Minimum should match value for boolean queries. query.bool.minimum_should_match= # Number of expansions for prefix queries. query.prefix.expansions=50 # Slop value for prefix queries.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 05 14:45:37 UTC 2025 - 54.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java
/** * Get the value for the key 'query.dismax.tie_breaker'. <br> * The value is, e.g. 0.1 <br> * comment: Tie breaker value for dismax queries. * @return The value of found property. (NotNull: if not found, exception but basically no way) */ String getQueryDismaxTieBreaker(); /** * Get the value for the key 'query.dismax.tie_breaker' as {@link java.math.BigDecimal}. <br>
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 525.6K bytes - Viewed (2) -
cmd/utils_test.go
func TestMaxObjectSize(t *testing.T) { sizes := []struct { isMax bool size int64 }{ // Test - 1 - maximum object size. { true, globalMaxObjectSize + 1, }, // Test - 2 - not maximum object size. { false, globalMaxObjectSize - 1, }, } for i, s := range sizes { isMax := isMaxObjectSize(s.size) if isMax != s.isMax { t.Errorf("Test %d: Expected %t, got %t", i+1, s.isMax, isMax)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 10.2K bytes - Viewed (0) -
docs/es/docs/tutorial/path-params.md
Puedes usar las mismas declaraciones de tipo con `str`, `float`, `bool` y muchos otros tipos de datos complejos. Varios de estos se exploran en los siguientes capítulos del tutorial. ## El orden importa Al crear *path operations*, puedes encontrarte en situaciones donde tienes un path fijo.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:29:01 UTC 2025 - 9.4K bytes - Viewed (0) -
docs/es/docs/tutorial/bigger-applications.md
Y luego lo usas para declarar tus *path operations*. Úsalo de la misma manera que usarías la clase `FastAPI`: ```Python hl_lines="6 11 16" title="app/routers/users.py" {!../../docs_src/bigger_applications/app/routers/users.py!} ``` Puedes pensar en `APIRouter` como una clase "mini `FastAPI`". Se soportan todas las mismas opciones. Todos los mismos `parameters`, `responses`, `dependencies`, `tags`, etc.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun May 11 13:37:26 UTC 2025 - 19.3K bytes - Viewed (0)