Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 1,119 for Items (0.02 seconds)

  1. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerErrorHandlingTest.java

        // ============================================================
    
        @Test
        public void test_indexEmptyArray() throws Exception {
            SuggestItem[] items = new SuggestItem[0];
            SuggestIndexResponse response = suggester.indexer().index(items);
    
            assertNotNull(response);
            assertEquals(0, response.getNumberOfInputDocs());
            assertEquals(0, response.getNumberOfSuggestDocs());
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/suggest/index/operations/DeletionOperations.java

        }
    
        /**
         * Deletes all suggest items.
         *
         * @param index The index name
         * @return The SuggestDeleteResponse
         */
        public SuggestDeleteResponse deleteAll(final String index) {
            if (logger.isInfoEnabled()) {
                logger.info("Deleting all suggest items: index={}", index);
            }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/systeminfo/AdminSysteminfoAction.java

                    || "oic.client.id".equals(key) //
                    || "oic.client.secret".equals(key);
        }
    
        /**
         * Gets a list of items relevant for bug reports.
         *
         * @return list of bug report items
         */
        public static List<Map<String, String>> getBugReportItems() {
            final List<Map<String, String>> itemList = new ArrayList<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestTest.java

            assertTrue(response.getTotal() > 0);
        }
    
        @Test
        public void test_addLanguage() throws Exception {
            SuggestItem[] items = new SuggestItem[1];
            String[][] readings = new String[1][];
            readings[0] = new String[] { "test" };
            items[0] = new SuggestItem(new String[] { "test" }, readings, new String[] { "content" }, 0, 15, -1, new String[] { "tag1" },
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

            return OptionalEntity.empty();
        }
    
        /**
         * Retrieves a paginated list of character mapping items.
         *
         * @param offset the starting index for pagination (0-based)
         * @param size the maximum number of items to return
         * @return a PagingList containing the requested subset of mapping items
         */
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  6. docs/zh/docs/advanced/security/oauth2-scopes.md

    现在我们声明,路径操作 `/users/me/items/` 需要作用域 `items`。
    
    为此,从 `fastapi` 导入并使用 `Security`。
    
    你可以用 `Security` 来声明依赖(就像 `Depends` 一样),但 `Security` 还接收一个 `scopes` 参数,其值是作用域(字符串)列表。
    
    在这里,我们把依赖函数 `get_current_active_user` 传给 `Security`(就像用 `Depends` 一样)。
    
    同时还传入一个作用域 `list`,此处仅包含一个作用域:`items`(也可以包含更多)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 13K bytes
    - Click Count (0)
  7. fastapi/.agents/skills/fastapi/references/dependencies.md

                "q": self.q,
                "items": [],
            }
    
    
    def get_db_paginator(
        offset: int = 0, limit: int = 100, q: str | None = None
    ) -> DatabasePaginator:
        return DatabasePaginator(offset=offset, limit=limit, q=q)
    
    
    PaginatorDep = Annotated[DatabasePaginator, Depends(get_db_paginator)]
    
    
    @app.get("/items/")
    async def read_items(paginator: PaginatorDep):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  8. docs_src/metadata/tutorial001_py310.py

    from fastapi import FastAPI
    
    description = """
    ChimichangApp API helps you do awesome stuff. 🚀
    
    ## Items
    
    You can **read items**.
    
    ## Users
    
    You will be able to:
    
    * **Create users** (_not implemented_).
    * **Read users** (_not implemented_).
    """
    
    app = FastAPI(
        title="ChimichangApp",
        description=description,
        summary="Deadpool's favorite app. Nuff said.",
        version="0.0.1",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 805 bytes
    - Click Count (0)
  9. docs_src/python_types/tutorial006_py310.py

    def process_items(items: list[str]):
        for item in items:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 80 bytes
    - Click Count (0)
  10. fastapi/.agents/skills/fastapi/references/streaming.md

    To stream JSON Lines, declare the return type and use `yield` to return the data.
    
    ```python
    @app.get("/items/stream")
    async def stream_items() -> AsyncIterable[Item]:
        for item in items:
            yield item
    ```
    
    ## Server-Sent Events (SSE)
    
    To stream Server-Sent Events, use `response_class=EventSourceResponse` and `yield` items from the endpoint.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 2.5K bytes
    - Click Count (0)
Back to Top