Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for deleteChildDocument (0.11 sec)

  1. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

            final QueryBuilder queryBuilder = QueryBuilders.prefixQuery(fessConfig.getIndexFieldId(), id);
            return getDocumentListByQuery(searchEngineClient, queryBuilder, fields);
        }
    
        public long deleteChildDocument(final SearchEngineClient searchEngineClient, final String id) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            return searchEngineClient.deleteByQuery(fessConfig.getIndexDocumentUpdateIndex(),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

                    return 0;
                }
            };
            ComponentUtil.register(client, "searchEngineClient");
    
            final String id = "001";
    
            assertEquals(1, indexingHelper.deleteChildDocument(client, id));
            assertEquals("fess.update", resultMap.get("index"));
            assertEquals(id, resultMap.get("id"));
            assertEquals("parent_id", resultMap.get("field"));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 08:54:24 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top