Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 1,108 for query1 (0.1 sec)

  1. docs_src/query_params_str_validations/tutorial006d_an.py

    from fastapi import FastAPI, Query
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Annotated[str, Query(min_length=3)] = ...):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:36:32 UTC 2024
    - 310 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsFailureUrlCQ.java

    import org.opensearch.index.query.RangeQueryBuilder;
    import org.opensearch.index.query.RegexpQueryBuilder;
    import org.opensearch.index.query.SpanTermQueryBuilder;
    import org.opensearch.index.query.TermQueryBuilder;
    import org.opensearch.index.query.TermsQueryBuilder;
    import org.opensearch.index.query.WildcardQueryBuilder;
    import org.opensearch.index.query.functionscore.FunctionScoreQueryBuilder;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_dependencies/test_tutorial004.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
    - 5.4K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_dependencies/test_tutorial004_an.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
    - 5.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/admin/KeyMatchTests.java

            requestBody.put("query", "query" + id);
            requestBody.put("max_size", new Integer(id).toString());
            requestBody.put("boost", 100);
            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
            updateMap.put("query", "new_query");
            return updateMap;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/exentity/ElevateWord.java

                        labelTypeList = labelIdList.isEmpty() ? Collections.emptyList() : labelTypeBhv.selectList(cb -> {
                            cb.query().setId_InScope(labelIdList);
                            cb.query().addOrderBy_SortOrder_Asc();
                            cb.fetchFirst(fessConfig.getPageLabeltypeMaxFetchSizeAsInteger());
                        });
                    }
                }
            }
    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/es/config/cbean/bs/BsWebConfigCB.java

        // ===================================================================================
        //                                                                               Query
        //                                                                               =====
        public BsWebConfigCQ query() {
            assertQueryPurpose();
            return doGetConditionQuery();
        }
    
        protected BsWebConfigCQ doGetConditionQuery() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. test-site/app/models/SuggestIndex.java

    import org.codelibs.fess.suggest.request.suggest.SuggestResponse;
    
    public class SuggestIndex {
        public SuggestResponse suggest(String query) {
            return ComponentsUtil.suggester.suggest()
                .setQuery(query)
                .execute().getResponse();
        }
    
        public void index() {
            Suggester suggester = ComponentsUtil.suggester;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Fri Nov 06 08:48:32 UTC 2015
    - 964 bytes
    - Viewed (0)
  9. docs_src/query_param_models/tutorial001_an_py310.py

    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: Annotated[FilterParams, Query()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 443 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsFileConfigCB.java

        // ===================================================================================
        //                                                                               Query
        //                                                                               =====
        public BsFileConfigCQ query() {
            assertQueryPurpose();
            return doGetConditionQuery();
        }
    
        protected BsFileConfigCQ doGetConditionQuery() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top