Skip to content

Commit

Permalink
Merge pull request #4591 from willkg/1490662-memoryerrorcorrection
Browse files Browse the repository at this point in the history
fix bug 1490662, 1420797, 1467856: add fields to super search
  • Loading branch information
willkg committed Sep 12, 2018
2 parents dbe0c90 + da3fc74 commit 39964ca
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions socorro/external/es/super_search_fields.py
Expand Up @@ -2239,6 +2239,28 @@ def get(self):
'type': 'long'
}
},
'gmp_library_path': {
'data_validation_type': 'str',
'default_value': None,
'description': 'Holds the path to the GMP plugin library.',
'form_field_choices': [],
'has_full_version': False,
'in_database_name': 'GMPLibraryPath',
'is_exposed': True,
'is_mandatory': False,
'is_returned': True,
'name': 'gmp_library_path',
'namespace': 'raw_crash',
'permissions_needed': [
# This contains file paths on the user's computer.
'crashstats.view_pii'
],
'query_type': 'string',
'storage_mapping': {
'analyzer': 'keyword',
'type': 'string'
}
},
'gmp_plugin': {
'data_validation_type': 'str',
'default_value': None,
Expand Down Expand Up @@ -2347,6 +2369,27 @@ def get(self):
'type': 'string'
}
},
'has_device_touch_screen': {
'data_validation_type': 'bool',
'default_value': None,
'description': (
'Set to 1 if the device had a touch-screen, this only applies to Firefox '
'desktop as on mobile devices we assume a touch-screen is always present.'
),
'form_field_choices': [],
'has_full_version': False,
'in_database_name': 'HasDeviceTouchScreen',
'is_exposed': True,
'is_mandatory': False,
'is_returned': True,
'name': 'has_device_touch_screen',
'namespace': 'raw_crash',
'permissions_needed': [],
'query_type': 'bool',
'storage_mapping': {
'type': 'boolean'
}
},
'id': {
'data_validation_type': 'enum',
'default_value': None,
Expand Down Expand Up @@ -2744,6 +2787,31 @@ def get(self):
'query_type': 'number',
'storage_mapping': None
},
'memory_error_correction': {
'data_validation_type': 'str',
'default_value': None,
'description': (
'Windows only, type of error correction used by system memory. See '
'documentation for MemoryErrorCorrection property of '
'Win32_PhysicalMemoryArray WMI class.'
),
# FIXME(willkg): Once we know the set of fields, we can add them here. There's
# a finite set.
'form_field_choices': [],
'has_full_version': False,
'in_database_name': 'MemoryErrorCorrection',
'is_exposed': True,
'is_mandatory': False,
'is_returned': True,
'name': 'memory_error_correction',
'namespace': 'raw_crash',
'permissions_needed': [],
'query_type': 'string',
'storage_mapping': {
'analyzer': 'keyword',
'type': 'string'
}
},
'memory_explicit': {
'data_validation_type': 'int',
'default_value': None,
Expand Down

0 comments on commit 39964ca

Please sign in to comment.