- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 1,169 for Query (0.18 seconds)
-
tests/test_annotated.py
from typing import Annotated import pytest from fastapi import APIRouter, FastAPI, Query from fastapi.testclient import TestClient from inline_snapshot import snapshot app = FastAPI() @app.get("/default") async def default(foo: Annotated[str, Query()] = "foo"): return {"foo": foo} @app.get("/required") async def required(foo: Annotated[str, Query(min_length=1)]): return {"foo": foo} @app.get("/multiple")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 10.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java
QueryContext context = new QueryContext("*:*", false); MatchAllDocsQuery query = new MatchAllDocsQuery(); float boost = 1.0f; QueryBuilder result = matchAllQueryCommand.execute(context, query, boost); assertNotNull(result); assertTrue(result instanceof MatchAllQueryBuilder); // Verify the query builder generates correct JSON
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/querylog/QueryLog.java
/** * The QueryLog class represents a log entry containing a query string and an optional filter query string. */ public class QueryLog { private final String q; private final String fq; /** * Constructor for QueryLog. * @param queryString The query string. * @param filterQueryString The filter query string (can be null). */Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 1.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponseCreator.java
* @param queryBuilder The SuggestQueryBuilder instance for query analysis methods. */ public SuggestResponseCreator(final String query, final int size, final boolean suggestDetail, final boolean skipDuplicateWords, final boolean matchWordFirst, final SuggestQueryBuilder queryBuilder) { this.query = query; this.size = size; this.suggestDetail = suggestDetail;Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 5.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java
// Setup - create a chain of exceptions final IllegalArgumentException rootCause = new IllegalArgumentException("Invalid character in query"); final IllegalStateException middleCause = new IllegalStateException("Query parser state error", rootCause); final String message = "Query processing failed";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.9K bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial010_py310.py
from fastapi import FastAPI, Query app = FastAPI() @app.get("/items/") async def read_items( q: str | None = Query( default=None, alias="item-query", title="Query string", description="Query string for the items to search in the database that have a good match", min_length=3, max_length=50, pattern="^fixedquery$", deprecated=True, ), ):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Oct 24 20:26:06 GMT 2023 - 542 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/operations/ContentIndexingOperations.java
/** * Indexes multiple query logs. * * @param ctx The content indexing context * @param queryLogs The query logs to index * @return The SuggestIndexResponse */ public SuggestIndexResponse indexFromQueryLog(final ContentIndexingContext ctx, final QueryLog[] queryLogs) { if (logger.isInfoEnabled()) {Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 21.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/FessAppService.java
// Default constructor } /** * Wraps a query string with wildcard characters to enable partial matching. * This method ensures that the query string is surrounded by asterisks (*) * to support prefix and suffix matching in search operations. * * @param query the query string to wrap with wildcards * @return the wrapped query string with leading and trailing asterisks */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java
searchRenderData.setSearchQuery(""); assertEquals("", searchRenderData.getSearchQuery()); // Test with simple query searchRenderData.setSearchQuery("test query"); assertEquals("test query", searchRenderData.getSearchQuery()); // Test with complex query String complexQuery = "title:\"test document\" AND content:search OR category:technology";
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 23.6K bytes - Click Count (0) -
internal/s3select/select_test.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 76.1K bytes - Click Count (0)