Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,026 for queryFn (0.06 sec)

  1. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

            Smb2QueryDirectoryRequest query = new Smb2QueryDirectoryRequest(th.getConfig(), this.fileId);
            query.setFileName(this.getWildcard());
            query.setFileIndex(results[ results.length - 1 ].getFileIndex());
            query.setQueryFlags(Smb2QueryDirectoryRequest.SMB2_INDEX_SPECIFIED);
            try {
                Smb2QueryDirectoryResponse r = th.send(query);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 16:15:08 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  2. docs_src/query_params_str_validations/tutorial010.py

    from typing import Union
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Union[str, None] = Query(
            default=None,
            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$",
            deprecated=True,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 574 bytes
    - Viewed (0)
  3. tests/test_tutorial/test_query_params_str_validations/test_tutorial010.py

        response = client.get("/items/", params={"item-query": "nonregexquery"})
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "string_pattern_mismatch",
                        "loc": ["query", "item-query"],
                        "msg": "String should match pattern '^fixedquery$'",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py310.py

        response = client.get("/items/", params={"item-query": "nonregexquery"})
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "string_pattern_mismatch",
                        "loc": ["query", "item-query"],
                        "msg": "String should match pattern '^fixedquery$'",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/QueryHelper.java

    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.FilterFunctionBuilder;
    import org.opensearch.index.query.functionscore.ScoreFunctionBuilder;
    import org.opensearch.index.query.functionscore.ScoreFunctionBuilders;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/entity/FacetInfo.java

        }
    
        public void addQuery(final String s) {
            if (query == null) {
                query = new String[] { s };
            } else {
                final String[] newQuery = Arrays.copyOf(query, query.length + 1);
                newQuery[query.length] = s;
                query = newQuery;
            }
            if (logger.isDebugEnabled()) {
                logger.debug("loaded facet query: {}", s);
            }
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

            if (crawlingInfoPager.id != null) {
                cb.query().docMeta().setId_Equal(crawlingInfoPager.id);
            }
            // TODO Long, Integer, String supported only.
            if (StringUtil.isNotBlank(crawlingInfoPager.sessionId)) {
                cb.query().setSessionId_Match(crawlingInfoPager.sessionId);
            }
            cb.query().addOrderBy_CreatedTime_Desc();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/query/BooleanQueryCommand.java

        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final BooleanQuery booleanQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("{}:{}", query, boost);
                }
                return convertBooleanQuery(context, booleanQuery, boost);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/WebConfigService.java

                cb.query().setName_Wildcard(wrapQuery(webConfigPager.name));
            }
            if (StringUtil.isNotBlank(webConfigPager.urls)) {
                cb.query().setUrls_Wildcard(wrapQuery(webConfigPager.urls));
            }
            if (StringUtil.isNotBlank(webConfigPager.description)) {
                if (webConfigPager.description.startsWith("*")) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. tests/test_ambiguous_params.py

        @app.get("/multi-query")
        async def get(foo: Annotated[int, Query(gt=2), Query(lt=10)]):
            return foo
    
        with pytest.raises(
            AssertionError,
            match=(
                "Cannot specify `Depends` in `Annotated` and default value"
                " together for 'foo'"
            ),
        ):
    
            @app.get("/")
            async def get2(foo: Annotated[int, Depends(dep)] = Depends(dep)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Dec 12 00:22:47 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top