Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,102 for cquery (0.05 sec)

  1. tests/test_request_param_model_by_alias.py

    from dirty_equals import IsPartialDict
    from fastapi import Cookie, FastAPI, Header, Query
    from fastapi.testclient import TestClient
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class Model(BaseModel):
        param: str = Field(alias="param_alias")
    
    
    @app.get("/query")
    async def query_model(data: Model = Query()):
        return {"param": data.param}
    
    
    @app.get("/header")
    async def header_model(data: Model = Header()):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

    import org.opensearch.core.action.ActionListener;
    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.ScoreFunctionBuilders;
    import org.opensearch.search.SearchHit;
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java

        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final TermRangeQuery termRangeQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("TermRangeQuery: query={}, boost={}", query, boost);
                }
                return convertTermRangeQuery(context, termRangeQuery, boost);
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

          ) {
            builder.query("a${value}z")
          }
    
          override operator fun get(url: HttpUrl): String {
            val query = url.query
            return query!!.substring(1, query.length - 1)
          }
        },
    
        QUERY_VALUE {
          override fun urlString(value: String): String = "http://example.com/?q=a${value}z"
    
          override fun encodedValue(url: HttpUrl): String {
            val query = url.encodedQuery
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     * list is a single empty string: `[""]`.
     *
     * ### Query
     *
     * The query is optional: it can be null, empty, or non-empty. For many HTTP URLs the query string
     * is subdivided into a collection of name-value parameters. This class offers methods to set the
     * query as the single string, or as individual name-value parameters. With name-value parameters
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/DataConfigService.java

                    cb.query().setDescription_Wildcard(dataConfigPager.description);
                } else if (dataConfigPager.description.endsWith("*")) {
                    cb.query().setDescription_Prefix(dataConfigPager.description.replaceAll("\\*$", StringUtil.EMPTY));
                } else {
                    cb.query().setDescription_MatchPhrase(dataConfigPager.description);
                }
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SearchHelper.java

            });
    
            String query = ComponentUtil.getQueryStringBuilder().params(params).sortField(params.getSort()).build();
            List<Map<String, Object>> documentItems;
            try {
                documentItems = searchInternal(query, params, userBean);
            } catch (final InvalidQueryException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Invalid query: {}", query, e);
                }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 36.3K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_query_params_str_validations/test_tutorial003.py

    
    def test_query_params_str_validations_q_query(client: TestClient):
        response = client.get("/items/", params={"q": "query"})
        assert response.status_code == 200
        assert response.json() == {
            "items": [{"item_id": "Foo"}, {"item_id": "Bar"}],
            "q": "query",
        }
    
    
    def test_query_params_str_validations_q_too_short(client: TestClient):
        response = client.get("/items/", params={"q": "qu"})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19.5K bytes
    - Viewed (1)
  10. src/main/java/org/codelibs/fess/util/ComponentUtil.java

            return getComponent(SAMBA_HELPER);
        }
    
        /**
         * Gets the query helper component.
         * @return The query helper.
         */
        public static QueryHelper getQueryHelper() {
            return getComponent(QUERY_HELPER);
        }
    
        /**
         * Gets the query field configuration.
         * @return The query field config.
         */
        public static QueryFieldConfig getQueryFieldConfig() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 28.9K bytes
    - Viewed (0)
Back to top