Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 1,169 for Query (0.09 seconds)

  1. src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.util.DfTypeUtil;
    import org.junit.jupiter.api.Test;
    import org.opensearch.index.query.MatchPhrasePrefixQueryBuilder;
    import org.opensearch.index.query.PrefixQueryBuilder;
    import org.opensearch.index.query.QueryBuilder;
    
    public class PrefixQueryCommandTest extends QueryTestBase {
        private PrefixQueryCommand queryCommand;
        private QueryFieldConfig queryFieldConfig;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  2. docs_src/query_params_str_validations/tutorial009_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")] = None):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 314 bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/cookie-params.md

    `Cookie` is a "sister" class of `Path` and `Query`. It also inherits from the same common `Param` class.
    
    But remember that when you import `Query`, `Path`, `Cookie` and others from `fastapi`, those are actually functions that return special classes.
    
    ///
    
    /// info
    
    To declare cookies, you need to use `Cookie`, because otherwise the parameters would be interpreted as query parameters.
    
    ///
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Sep 20 17:49:27 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. docs/ja/docs/tutorial/path-params-numeric-validations.md

    ## まとめ { #recap }
    
    `Query`と`Path`(そしてまだ見たことない他のもの)では、[クエリパラメータと文字列の検証](query-params-str-validations.md)と同じようにメタデータと文字列の検証を宣言することができます。
    
    また、数値のバリデーションを宣言することもできます:
    
    * `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 14:07:17 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/app/service/FessAppServiceTest.java

            assertEquals("*test query*", service.callWrapQuery("test query"));
        }
    
        @Test
        public void test_wrapQuery_withSpecialCharacters() {
            assertEquals("*******@****.****", service.callWrapQuery("******@****.***"));
        }
    
        @Test
        public void test_wrapQuery_multipleInternalWildcards() {
            assertEquals("*test*query*search*", service.callWrapQuery("test*query*search"));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/tutorial/body-multiple-params.md

    # Body - 多個參數 { #body-multiple-parameters }
    
    現在我們已經知道如何使用 `Path` 與 `Query`,接下來看看更進階的請求主體(request body)宣告用法。
    
    ## 混用 `Path`、`Query` 與 Body 參數 { #mix-path-query-and-body-parameters }
    
    首先,當然你可以自由混用 `Path`、`Query` 與請求 Body 參數的宣告,**FastAPI** 會知道該怎麼做。
    
    你也可以將 Body 參數宣告為可選,方法是將預設值設為 `None`:
    
    {* ../../docs_src/body_multiple_params/tutorial001_an_py310.py hl[18:20] *}
    
    /// note | 注意
    
    請注意,在此情況下,從 body 取得的 `item` 是可選的,因為它的預設值是 `None`。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  7. tests/test_request_params/test_query/test_optional_list.py

    import pytest
    from fastapi import FastAPI, Query
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    # =====================================================================================
    # Without aliases
    
    
    @app.get("/optional-list-str")
    async def read_optional_list_str(
        p: Annotated[list[str] | None, Query()] = None,
    ):
        return {"p": p}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/suggest/index/operations/DeletionOperations.java

    import org.opensearch.index.query.BoolQueryBuilder;
    import org.opensearch.index.query.Operator;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.search.SearchHit;
    import org.opensearch.transport.client.Client;
    
    /**
     * Internal operations class for deletion functionality.
     * Handles deletion of suggest items by ID, query, or kind.
     *
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            return df.format(target) + unit;
        }
    
        /**
         * Generates URL query parameters for pagination, excluding the specified query parameter.
         *
         * @param query the query parameter to exclude from paging
         * @return URL-encoded query string for pagination
         */
        public static String pagingQuery(final String query) {
            return LaRequestUtil.getOptionalRequest().map(req -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  10. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

    import org.junit.jupiter.api.TestInfo;
    import org.opensearch.index.query.BoolQueryBuilder;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.index.query.functionscore.FunctionScoreQueryBuilder;
    import org.opensearch.index.query.functionscore.FunctionScoreQueryBuilder.FilterFunctionBuilder;
    import org.opensearch.index.query.functionscore.ScoreFunctionBuilders;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.6K bytes
    - Click Count (0)
Back to Top