{"id":7831,"date":"2016-05-04T10:09:15","date_gmt":"2016-05-04T08:09:15","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/"},"modified":"2016-05-04T10:09:15","modified_gmt":"2016-05-04T08:09:15","slug":"xplore-list-all-ids-from-xhive","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/","title":{"rendered":"xPlore list all ids from xhive"},"content":{"rendered":"<p>I went into a case that I found a kid of &#8216;Ghost&#8217; index which I may present in another blog. But to summarize I had to get the full list of indexes from the xPlore server.<br \/>\nThe problem is that there isn&#8217;t such a list easily accessible. Hence I wondered, all indexes are stored in a database, what if I could query this database directly?<br \/>\nSo I chose this way, and finally found out some tool in dsearch\/xhive\/admin like:<br \/>\n&#8211; XHAdmin<br \/>\n&#8211; XHCommand<\/p>\n<p>The first one XHAdmin is a graphical tool to connect and manage the database, it looks pretty well done and it&#8217;s easy to find our indexes. It requires credentials which are: Administrator as username and the password is the same as the one you chose for dsearch admin interface.<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/xhive-admin-11.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8875\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/xhive-admin-11.png\" alt=\"xhive admin 1\" width=\"695\" height=\"401\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/xhive-admin-21.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-8876\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/xhive-admin-21.png\" alt=\"xhive admin 2\" width=\"1024\" height=\"549\" \/><\/a><\/p>\n<p>I didn&#8217;t find an easy way to export my ids and I definitely prefer command line for this kind of job. So I searched the web for XHCommand and I found how to launch it:<br \/>\n.\/XHCommand -d xhivedb -u Administrator -p pwd<\/p>\n<p>As previously the username is Administrator and the password is the same as Dsearch Admin. Once this command is started, it opens a dedicated shell, and it gently propose to type help for more info, that&#8217;s what I did!<br \/>\nWe can now see that we can navigate through the database like in linux with cd, ls, ll and so on. Hence I searched for my ids and found them as expected:<br \/>\n\/DOCBASE_NAME\/dsearch\/ApplicationInfo\/group<br \/>\n\/DOCBASE_NAME\/dsearch\/ApplicationInfo\/acl<br \/>\n\/DOCBASE_NAME\/dsearch\/Data\/default<\/p>\n<p>The interesting thing with these commands is that we can call them from our linux shell directly like:<br \/>\n.\/XHCommand -d xhivedb -u Administrator -p pwd ls \/DOCBASE_NAME\/dsearch\/ApplicationInfo\/group &gt; total_ids.txt<br \/>\n.\/XHCommand -d xhivedb -u Administrator -p pwd ls \/DOCBASE_NAME\/dsearch\/ApplicationInfo\/acl &gt;&gt; total_ids.txt<br \/>\n.\/XHCommand -d xhivedb -u Administrator -p pwd ls \/DOCBASE_NAME\/dsearch\/Data\/default &gt;&gt; total_ids.txt<\/p>\n<p>This will list all ids from these collections and put them in the same file, but beware, it could take ages, don&#8217;t forget to nohup it.<\/p>\n<p>So I gave you a first hint to xhive management in xPlore, I&#8217;ll try to go deeper on this topic for another blog.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I went into a case that I found a kid of &#8216;Ghost&#8217; index which I may present in another blog. But to summarize I had to get the full list of indexes from the xPlore server. The problem is that there isn&#8217;t such a list easily accessible. Hence I wondered, all indexes are stored in [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":7834,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197],"tags":[129,830,831,832,833,834,474],"type_dbi":[],"class_list":["post-7831","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-application-integration-middleware","tag-documentum","tag-ids","tag-list","tag-xhadmin","tag-xhcommand","tag-xhive","tag-xplore"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>xPlore list all ids from xhive - dbi Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"xPlore list all ids from xhive\" \/>\n<meta property=\"og:description\" content=\"I went into a case that I found a kid of &#8216;Ghost&#8217; index which I may present in another blog. But to summarize I had to get the full list of indexes from the xPlore server. The problem is that there isn&#8217;t such a list easily accessible. Hence I wondered, all indexes are stored in [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2016-05-04T08:09:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/xhive-admin-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"695\" \/>\n\t<meta property=\"og:image:height\" content=\"401\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Middleware Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Middleware Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/\"},\"author\":{\"name\":\"Middleware Team\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1\"},\"headline\":\"xPlore list all ids from xhive\",\"datePublished\":\"2016-05-04T08:09:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/\"},\"wordCount\":394,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/xhive-admin-1.png\",\"keywords\":[\"Documentum\",\"ids\",\"list\",\"XHAdmin\",\"XHCommand\",\"xhive\",\"xPlore\"],\"articleSection\":[\"Application integration &amp; Middleware\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/\",\"name\":\"xPlore list all ids from xhive - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/xhive-admin-1.png\",\"datePublished\":\"2016-05-04T08:09:15+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/#primaryimage\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/xhive-admin-1.png\",\"contentUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/xhive-admin-1.png\",\"width\":695,\"height\":401},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"xPlore list all ids from xhive\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1\",\"name\":\"Middleware Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"caption\":\"Middleware Team\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/middleware-team\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"xPlore list all ids from xhive - dbi Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/","og_locale":"en_US","og_type":"article","og_title":"xPlore list all ids from xhive","og_description":"I went into a case that I found a kid of &#8216;Ghost&#8217; index which I may present in another blog. But to summarize I had to get the full list of indexes from the xPlore server. The problem is that there isn&#8217;t such a list easily accessible. Hence I wondered, all indexes are stored in [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/","og_site_name":"dbi Blog","article_published_time":"2016-05-04T08:09:15+00:00","og_image":[{"width":695,"height":401,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/xhive-admin-1.png","type":"image\/png"}],"author":"Middleware Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Middleware Team","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/"},"author":{"name":"Middleware Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1"},"headline":"xPlore list all ids from xhive","datePublished":"2016-05-04T08:09:15+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/"},"wordCount":394,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/xhive-admin-1.png","keywords":["Documentum","ids","list","XHAdmin","XHCommand","xhive","xPlore"],"articleSection":["Application integration &amp; Middleware"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/","url":"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/","name":"xPlore list all ids from xhive - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/xhive-admin-1.png","datePublished":"2016-05-04T08:09:15+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/xhive-admin-1.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/xhive-admin-1.png","width":695,"height":401},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/xplore-list-all-ids-from-xhive\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"xPlore list all ids from xhive"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1","name":"Middleware Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","caption":"Middleware Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/middleware-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/7831","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=7831"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/7831\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media\/7834"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=7831"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=7831"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=7831"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=7831"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}