索引轉換器 index-converter
Index Converter是用來移轉客戶的索引定義的公用程式,為移轉到AEMas a Cloud Service做準備。
簡介 introduction
索引轉換器可讓AEM開發人員將現有的自訂Oak索引定義移轉為AEMas a Cloud Service相容的自訂Oak索引定義。
NOTE
僅限索引轉換工具 lucene 鍵入Custom Oak Index Definitions,它們出現在
/apps
或 /oak:index
. 它不會轉換 lucene 為建立的型別索引 nt:base
.建立自訂Oak索引定義有兩個方法:
under /apps
(透過任何自訂內容封裝)- 直接在
/oak:index
路徑
如果 確定Oak索引 使用,請確定AEMas a Cloud Service上不支援定義。 因此,必須先將它們轉換為Oak索引定義,然後移轉至與AEMas a Cloud Service相容的自訂Oak索引定義,如下所述:
- 如果屬性忽略設為
true
,忽略或略過確保定義 - 更新
jcr:primaryType
至oak:QueryIndexDefinition
- 移除任何在OSGi設定中提到的要忽略的屬性
- 移除子樹狀結構
/facets/jcr:content
從確認定義
使用索引轉換器 using-index-converter
-
透過Adobe I/OCLI :Adobe建議透過以下方式使用索引轉換器:
aio-cli-plugin-aem-cloud-service-migration
(適用於Adobe I/OCLI的AEMas a Cloud Service程式碼重構外掛程式)。另請參閱 Git資源: aio-cli-plugin-aem-cloud-service-migration 以瞭解如何安裝及使用外掛程式。
-
作為獨立公用程式:Index Converter也可以作為獨立公用程式執行。
另請參閱 Git資源:aem-cs-source-migration-index-converter 以瞭解如何使用此工具。
recommendation-more-help
fbcff2a9-b6fe-4574-b04a-21e75df764ab