Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,067 for query (0.13 sec)

  1. docs_src/query_params_str_validations/tutorial010_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[
            str | None,
            Query(
                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$",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 622 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.java

            return FuzzyQuery.class.getSimpleName();
        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final FuzzyQuery fuzzyQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("{}:{}", query, boost);
                }
                return convertFuzzyQuery(context, fuzzyQuery, boost);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/PhraseQueryCommand.java

        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final PhraseQuery phraseQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("{}:{}", query, boost);
                }
                return convertPhraseQuery(context, phraseQuery, boost);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_bigger_applications/test_main_an_py39.py

                        "type": "missing",
                        "loc": ["query", "token"],
                        "msg": "Field required",
                        "input": None,
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["query", "token"],
                        "msg": "field required",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  5. docs_src/query_params_str_validations/tutorial010_an.py

    from typing import Union
    
    from fastapi import FastAPI, Query
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[
            Union[str, None],
            Query(
                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,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 664 bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                        }
                    }
                    query = buf.toString();
                    request.setAttribute(key, query);
                }
                return query;
            }).orElse(null);
        }
    
        private static String createForm(final String key, final String prefix) {
            return LaRequestUtil.getOptionalRequest().map(request -> {
                String query = (String) request.getAttribute(key);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/path-params-numeric-validations.md

    ```
    
    ## 요약
    
    `Query`, `Path`(아직 보지 못한 다른 것들도)를 사용하면 [쿼리 매개변수와 문자열 검증](query-params-str-validations.md){.internal-link target=_blank}에서와 마찬가지로 메타데이터와 문자열 검증을 선언할 수 있습니다.
    
    그리고 숫자 검증 또한 선언할 수 있습니다:
    
    * `gt`: 크거나(`g`reater `t`han)
    * `ge`: 크거나 같은(`g`reater than or `e`qual)
    * `lt`: 작거나(`l`ess `t`han)
    * `le`: 작거나 같은(`l`ess than or `e`qual)
    
    /// info | "정보"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/body-fields.md

    {!../../docs_src/body_fields/tutorial001.py!}
    ```
    
    `Field`は`Query`や`Path`、`Body`と同じように動作し、全く同様のパラメータなどを持ちます。
    
    /// note | "技術詳細"
    
    実際には次に見る`Query`や`Path`などは、共通の`Param`クラスのサブクラスのオブジェクトを作成しますが、それ自体はPydanticの`FieldInfo`クラスのサブクラスです。
    
    また、Pydanticの`Field`は`FieldInfo`のインスタンスも返します。
    
    `Body`は`FieldInfo`のサブクラスのオブジェクトを直接返すこともできます。そして、他にも`Body`クラスのサブクラスであるものがあります。
    
    `fastapi`から`Query`や`Path`などをインポートする場合、これらは実際には特殊なクラスを返す関数であることに注意してください。
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.opensearch.common.lucene.search.function.CombineFunction;
    import org.opensearch.index.query.BoolQueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.index.query.functionscore.FunctionScoreQueryBuilder;
    import org.opensearch.index.query.functionscore.ScoreFunctionBuilders;
    import org.opensearch.search.sort.SortBuilders;
    
    import jakarta.annotation.PostConstruct;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_dependencies/test_tutorial001_an.py

                                    {"title": "Q", "type": "string"}
                                ),
                                "name": "q",
                                "in": "query",
                            },
                            {
                                "required": False,
                                "schema": {
                                    "title": "Skip",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top