您可以使用 OCE 工具程式命令建立頁面索引內容項目。
先決條件:
您的本機機器上已安裝並設定 OCE 工具程式。
已發布 Oracle Content Management 上的網站。
網站頁面上的內容項目已發布至網站通道。
在命令行介面輸入下列 OCE 工具程式命令:
cec index-site site name -c content type name -p
命令中的 site name
是網站名稱,content type name
是為頁面文字建立的內容類型;選項 -p
表示建立後發布頁面索引內容項目。
Usage: cec index-site <site> Create content item for each page with all text on the page. If the page index content item already exists for a page, updated it with latest text on the page. Specify -c <contenttype> to set the page index content type. Optionally specify -p to publish the page index items after creation or update. Options: --contenttype, -c <contenttype> page index content type --publish, -p publish page index items --help, -h Show help [boolean] Examples: cec index-site Site1 -c PageIndex cec index-site Site1 -c PageIndex -p
若要查看使用狀況,您可以輸入 cec index-site -h