Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 1,169 for Query (0.03 seconds)

  1. src/main/java/org/codelibs/fess/job/UpdateLabelJob.java

            }
    
            return resultBuf.toString();
        }
    
        /**
         * Sets the query builder for filtering documents.
         *
         * @param queryBuilder the query builder to filter documents
         * @return this UpdateLabelJob instance for method chaining
         */
        public UpdateLabelJob query(final QueryBuilder queryBuilder) {
            this.queryBuilder = queryBuilder;
            return this;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/body-fields.md

    `Field` 的用法與 `Query`、`Path`、`Body` 相同,擁有相同的參數等。
    
    /// note | 技術細節
    
    實際上,你接下來會看到的 `Query`、`Path` 等,會建立共同父類別 `Param` 的子類別物件,而 `Param` 本身是 Pydantic 的 `FieldInfo` 類別的子類別。
    
    而 Pydantic 的 `Field` 也會回傳一個 `FieldInfo` 的實例。
    
    `Body` 也會直接回傳 `FieldInfo` 子類別的物件。稍後你會看到還有其他類別是 `Body` 類別的子類別。
    
    記得,當你從 `fastapi` 匯入 `Query`、`Path` 等時,它們其實是回傳特殊類別的函式。
    
    ///
    
    /// tip
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  3. tests/test_invalid_sequence_param.py

    import pytest
    from fastapi import FastAPI, Query
    from pydantic import BaseModel
    
    
    def test_invalid_sequence():
        with pytest.raises(
            AssertionError,
            match="Query parameter 'q' must be one of the supported types",
        ):
            app = FastAPI()
    
            class Item(BaseModel):
                title: str
    
            @app.get("/items/")
            def read_items(q: list[Item] = Query(default=None)):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/path-params-numeric-validations.md

    ## 总结 { #recap }
    
    你能够以与[查询参数和字符串校验](query-params-str-validations.md)相同的方式使用 `Query`、`Path`(以及其他你还没见过的类)声明元数据和字符串校验。
    
    而且你还可以声明数值校验:
    
    * `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 | 信息
    
    `Query`、`Path` 以及你后面会看到的其他类,都是一个通用 `Param` 类的子类。
    
    它们都共享相同的参数,用于你已看到的额外校验和元数据。
    
    ///
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

            String query = "*";
            int allRecordCount = 1000;
            int pageSize = 10;
            try (RankFusionProcessor rankFusionProcessor = new RankFusionProcessor()) {
                rankFusionProcessor.setSearcher(new TestMainSearcher(allRecordCount));
                rankFusionProcessor.init();
    
                if (rankFusionProcessor.search(query, new TestSearchRequestParams(0, pageSize, 0),
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial006_an_py310.py hl[13] *}
    
    ## Recap { #recap }
    
    With `Query`, `Path` (and others you haven't seen yet) you can declare metadata and string validations in the same ways as with [Query Parameters and String Validations](query-params-str-validations.md).
    
    And you can also declare numeric validations:
    
    * `gt`: `g`reater `t`han
    * `ge`: `g`reater than or `e`qual
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/tutorial/cookie-params.md

    # Cookie 參數 { #cookie-parameters }
    
    你可以用與定義 `Query` 與 `Path` 參數相同的方式定義 Cookie 參數。
    
    ## 匯入 `Cookie` { #import-cookie }
    
    先匯入 `Cookie`:
    
    {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[3] *}
    
    ## 宣告 `Cookie` 參數 { #declare-cookie-parameters }
    
    然後用與 `Path`、`Query` 相同的結構宣告 `Cookie` 參數。
    
    你可以設定預設值,以及所有額外的驗證或註解參數:
    
    {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[9] *}
    
    /// note | 技術細節
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/body-fields.md

    `Field` 的工作方式和 `Query`、`Path`、`Body` 相同,参数也相同。
    
    /// note | 技术细节
    
    实际上,`Query`、`Path` 以及你接下来会看到的其它对象,会创建公共 `Param` 类的子类的对象,而 `Param` 本身是 Pydantic 中 `FieldInfo` 的子类。
    
    Pydantic 的 `Field` 返回也是 `FieldInfo` 的类实例。
    
    `Body` 直接返回的也是 `FieldInfo` 的子类的对象。后文还会介绍一些 `Body` 的子类。
    
    注意,从 `fastapi` 导入的 `Query`、`Path` 等对象实际上都是返回特殊类的函数。
    
    ///
    
    /// tip | 提示
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:39:41 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionQuery.java

    import org.opensearch.index.query.MoreLikeThisQueryBuilder;
    import org.opensearch.index.query.PrefixQueryBuilder;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.index.query.QueryStringQueryBuilder;
    import org.opensearch.index.query.RangeQueryBuilder;
    import org.opensearch.index.query.RegexpQueryBuilder;
    import org.opensearch.index.query.SpanTermQueryBuilder;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 21.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/ApiAdminRelatedqueryAction.java

                            .status(ApiResult.Status.OK)
                            .result());
        }
    
        /**
         * Retrieves a specific related query setting by ID.
         *
         * @param id the ID of the related query to retrieve
         * @return JSON response containing the related query configuration
         */
        // GET /api/admin/relatedquery/setting/{id}
        @Execute
        public JsonResponse<ApiResult> get$setting(final String id) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.4K bytes
    - Click Count (0)
Back to Top