Skip to content

Instantly share code, notes, and snippets.

@benwbrum
Created May 27, 2013 01:42
Show Gist options
  • Save benwbrum/5654771 to your computer and use it in GitHub Desktop.
Save benwbrum/5654771 to your computer and use it in GitHub Desktop.
FreeREG Test1 Index List
// > db.search_records.getIndexes();
[
{
"v" : 1,
"key" : {
"_id" : 1
},
"ns" : "mv_20130513.search_records",
"name" : "_id_"
},
{
"v" : 1,
"key" : {
"primary_names.last_name" : 1,
"chapman_code" : 1
},
"ns" : "mv_20130513.search_records",
"name" : "primary_names.last_name_1_chapman_code_1"
},
{
"v" : 1,
"key" : {
"primary_names.last_name" : 1,
"primary_names.first_name" : 1
},
"ns" : "mv_20130513.search_records",
"name" : "primary_names.last_name_1_primary_names.first_name_1"
},
{
"v" : 1,
"key" : {
"primary_soundex.last_name" : 1,
"primary_soundex.first_name" : 1
},
"ns" : "mv_20130513.search_records",
"name" : "primary_soundex.last_name_1_primary_soundex.first_name_1"
},
{
"v" : 1,
"key" : {
"inclusive_soundex.last_name" : 1,
"inclusive_soundex.first_name" : 1
},
"ns" : "mv_20130513.search_records",
"name" : "inclusive_soundex.last_name_1_inclusive_soundex.first_name_1"
},
{
"v" : 1,
"key" : {
"inclusive_names.last_name" : 1,
"inclusive_names.first_name" : 1
},
"ns" : "mv_20130513.search_records",
"name" : "inclusive_names.last_name_1_inclusive_names.first_name_1"
},
{
"v" : 1,
"key" : {
"inclusive_names.last_name" : 1,
"chapman_code" : 1,
"inclusive_names.first_name" : 1
},
"ns" : "mv_20130513.search_records",
"name" : "inclusive_names.last_name_1_chapman_code_1_inclusive_names.first_name_1"
},
{
"v" : 1,
"key" : {
"inclusive_soundex.last_name" : 1,
"chapman_code" : 1,
"inclusive_soundex.first_name" : 1
},
"ns" : "mv_20130513.search_records",
"name" : "inclusive_soundex.last_name_1_chapman_code_1_inclusive_soundex.first_name_1"
},
{
"v" : 1,
"key" : {
"primary_names.last_name" : 1,
"chapman_code" : 1,
"primary_names.first_name" : 1
},
"ns" : "mv_20130513.search_records",
"name" : "primary_names.last_name_1_chapman_code_1_primary_names.first_name_1"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment