Fix bug #13928293 Search - remove "switchTextOn" / "switchTextOff" from indexing
- remove all related code - update the Index database schema and its version Change-Id: Iaa5219b77efe5db3a404708663fdf82f10d043d3
This commit is contained in:
@@ -28,7 +28,7 @@ public class IndexDatabaseHelper extends SQLiteOpenHelper {
|
||||
private static final String TAG = "IndexDatabaseHelper";
|
||||
|
||||
private static final String DATABASE_NAME = "search_index.db";
|
||||
private static final int DATABASE_VERSION = 107;
|
||||
private static final int DATABASE_VERSION = 108;
|
||||
|
||||
public interface Tables {
|
||||
public static final String TABLE_PREFS_INDEX = "prefs_index";
|
||||
@@ -46,10 +46,6 @@ public class IndexDatabaseHelper extends SQLiteOpenHelper {
|
||||
public static final String DATA_SUMMARY_OFF = "data_summary_off";
|
||||
public static final String DATA_SUMMARY_OFF_NORMALIZED = "data_summary_off_normalized";
|
||||
public static final String DATA_ENTRIES = "data_entries";
|
||||
public static final String DATA_SWITCH_ON = "data_switch_on";
|
||||
public static final String DATA_SWITCH_ON_NORMALIZED = "data_switch_on_normalized";
|
||||
public static final String DATA_SWITCH_OFF = "data_switch_off";
|
||||
public static final String DATA_SWITCH_OFF_NORMALIZED = "data_switch_off_normalized";
|
||||
public static final String DATA_KEYWORDS = "data_keywords";
|
||||
public static final String CLASS_NAME = "class_name";
|
||||
public static final String SCREEN_TITLE = "screen_title";
|
||||
@@ -86,14 +82,6 @@ public class IndexDatabaseHelper extends SQLiteOpenHelper {
|
||||
", " +
|
||||
IndexColumns.DATA_ENTRIES +
|
||||
", " +
|
||||
IndexColumns.DATA_SWITCH_ON +
|
||||
", " +
|
||||
IndexColumns.DATA_SWITCH_ON_NORMALIZED +
|
||||
", " +
|
||||
IndexColumns.DATA_SWITCH_OFF +
|
||||
", " +
|
||||
IndexColumns.DATA_SWITCH_OFF_NORMALIZED +
|
||||
", " +
|
||||
IndexColumns.DATA_KEYWORDS +
|
||||
", " +
|
||||
IndexColumns.SCREEN_TITLE +
|
||||
|
Reference in New Issue
Block a user