- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,023 for query2 (0.1 sec)
-
src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java
*/ package org.codelibs.fess.query; import java.io.IOException; import java.util.Objects; import org.apache.lucene.search.Query; import org.opensearch.core.common.io.stream.StreamOutput; import org.opensearch.core.xcontent.XContentBuilder; import org.opensearch.index.query.BoolQueryBuilder; import org.opensearch.index.query.DisMaxQueryBuilder; import org.opensearch.index.query.QueryBuilder;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/BooleanQueryCommand.java
@Override public QueryBuilder execute(final QueryContext context, final Query query, final float boost) { if (query instanceof final BooleanQuery booleanQuery) { if (logger.isDebugEnabled()) { logger.debug("{}:{}", query, boost); } return convertBooleanQuery(context, booleanQuery, boost); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.9K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt
.client(bootstrapClient) .url("https://dns.google/dns-query".toHttpUrl()) .bootstrapDnsHosts(getByIp("8.8.4.4"), getByIp("8.8.8.8")) .build() } private fun buildGooglePost(bootstrapClient: OkHttpClient): DnsOverHttps { return DnsOverHttps.Builder() .client(bootstrapClient) .url("https://dns.google/dns-query".toHttpUrl()) .bootstrapDnsHosts(getByIp("8.8.4.4"), getByIp("8.8.8.8"))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Dec 23 10:26:25 UTC 2023 - 3.8K bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial008.py
from typing import Union from fastapi import FastAPI, Query app = FastAPI() @app.get("/items/") async def read_items( q: Union[str, None] = Query( default=None, title="Query string", description="Query string for the items to search in the database that have a good match", min_length=3, ), ): results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]} if q:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 24 20:26:06 UTC 2023 - 466 bytes - Viewed (0) -
tests/test_ambiguous_params.py
@app.get("/multi-query") async def get(foo: Annotated[int, Query(gt=2), Query(lt=10)]): return foo with pytest.raises( AssertionError, match=( "Cannot specify `Depends` in `Annotated` and default value" " together for 'foo'" ), ): @app.get("/") async def get2(foo: Annotated[int, Depends(dep)] = Depends(dep)):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Dec 12 00:22:47 UTC 2023 - 2.1K bytes - Viewed (0) -
tests/test_repeated_parameter_alias.py
from fastapi import FastAPI, Path, Query, status from fastapi.testclient import TestClient app = FastAPI() @app.get("/{repeated_alias}") def get_parameters_with_repeated_aliases( path: str = Path(..., alias="repeated_alias"), query: str = Query(..., alias="repeated_alias"), ): return {"path": path, "query": query} client = TestClient(app) def test_get_parameters():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.7K bytes - Viewed (0) -
tests/test_starlette_urlconvertors.py
assert response.json() == {"path": "some/example"} def test_route_converters_query(): # Test query conversion response = client.get("/query", params={"param": "Qué tal!"}) assert response.status_code == 200, response.text assert response.json() == {"query": "Qué tal!"} def test_url_path_for_path_convertor(): assert (
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Nov 27 14:46:06 UTC 2022 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/RelatedContentService.java
cb.query().setTerm_Wildcard(wrapQuery(relatedContentPager.term)); } if (StringUtil.isNotBlank(relatedContentPager.content)) { cb.query().setContent_Wildcard(wrapQuery(relatedContentPager.content)); } // TODO Long, Integer, String supported only. // setup condition cb.query().addOrderBy_Term_Asc();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.6K bytes - Viewed (0) -
tests/test_tutorial/test_bigger_applications/test_main_an.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 24.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/BoostQueryCommand.java
return BoostQuery.class.getSimpleName(); } @Override public QueryBuilder execute(final QueryContext context, final Query query, final float boost) { if (query instanceof final BoostQuery boostQuery) { if (logger.isDebugEnabled()) { logger.debug("{}:{}", query, boost); } return getQueryProcessor().execute(context, boostQuery.getQuery(), boostQuery.getBoost()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.8K bytes - Viewed (0)