Version 5.0.13
This commit is contained in:
1 parent
b89858b2ff
commit
5efe744c5f
1407 files changed
+69690
-30177
No files matched your search
@@ -103,6 +103,7 @@ class Index extends SearchIndex
|
||||
'settings' => $settings,
|
||||
'mappings' => array(
|
||||
'properties' => array(
|
||||
'index_id' => array( 'type' => 'keyword' ),
|
||||
'index_class' => array( 'type' => 'keyword' ),
|
||||
'index_object_id' => array( 'type' => 'long' ),
|
||||
'index_item_id' => array( 'type' => 'long' ),
|
||||
@@ -205,6 +206,8 @@ class Index extends SearchIndex
|
||||
{
|
||||
if ( $indexData = $this->indexData( $object ) )
|
||||
{
|
||||
$indexData['index_id'] = $this->getIndexId( $object );
|
||||
|
||||
/* If nobody has permission to access it, just remove it */
|
||||
if ( !$indexData['index_permissions'] )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user