Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 50 for get_item (0.13 sec)

  1. src/main/webapp/js/admin/adminlte.min.js.map

    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 132.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            suggester.refresh();
    
            final SuggestResponse response = suggester.suggest().setQuery("検索").setSuggestDetail(true).execute().getResponse();
            final List<SuggestItem> items = response.getItems();
            assertEquals(1, response.getNum());
            assertEquals("検索 エンジン", items.get(0).getText());
        }
    
        @Test
        public void test_indexFromSearchWordExclude() throws Exception {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

                            });
                    if (response.hasFailures()) {
                        if (logger.isDebugEnabled()) {
                            final BulkItemResponse[] items = response.getItems();
                            if (docList.size() == items.length) {
                                for (int i = 0; i < docList.size(); i++) {
                                    final BulkItemResponse resp = items[i];
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                final String value = url.replaceFirst("^smb.?:/+", StringUtil.EMPTY);
                return abbreviateSite("\\\\" + value.replace('/', '\\'));
            }
    
            return getSite(url, encoding);
        }
    
        @Override
        public Object getData(final AccessResultData<?> accessResultData) {
            final byte[] data = accessResultData.getData();
            if (data != null) {
                try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java

                builderCall.callback(bulkBuilder);
            }
    
            final BulkResponse response = bulkBuilder.execute().actionGet(bulkTimeout);
            final BulkItemResponse[] itemResponses = response.getItems();
            if (itemResponses.length != entityList.size()) {
                throw new IllegalStateException("Invalid response size: " + itemResponses.length + " != " + entityList.size());
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractBehavior.java

                builderCall.callback(bulkBuilder);
            }
    
            final BulkResponse response = bulkBuilder.execute().actionGet(bulkTimeout);
            final BulkItemResponse[] itemResponses = response.getItems();
            if (itemResponses.length != entityList.size()) {
                throw new IllegalStateException("Invalid response size: " + itemResponses.length + " != " + entityList.size());
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractBehavior.java

                builderCall.callback(bulkBuilder);
            }
    
            final BulkResponse response = bulkBuilder.execute().actionGet(bulkTimeout);
            final BulkItemResponse[] itemResponses = response.getItems();
            if (itemResponses.length != entityList.size()) {
                throw new IllegalStateException("Invalid response size: " + itemResponses.length + " != " + entityList.size());
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

        protected String buildFailureMessage(final BulkResponse bulkResponse, final boolean ignoreAlreadyExists) {
            final StringBuilder sb = new StringBuilder(100);
            final BulkItemResponse[] responses = bulkResponse.getItems();
            for (int i = 0; i < responses.length; i++) {
                final BulkItemResponse response = responses[i];
                if (response.isFailed()) {
                    if (ignoreAlreadyExists) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  9. docs/en/docs/release-notes.md

    def get_username():
        try:
            yield "Rick"
        except OwnerError as e:
            raise HTTPException(status_code=400, detail=f"Owner error: {e}")
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
        if item_id not in data:
            raise HTTPException(status_code=404, detail="Item not found")
        item = data[item_id]
        if item["owner"] != username:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            // host
            putResultDataBody(dataMap, fessConfig.getIndexFieldHost(), getHost(url));
            // site
            putResultDataBody(dataMap, fessConfig.getIndexFieldSite(), getSite(url, urlEncoding));
            // filename
            if (StringUtil.isNotBlank(fileName)) {
                putResultDataBody(dataMap, fessConfig.getIndexFieldFilename(), fileName);
            }
            // url
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
Back to top