marklogic에서 XHTML 파일을로드했습니다. 그러나 속성, 요소 및 텍스트에 대한 검색을 수행해야합니다. 그래서 문서를 텍스트로 가져 오거나로드하고 문서에서 검색을 수행해야합니다.xhtml 문서를 텍스트로로드하고 marklogic에서 키워드를 검색하는 방법
아래는 XHTML 파일입니다. 아직
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<meta>
</meta>
<body class="Default">
</body>
</html>
Using below code I am ble to save text file but it will aloow to save (>0.2KB)small size file. I need to save upto 1 to 50MB files in marklogic DB.
Using below code I am able to save file as text but big file not able to save.
ContentCreateOptions createOptions = ContentCreateOptions.newTextInstance();
Content content = ContentFactory.newContent("/"+uID,filetext, createOptions);
mlSession.insertContent(content);
질문은 http://stackoverflow.com/questions/27796201/how-to-search-the-given-text-into-marklogic-xhtml-file-like-cltf에 연결됩니다. – grtjn