Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 313 for PARAMS (0.06 sec)

  1. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                final SearchRequestParams params, final OptionalThing<FessUserBean> userBean) {
            if (logger.isDebugEnabled()) {
                logger.debug("Send {} to the searchers.", query);
            }
            final int pageSize = params.getPageSize();
            final int startPosition = params.getStartPosition();
            if (startPosition * 2 >= windowSize) {
                int offset = params.getOffset();
                if (offset < 0) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/score/ScoreBooster.java

        protected Function<Map<String, Object>, String[]> idFinder = params -> {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final SearchEngineClient client = ComponentUtil.getSearchEngineClient();
            final String index = fessConfig.getIndexDocumentUpdateIndex();
            final Object url = params.get("url");
            if (url == null) {
                return StringUtil.EMPTY_STRINGS;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

        public void test_evaluate() {
            final Map<String, Object> params = new HashMap<>();
            assertNull(groovyEngine.evaluate("", params));
            assertEquals("", groovyEngine.evaluate("return ''", params));
            assertEquals(1, groovyEngine.evaluate("return 1", params));
    
            params.put("test", "123");
            assertEquals("123", groovyEngine.evaluate("return test", params));
        }
    
        public void test_getName() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/main/assemblies/files/fess.bat

    @echo off
    
    SETLOCAL enabledelayedexpansion
    TITLE Fess
    
    SET params='%*'
    
    :loop
    FOR /F "usebackq tokens=1* delims= " %%A IN (!params!) DO (
        SET current=%%A
        SET params='%%B'
    	SET silent=N
    	
    	IF "!current!" == "-s" (
    		SET silent=Y
    	)
    	IF "!current!" == "--silent" (
    		SET silent=Y
    	)	
    	
    	IF "!silent!" == "Y" (
    		SET nopauseonerror=Y
    	) ELSE (
    	    IF "x!newparams!" NEQ "x" (
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun May 24 22:24:52 UTC 2020
    - 796 bytes
    - Viewed (0)
  5. tests/test_tutorial/test_query_param_models/test_tutorial002.py

    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    from tests.utils import needs_py39, needs_py310, needs_pydanticv1, needs_pydanticv2
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial002", marks=needs_pydanticv2),
            pytest.param("tutorial002_py39", marks=[needs_py39, needs_pydanticv2]),
            pytest.param("tutorial002_py310", marks=[needs_py310, needs_pydanticv2]),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. docs_src/dependency_testing/tutorial001.py

    
    @app.get("/items/")
    async def read_items(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    async def read_users(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Users!", "params": commons}
    
    
    client = TestClient(app)
    
    
    async def override_dependency(q: Union[str, None] = None):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  7. docs_src/dependency_testing/tutorial001_an_py310.py

    
    @app.get("/items/")
    async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    async def read_users(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Users!", "params": commons}
    
    
    client = TestClient(app)
    
    
    async def override_dependency(q: str | None = None):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_testing_dependencies/test_tutorial001_an_py310.py

        response = client.get("/users/")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "message": "Hello Users!",
            "params": {"q": None, "skip": 5, "limit": 10},
        }
    
    
    @needs_py310
    def test_override_in_users_with_q():
        from docs_src.dependency_testing.tutorial001_an_py310 import client
    
        response = client.get("/users/?q=foo")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_testing_dependencies/test_tutorial001_an_py39.py

        response = client.get("/users/")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "message": "Hello Users!",
            "params": {"q": None, "skip": 5, "limit": 10},
        }
    
    
    @needs_py39
    def test_override_in_users_with_q():
        from docs_src.dependency_testing.tutorial001_an_py39 import client
    
        response = client.get("/users/?q=foo")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_testing_dependencies/test_tutorial001.py

        assert response.json() == {
            "message": "Hello Users!",
            "params": {"q": None, "skip": 5, "limit": 10},
        }
    
    
    def test_override_in_users_with_q():
        response = client.get("/users/?q=foo")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "message": "Hello Users!",
            "params": {"q": "foo", "skip": 5, "limit": 10},
        }
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 10 09:08:19 UTC 2020
    - 1.5K bytes
    - Viewed (0)
Back to top