Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 498 for FLOAT (0.01 sec)

  1. src/main/java/org/codelibs/fess/query/QueryProcessor.java

         * @param boost the boost factor to apply to the query
         * @return the processed OpenSearch QueryBuilder
         */
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            return filterChain.execute(context, query, boost);
        }
    
        /**
         * Adds a query command to the processor.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. docs_src/pydantic_v1_in_v2/tutorial002_an_py310.py

    from fastapi import FastAPI
    from pydantic.v1 import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        size: float
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    async def create_item(item: Item) -> Item:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 16:45:54 UTC 2025
    - 252 bytes
    - Viewed (0)
  3. docs_src/path_params_numeric_validations/tutorial006_an_py39.py

    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        *,
        item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)],
        q: str,
        size: Annotated[float, Query(gt=0, lt=10.5)],
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if size:
            results.update({"size": size})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Aug 28 23:39:15 UTC 2024
    - 447 bytes
    - Viewed (0)
  4. docs_src/pydantic_v1_in_v2/tutorial002_an_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic.v1 import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        size: float
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    async def create_item(item: Item) -> Item:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 284 bytes
    - Viewed (0)
  5. src/main/resources/fess_indices/fess_config.data_config/data_config.json

            "type": "keyword"
          },
          "handlerParameter": {
            "type": "keyword"
          },
          "handlerScript": {
            "type": "keyword"
          },
          "boost": {
            "type": "float"
          },
          "available": {
            "type": "boolean"
          },
          "permissions": {
            "type": "keyword"
          },
          "virtualHosts": {
            "type": "keyword"
          },
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 859 bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java

        @Override
        protected String getQueryClassName() {
            return WildcardQuery.class.getSimpleName();
        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final WildcardQuery wildcardQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("WildcardQuery: query={}, boost={}", query, boost);
                }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. tests/test_validate_response_dataclass.py

    from fastapi.testclient import TestClient
    from pydantic.dataclasses import dataclass
    
    app = FastAPI()
    
    
    @dataclass
    class Item:
        name: str
        price: Optional[float] = None
        owner_ids: Optional[list[int]] = None
    
    
    @app.get("/items/invalid", response_model=Item)
    def get_invalid():
        return {"name": "invalid", "price": "foo"}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/ElevateWordDbm.java

        //                                                                         ===========
        protected final ColumnInfo _columnBoost = cci("boost", "boost", null, null, Float.class, "boost", null, false, false, false, "Float", 0,
                0, null, null, false, null, null, null, null, null, false);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. docs_src/path_params_numeric_validations/tutorial006_py39.py

    from fastapi import FastAPI, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        *,
        item_id: int = Path(title="The ID of the item to get", ge=0, le=1000),
        q: str,
        size: float = Query(gt=0, lt=10.5),
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if size:
            results.update({"size": size})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 397 bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/DefaultsTest.java

        assertEquals(0, Defaults.defaultValue(int.class).intValue());
        assertEquals(0, Defaults.defaultValue(long.class).longValue());
        assertEquals(0.0f, Defaults.defaultValue(float.class).floatValue());
        assertThat(Defaults.defaultValue(double.class).doubleValue()).isEqualTo(0.0d);
        assertThat(Defaults.defaultValue(void.class)).isNull();
        assertThat(Defaults.defaultValue(String.class)).isNull();
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top