Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,023 for query2 (0.04 sec)

  1. docs/zh/docs/tutorial/path-params-numeric-validations.md

    ```
    
    ## 总结
    
    你能够以与 [查询参数和字符串校验](query-params-str-validations.md){.internal-link target=_blank} 相同的方式使用 `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` 类(不需要直接使用它)。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/PathMappingService.java

                cb.query().setRegex_Wildcard(wrapQuery(pathMappingPager.regex));
            }
            if (StringUtil.isNotBlank(pathMappingPager.replacement)) {
                cb.query().setReplacement_Wildcard(wrapQuery(pathMappingPager.replacement));
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_SortOrder_Asc();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_dependencies/test_tutorial001_an_py310.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.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

                                    .get(stream -> stream.map(l -> labelTypeBhv.selectEntity(cb -> cb.query().setValue_Equal(l)).map(e -> {
                                        final List<ElevateWordToLabel> mList = elevateWordToLabelBhv.selectList(cb -> {
                                            cb.query().setElevateWordId_Equal(id);
                                            cb.query().setLabelTypeId_Equal(e.getId());
                                        });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  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/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)
  10. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

                if (available) {
                    cb.query().setAvailable_Equal(Constants.T);
                }
                if (idList != null) {
                    cb.query().setId_InScope(idList);
                }
                cb.query().setName_NotEqual(ComponentUtil.getFessConfig().getFormAdminDefaultTemplateName());
                cb.query().addOrderBy_SortOrder_Asc();
                cb.query().addOrderBy_Name_Asc();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top