MDL-53578 search: Enable course id indexing so it can be filtered

This commit is contained in:
Eric Merrill 2016-03-22 12:53:56 -04:00
parent fed66ad9e2
commit a4902f66bb

View file

@ -118,7 +118,7 @@ class document implements \renderable, \templatable {
'courseid' => array( 'courseid' => array(
'type' => 'int', 'type' => 'int',
'stored' => true, 'stored' => true,
'indexed' => false 'indexed' => true
), ),
'owneruserid' => array( 'owneruserid' => array(
'type' => 'int', 'type' => 'int',
@ -145,7 +145,7 @@ class document implements \renderable, \templatable {
'userid' => array( 'userid' => array(
'type' => 'int', 'type' => 'int',
'stored' => true, 'stored' => true,
'indexed' => false 'indexed' => true
), ),
'description1' => array( 'description1' => array(
'type' => 'string', 'type' => 'string',