Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 1,269 for jquery (0.06 seconds)

  1. src/main/java/org/codelibs/fess/entity/FacetInfo.java

            return BucketOrder.count(false);
        }
    
        /**
         * Adds a query facet to the existing query array.
         * If no queries exist, creates a new array with the provided query.
         *
         * @param s the query string to add as a facet
         */
        public void addQuery(final String s) {
            if (query == null) {
                query = new String[] { s };
            } else {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  2. 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)
  3. src/main/java/org/codelibs/fess/app/service/FileConfigService.java

                    cb.query().setDescription_Wildcard(fileConfigPager.description);
                } else if (fileConfigPager.description.endsWith("*")) {
                    cb.query().setDescription_Prefix(fileConfigPager.description.replaceAll("\\*$", StringUtil.EMPTY));
                } else {
                    cb.query().setDescription_MatchPhrase(fileConfigPager.description);
                }
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  4. tests/test_request_params/test_query/test_optional_str.py

    @app.get("/optional-alias")
    async def read_optional_alias(
        p: Annotated[str | None, Query(alias="p_alias")] = None,
    ):
        return {"p": p}
    
    
    class QueryModelOptionalAlias(BaseModel):
        p: str | None = Field(None, alias="p_alias")
    
    
    @app.get("/model-optional-alias")
    async def read_model_optional_alias(p: Annotated[QueryModelOptionalAlias, Query()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/chat/ChatClient.java

        /**
         * Searches documents using a Fess query.
         *
         * @param query the Fess query string
         * @return the list of search result documents
         */
        protected List<Map<String, Object>> searchWithQuery(final String query) {
            return searchWithQueryAndMetadata(query).getDocuments();
        }
    
        private ChatSearchResult searchWithQueryAndMetadata(final String query) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
  6. tests/test_dependency_overrides.py

        response = client.get("/main-depends/")
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "type": "missing",
                    "loc": ["query", "q"],
                    "msg": "Field required",
                    "input": None,
                }
            ]
        }
    
    
    def test_main_depends_q_foo():
        response = client.get("/main-depends/?q=foo")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  7. 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)
  8. src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java

            // Test with non-phrase query - should throw InvalidQueryException
            Query termQuery = new TermQuery(new Term("field", "value"));
            QueryContext context = new QueryContext("test", false);
    
            try {
                queryCommand.execute(context, termQuery, 1.0f);
                fail("Should throw InvalidQueryException for non-phrase query");
            } catch (InvalidQueryException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/tutorial/header-params.md

    但請記得,當你從 `fastapi` 匯入 `Query`、`Path`、`Header` 等時,它們其實是會回傳特殊類別的函式。
    
    ///
    
    /// info | 說明
    
    要宣告標頭,必須使用 `Header`,否則參數會被解讀為查詢參數。
    
    ///
    
    ## 自動轉換 { #automatic-conversion }
    
    在 `Path`、`Query`、`Cookie` 提供的功能之上,`Header` 還有一些額外的小功能。
    
    大多數標準標頭的單字以連字號(減號,`-`)分隔。
    
    但像 `user-agent` 這樣的變數名稱在 Python 中是無效的。
    
    因此,`Header` 會在預設情況下把參數名稱中的底線(`_`)轉換為連字號(`-`),以便讀取並在文件中顯示該標頭。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  10. tests/test_include_router_defaults_overrides.py

                                    "required": True,
                                    "schema": {"title": "Level1", "type": "string"},
                                    "name": "level1",
                                    "in": "query",
                                }
                            ],
                            "responses": {
                                "200": {
                                    "description": "Successful Response",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 385.6K bytes
    - Click Count (0)
Back to Top