สร้างรายการเนื้อหาของดัชนีเพจด้วยชุดเครื่องมือ OCE

คุณสามารถใช้คำสั่งของชุดเครื่องมือ 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