Commit 78fb347f authored by webchick's avatar webchick

Issue #1425622 by visabhishek, dealancer: Increase length of 'type' field in...

Issue #1425622 by visabhishek, dealancer: Increase length of 'type' field in search_dataset, search_index tables from 16 to 64.
parent c535287a
......@@ -28,7 +28,7 @@ function search_schema() {
),
'type' => array(
'type' => 'varchar',
'length' => 16,
'length' => 64,
'not null' => TRUE,
'description' => 'Type of item, e.g. node.',
),
......@@ -75,7 +75,7 @@ function search_schema() {
),
'type' => array(
'type' => 'varchar',
'length' => 16,
'length' => 64,
'not null' => TRUE,
'description' => 'The {search_dataset}.type of the searchable item to which the word belongs.',
),
......
......@@ -395,7 +395,8 @@ function search_invoke_preprocess(&$text, $langcode = NULL) {
* @param $sid
* An ID number identifying this particular item (e.g., node ID).
* @param $type
* The plugin ID or other machine-readable type of this item.
* The plugin ID or other machine-readable type of this item,
* which should be less than 64 bytes.
* @param $text
* The content of this item. Must be a piece of HTML or plain text.
* @param $langcode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment