Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F27739794
Unindexed pages
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
Reedy
Dec 28 2018, 2:53 AM
2018-12-28 02:53:16 (UTC+0)
Size
516 B
Referenced Files
None
Subscribers
None
Unindexed pages
View Options
$config = MediaWikiServices::getInstance()->getConfigFactory()->makeConfig( 'CirrusSearch' );
$conn = new Connection( $config );$searcher = new Searcher( $conn, 0, 0, $config, [], $wgUser );
$db = wfGetDB( DB_REPLICA );
$titles = $db->selectFieldValues( 'page', 'page_title' );
foreach ( $titles as $text ) {
$title = Title::newFromDBkey( $text );
$docId = $config->makeId( $title->getArticleID() );
$esSources = $searcher->get( [ $docId ], true );
if ( !$esSources->isOK() ) {
echo $title->getText();
}
}
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6892170
Default Alt Text
Unindexed pages (516 B)
Attached To
Mode
P7943 Unindexed pages
Attached
Detach File
Event Timeline
Log In to Comment