Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 1,269 for jquery (0.04 seconds)

  1. docs_src/query_param_models/tutorial001_py310.py

    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: FilterParams = Query()):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 422 bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/suggest/index/contents/querylog/QueryLogReader.java

    import java.io.Closeable;
    
    /**
     * The {@code QueryLogReader} interface provides methods to read query logs and close the reader.
     * It extends the {@code Closeable} interface, ensuring that resources can be released when no longer needed.
     */
    public interface QueryLogReader extends Closeable {
        /**
         * Reads a query log.
         * @return The query log.
         */
        QueryLog read();
    
        @Override
        void close();
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  3. fastapi/security/api_key.py

            return api_key
    
    
    class APIKeyQuery(APIKeyBase):
        """
        API key authentication using a query parameter.
    
        This defines the name of the query parameter that should be provided in the request
        with the API key and integrates that into the OpenAPI documentation. It extracts
        the key value sent in the query parameter automatically and provides it as the
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 9.6K bytes
    - Click Count (1)
  4. docs_src/path_params_numeric_validations/tutorial006_py310.py

    from fastapi import FastAPI, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        *,
        item_id: int = Path(title="The ID of the item to get", ge=0, le=1000),
        q: str,
        size: float = Query(gt=0, lt=10.5),
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if size:
            results.update({"size": size})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 397 bytes
    - Click Count (0)
  5. docs_src/path_params_numeric_validations/tutorial006_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        *,
        item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)],
        q: str,
        size: Annotated[float, Query(gt=0, lt=10.5)],
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if size:
            results.update({"size": size})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 447 bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/dependencies/sub-dependencies.md

        * Depende del `query_extractor`, y asigna el valor que devuelve al parámetro `q`.
    * También declara una `last_query` cookie opcional, como un `str`.
        * Si el usuario no proporcionó ningún query `q`, usamos el último query utilizado, que guardamos previamente en una cookie.
    
    ## Usa la dependencia { #use-the-dependency }
    
    Entonces podemos usar la dependencia con:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[23] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

    import org.codelibs.fess.suggest.util.SuggestUtil;
    import org.opensearch.action.search.SearchRequestBuilder;
    import org.opensearch.action.search.SearchResponse;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.search.SearchHit;
    import org.opensearch.search.sort.SortBuilder;
    import org.opensearch.transport.client.Client;
    
    /**
     * <p>
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/score/LtrQueryRescorer.java

    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.opensearch.query.StoredLtrQueryBuilder;
    import org.codelibs.fess.util.ComponentUtil;
    import org.opensearch.search.rescore.QueryRescorerBuilder;
    import org.opensearch.search.rescore.RescorerBuilder;
    
    /**
     * Learning to Rank query rescorer implementation.
     */
    public class LtrQueryRescorer implements QueryRescorer {
    
        /**
    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)
  9. docs/pt/docs/tutorial/body.md

    {* ../../docs_src/body/tutorial003_py310.py hl[15:16] *}
    
    
    ## Corpo da requisição + parâmetros de rota + parâmetros de consulta { #request-body-path-query-parameters }
    
    Você também pode declarar parâmetros de **corpo**, **rota** e **consulta**, ao mesmo tempo.
    
    O **FastAPI** irá reconhecer cada um deles e retirar a informação do local correto.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorEdgeCaseTest.java

        }
    
        /**
         * Test search with null query (should be handled by implementation).
         */
        @Test
        public void test_searchWithNullQuery() throws Exception {
            try (RankFusionProcessor processor = new RankFusionProcessor()) {
                processor.setSearcher(new TestSearcher(100));
                processor.init();
    
                // Should handle null query gracefully
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 14.2K bytes
    - Click Count (0)
Back to Top