DocumentAPI 중에 BulkProcessor 도 존재하는데 이를 사용하여 대량의 문서들을 bulk로 생성해보도록 한다. 우선 이전 포스팅에서와 같이 생성할 문서의 내용을 BulkData 클래스로 생성한다는 전제로 작성한 코드이다. public Boolean bulkDocumentWithBulkProcessor(ArrayList bulkList) { return _bulkDocumentWithBulkProcessor(bulkList, 1000); } public Boolean bulkDocumentWithBulkProcessor(ArrayList bulkList, int bulkActions) { return _bulkDocumentWithBulkProcessor(bulkList, bulkActio..
Document API 중에는 대량의 문서들을 생성하는 bulk api도 존재한다. bulk api는 한번의 요청을 보낼 때 여러개의 생성/업데이트/삭제 동작을 수행하도록 할 수 있다. @Test public void bulk() throws IOException { ClientApi api = new ClientApi(ip); DocumentApi docApi = api.getDocumentApi(); Object[] item = (Object[]) docApi.getBulkItem(); BulkRequest request = (BulkRequest) item[0]; RestHighLevelClient client = (RestHighLevelClient) item[1]; request.add(new ..
- Total
- Today
- Yesterday
- RDF 변환
- 사이퍼
- 온톨로지
- 트리플 변환
- Ontology
- Neo4j
- 타임리프
- stardog
- django
- TDB
- networkx
- sparql
- Knowledge Graph
- 장고
- 지식 그래프
- RDF
- Linked Data
- neosemantics
- pyvis
- rdfox
- Thymeleaf
- cypher
- TBC
- LOD
- 지식그래프
- 스프링부트
- 트리플
- TopBraid Composer
- property graph
- 그래프 데이터베이스
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |