locomotivecms-search 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb1075982d1e9b83fa9bf0bebf5897d83e011962
4
- data.tar.gz: e17c2d62d936c1ae216fd019f26ad1ca2cf8fce5
3
+ metadata.gz: 375f03e18a21c1cf74b9800b0e6c8cf485e4ea45
4
+ data.tar.gz: a6d7aa4772146b2ad91d27a8ba739c0b2c6f0f24
5
5
  SHA512:
6
- metadata.gz: 2b58e7795a33452a35122d5c19fc6336e5f5972351bdcb59d1dc41d011261c5b9b4339f6ecf079a8d4aae7a4accc7e5ac97bef380360e02e10de5aa17e284c4c
7
- data.tar.gz: bceea6501ec8c21ae355a809a6bceab85aa0a013315874a49a914f48a550e05d7bd9b7a41ee2e502728bd8aedfaa171206166669adc1f7fcf7d815d424956f27
6
+ metadata.gz: a39b00d736139899f2fed0a465cc0284de999b252f8cfa5be15f5f8c8ee8b57966f733df41b7a32102e787a5b8b24b6d453416eb09fdbb0e8645ba6617d9a658
7
+ data.tar.gz: 362cf046813a3a8fa0c9f47fd95e3f34e0e6ecec2f976ac7a16ad0df18e01ffdd3aa9512bf2d7e50ae86cd0f6a425ddbc099967bb422b75081376e45fa63a414
@@ -108,6 +108,14 @@
108
108
  position: relative;
109
109
  top: -2px;
110
110
  margin-right: 2px;
111
+
112
+ .flag { display: none; }
113
+
114
+ <% Locomotive.config.locales.each do |locale| %>
115
+ &.<%= locale %> .flag-<%= locale %> {
116
+ display: inline;
117
+ }
118
+ <% end %>
111
119
  }
112
120
 
113
121
  .highlight {
@@ -10,8 +10,9 @@
10
10
  .inner
11
11
  .type {{search_type}}
12
12
  {{#with_locale}}
13
- .locale
14
- = flag_tag '{{locale}}'
13
+ .locale{ class: '{{locale}}' }
14
+ - current_site.locales.each do |locale|
15
+ = flag_tag locale
15
16
  {{/with_locale}}
16
17
  .locale
17
18
  %h5= link_to '{{label}}', '{{url}}'
@@ -1,5 +1,5 @@
1
1
  module Locomotive
2
2
  module Search
3
- VERSION = '0.3.3'
3
+ VERSION = '0.3.4'
4
4
  end
5
5
  end
@@ -7252,3 +7252,1717 @@ Served asset /locomotive/jquery/images/ui-icons_222222_256x240.png - 200 OK (5ms
7252
7252
  MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (2.6643ms)
7253
7253
  MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (1.2553ms)
7254
7254
  MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (0.8769ms)
7255
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (7.0059ms)
7256
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (8.8787ms)
7257
+ Creating scope :root. Overwriting existing method Locomotive::Page.root.
7258
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (12.3348ms)
7259
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (12.5792ms)
7260
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"email"=>"admin@locomotiveapp.org"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5078ms)
7261
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"5354559524758018b8000001", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"735389cbef7d011da11328a25eb3e60e0f02af39", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"iYTuAyiJ2FqCFtR6AaZE", "api_key"=>"7a15174bc4954d58ac03d6ac6f7656e516e82f29", "updated_at"=>2014-04-20 23:17:41 UTC, "created_at"=>2014-04-20 23:17:41 UTC}] flags=[] (0.2670ms)
7262
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (27.1628ms)
7263
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5354559524758018b8000002", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2014-04-20 23:17:40 UTC, "updated_at"=>2014-04-20 23:17:41 UTC, "memberships"=>[{"_id"=>"5354559524758018b8000003", "role"=>"admin", "account_id"=>"5354559524758018b8000001"}]}] flags=[] (0.2220ms)
7264
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5354559524758018b8000002", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (25.0480ms)
7265
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5354559524758018b8000002", "_id"=>{"$ne"=>"5354559524758018b8000004"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4909ms)
7266
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5354559524758018b8000004", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"5354559524758018b8000002", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:17:41 UTC, "created_at"=>2014-04-20 23:17:41 UTC}] flags=[] (0.2742ms)
7267
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5354559524758018b8000004"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (4.0510ms)
7268
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5354559524758018b8000002", "template_dependencies.en"=>{"$in"=>["5354559524758018b8000004"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6042ms)
7269
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5354559524758018b8000004"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.2360ms)
7270
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5354559524758018b8000002", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6468ms)
7271
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5354559524758018b8000002", "_id"=>{"$ne"=>"5354559624758018b8000005"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.9320ms)
7272
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5354559524758018b8000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5670ms)
7273
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5354559624758018b8000005", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"5354559524758018b8000002", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:17:42 UTC, "created_at"=>2014-04-20 23:17:42 UTC}] flags=[] (0.2699ms)
7274
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5354559524758018b8000002", "template_dependencies.en"=>{"$in"=>["5354559624758018b8000005"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4802ms)
7275
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5354559624758018b8000005"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5031ms)
7276
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5354559624758018b8000005"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1328ms)
7277
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5354559524758018b8000002", "slug"=>"authors"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6709ms)
7278
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5354559624758018b8000006", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Authors", "description"=>"The list of my projects", "site_id"=>"5354559524758018b8000002", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"authors", "order_by"=>"created_at", "label_field_name"=>"fullname", "label_field_id"=>"5354559624758018b8000007", "updated_at"=>2014-04-20 23:17:42 UTC, "created_at"=>2014-04-20 23:17:42 UTC, "entries_custom_fields"=>[{"_id"=>"5354559624758018b8000007", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Fullname", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"fullname"}]}] flags=[] (0.3781ms)
7279
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5354559524758018b8000002", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5760ms)
7280
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"5354559624758018b8000006"} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8059ms)
7281
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5354559624758018b8000008", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5354559524758018b8000002", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5354559624758018b8000009", "updated_at"=>2014-04-20 23:17:42 UTC, "created_at"=>2014-04-20 23:17:42 UTC, "entries_custom_fields"=>[{"_id"=>"5354559624758018b8000009", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}, {"_id"=>"5354559624758018b800000a", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Author", "type"=>"belongs_to", "class_name"=>"Locomotive::ContentEntry5354559624758018b8000006", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"author"}, {"_id"=>"5354559624758018b800000b", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Stuff", "type"=>"text", "searchable"=>false, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"stuff"}]}] flags=[] (0.4430ms)
7282
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5354559524758018b8000002", "_id"=>"5354559624758018b8000006"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8321ms)
7283
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"5354559624758018b8000008"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5839ms)
7284
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_type"=>{"$in"=>["Locomotive::ContentEntry5354559624758018b8000006"]}} update={"$set"=>{"_label_field_name"=>"fullname"}} flags=[:multi] (0.1719ms)
7285
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"5354559624758018b8000006"} update={"$set"=>{"updated_at"=>2014-04-20 23:17:42 UTC, "entries_custom_fields_version"=>1}, "$pushAll"=>{"entries_custom_fields"=>[{"_id"=>"5354559624758018b800000c", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Examples", "type"=>"has_many", "class_name"=>"Locomotive::ContentEntry5354559624758018b8000008", "inverse_of"=>"author", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"examples", "order_by"=>nil}]}} flags=[] (0.2038ms)
7286
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5354559624758018b8000006"} update={"$set"=>{"custom_fields_recipe.rules"=>[{"name"=>"fullname", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"examples", "type"=>"has_many", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry5354559624758018b8000008", "inverse_of"=>"author", "order_by"=>nil}], "custom_fields_recipe.version"=>1}, "$unset"=>{}, "$rename"=>{}} flags={:multi=>true} (0.2551ms)
7287
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5354559624758018b800000d"}, "_slug.en"=>"john-doe", "_type"=>{"$in"=>["Locomotive::ContentEntry5354559624758018b8000006"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5310ms)
7288
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5354559624758018b8000006", "$or"=>[{"_slug.en"=>"john-doe"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6819ms)
7289
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5354559624758018b8000006"]}}} (0.8142ms)
7290
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5354559624758018b800000d", "_position"=>0, "_visible"=>true, "fullname"=>"John Doe", "custom_fields_recipe"=>{"name"=>"ContentEntry5354559624758018b8000006", "rules"=>[{"name"=>"fullname", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"examples", "type"=>"has_many", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry5354559624758018b8000008", "inverse_of"=>"author", "order_by"=>nil}], "version"=>1, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5354559624758018b8000006", "content_type_id"=>"5354559624758018b8000006", "_slug"=>{"en"=>"john-doe"}, "site_id"=>"5354559524758018b8000002", "_translated"=>{"en"=>true}, "_label_field_name"=>"fullname", "updated_at"=>2014-04-20 23:17:42 UTC, "created_at"=>2014-04-20 23:17:42 UTC}] flags=[] (0.2322ms)
7291
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"author_id"=>"5354559624758018b800000d", "_type"=>{"$in"=>["Locomotive::ContentEntry5354559624758018b8000008"]}}, "$orderby"=>{"position_in_author"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6189ms)
7292
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5354559624758018b800000e"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5354559624758018b8000008"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7749ms)
7293
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5354559624758018b8000008", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6831ms)
7294
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5354559624758018b8000008"]}}} (0.9570ms)
7295
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5354559624758018b8000008"]}}} (1.0111ms)
7296
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5354559624758018b800000e", "_position"=>0, "_visible"=>true, "position_in_author"=>1, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5354559624758018b8000008", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"author", "type"=>"belongs_to", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry5354559624758018b8000006"}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "author_id"=>"5354559624758018b800000d", "_type"=>"Locomotive::ContentEntry5354559624758018b8000008", "content_type_id"=>"5354559624758018b8000008", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"5354559524758018b8000002", "_translated"=>{"en"=>true}, "_label_field_name"=>"name", "updated_at"=>2014-04-20 23:17:42 UTC, "created_at"=>2014-04-20 23:17:42 UTC}] flags=[] (0.6900ms)
7297
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5354559724758018b800000f"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry5354559624758018b8000008"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5841ms)
7298
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5354559624758018b8000008", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4828ms)
7299
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5354559624758018b8000008"]}}} (0.4730ms)
7300
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5354559624758018b8000008"]}}} (0.3431ms)
7301
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5354559624758018b8000008"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.6208ms)
7302
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5354559624758018b8000008"]}}} (0.3328ms)
7303
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5354559624758018b8000008"]}, "position_in_author"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"position_in_author", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$position_in_author"}, "min"=>{"$min"=>"$position_in_author"}, "sum"=>{"$sum"=>"$position_in_author"}, "avg"=>{"$avg"=>"$position_in_author"}}}]} (0.6170ms)
7304
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5354559724758018b800000f", "_position"=>1, "_visible"=>true, "position_in_author"=>2, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5354559624758018b8000008", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"author", "type"=>"belongs_to", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry5354559624758018b8000006"}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5354559624758018b8000008", "content_type_id"=>"5354559624758018b8000008", "_slug"=>{"en"=>"hidden"}, "site_id"=>"5354559524758018b8000002", "_translated"=>{"en"=>true}, "_label_field_name"=>"name", "updated_at"=>2014-04-20 23:17:43 UTC, "created_at"=>2014-04-20 23:17:43 UTC}] flags=[] (0.2789ms)
7305
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (1.8449ms)
7306
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5354559524758018b8000002", "parent_id"=>"5354559524758018b8000004", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.8099ms)
7307
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5354559524758018b8000004", "site_id"=>"5354559524758018b8000002", "_id"=>{"$ne"=>"5354559824758018b8000010"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4992ms)
7308
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5354559524758018b8000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7219ms)
7309
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5354559824758018b8000010", "parent_ids"=>["5354559524758018b8000004"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>"5354559524758018b8000002", "parent_id"=>"5354559524758018b8000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:17:44 UTC, "created_at"=>2014-04-20 23:17:44 UTC}] flags=[] (0.2539ms)
7310
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5354559524758018b8000002", "template_dependencies.en"=>{"$in"=>["5354559824758018b8000010"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (1.2188ms)
7311
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5354559824758018b8000010"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8221ms)
7312
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5354559824758018b8000010"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.3042ms)
7313
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7548ms)
7314
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5354559524758018b8000002", "parent_id"=>"5354559524758018b8000004", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5250ms)
7315
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5354559524758018b8000004", "site_id"=>"5354559524758018b8000002", "_id"=>{"$ne"=>"5354559824758018b8000011"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7641ms)
7316
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5354559524758018b8000004", "site_id"=>"5354559524758018b8000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5844ms)
7317
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5354559524758018b8000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6440ms)
7318
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5354559824758018b8000011", "parent_ids"=>["5354559524758018b8000004"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>false, "raw_template"=>{"en"=>"Not published, so can't be found"}, "title"=>{"en"=>"Unpublished findable"}, "slug"=>{"en"=>"unpublished-findable"}, "site_id"=>"5354559524758018b8000002", "parent_id"=>"5354559524758018b8000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:17:44 UTC, "created_at"=>2014-04-20 23:17:44 UTC}] flags=[] (0.2639ms)
7319
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5354559524758018b8000002", "template_dependencies.en"=>{"$in"=>["5354559824758018b8000011"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4432ms)
7320
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5354559824758018b8000011"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3531ms)
7321
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5354559824758018b8000011"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1028ms)
7322
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7763ms)
7323
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5354559524758018b8000002", "parent_id"=>"5354559524758018b8000004", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5102ms)
7324
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5354559524758018b8000004", "site_id"=>"5354559524758018b8000002", "_id"=>{"$ne"=>"5354559824758018b8000012"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7639ms)
7325
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5354559524758018b8000004", "site_id"=>"5354559524758018b8000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5291ms)
7326
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5354559524758018b8000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5462ms)
7327
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5354559824758018b8000012", "parent_ids"=>["5354559524758018b8000004"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>false, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Even if it seems findable, it sound't be found because of the searchable flag"}, "title"=>{"en"=>"Seems findable"}, "slug"=>{"en"=>"seems-findable"}, "site_id"=>"5354559524758018b8000002", "parent_id"=>"5354559524758018b8000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:17:44 UTC, "created_at"=>2014-04-20 23:17:44 UTC}] flags=[] (0.2849ms)
7328
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5354559524758018b8000002", "template_dependencies.en"=>{"$in"=>["5354559824758018b8000012"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3829ms)
7329
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5354559824758018b8000012"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3850ms)
7330
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5354559824758018b8000012"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1190ms)
7331
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6657ms)
7332
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5354559524758018b8000002", "parent_id"=>"5354559524758018b8000004", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6099ms)
7333
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5354559524758018b8000004", "site_id"=>"5354559524758018b8000002", "_id"=>{"$ne"=>"5354559824758018b8000013"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (1.5051ms)
7334
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5354559524758018b8000004", "site_id"=>"5354559524758018b8000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.9699ms)
7335
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5354559524758018b8000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5429ms)
7336
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5354559824758018b8000013", "parent_ids"=>["5354559524758018b8000004"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>" <html>\n <body>\n {% search_for params.search, page: params.page, per_page: 2 %}\n * Total entries: {{ search.total_entries }}\n * Search results:\n <ul>\n {% for result in search.results %}\n {% if result.content_type_slug == 'examples' %}\n <li><a href=\"/examples/{{result._slug}}\">{{ result.name }}</a></li>\n {% else %}\n <li><a href=\"/{{result.fullpath}}\">{{ result.title }}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n {% endsearch_for %}\n </body>\n </html>\n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"5354559524758018b8000002", "parent_id"=>"5354559524758018b8000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1786>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:17:44 UTC, "created_at"=>2014-04-20 23:17:44 UTC}] flags=[] (0.3488ms)
7337
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5354559524758018b8000002", "template_dependencies.en"=>{"$in"=>["5354559824758018b8000013"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4218ms)
7338
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5354559824758018b8000013"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6030ms)
7339
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5354559824758018b8000013"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1872ms)
7340
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5354559524758018b8000002", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7989ms)
7341
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"5354559524758018b8000002"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4480ms)
7342
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"5354559524758018b8000004"} update={"$set"=>{"raw_template"=>{"en"=>"\n <form action=\"/{{ locale }}/search\" method=\"GET\">\n <label for=\"search\">Search</label>\n <input type=\"text\" name=\"search\" id=\"search\">\n <input type=\"submit\" value=\"Search\">\n </form>"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=371>}, "updated_at"=>2014-04-20 23:17:45 UTC}} flags=[] (0.1891ms)
7343
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5354559524758018b8000002", "template_dependencies.en"=>{"$in"=>["5354559524758018b8000004"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4749ms)
7344
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7389ms)
7345
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test2"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3707ms)
7346
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5354559a24758018b8000014", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2014-04-20 23:17:40 UTC, "updated_at"=>2014-04-20 23:17:46 UTC, "memberships"=>[{"_id"=>"5354559a24758018b8000015", "role"=>"admin", "account_id"=>"5354559524758018b8000001"}]}] flags=[] (0.1862ms)
7347
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5354559a24758018b8000014", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5171ms)
7348
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5354559a24758018b8000014", "_id"=>{"$ne"=>"5354559a24758018b8000016"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4773ms)
7349
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5354559a24758018b8000016", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"5354559a24758018b8000014", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:17:46 UTC, "created_at"=>2014-04-20 23:17:46 UTC}] flags=[] (0.2072ms)
7350
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5354559a24758018b8000014", "template_dependencies.en"=>{"$in"=>["5354559a24758018b8000016"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3340ms)
7351
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5354559a24758018b8000016"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4060ms)
7352
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5354559a24758018b8000016"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1123ms)
7353
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5354559a24758018b8000014", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5281ms)
7354
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5354559a24758018b8000014", "_id"=>{"$ne"=>"5354559b24758018b8000017"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7360ms)
7355
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5354559a24758018b8000014"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5667ms)
7356
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5354559b24758018b8000017", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"5354559a24758018b8000014", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:17:47 UTC, "created_at"=>2014-04-20 23:17:47 UTC}] flags=[] (0.2131ms)
7357
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5354559a24758018b8000014", "template_dependencies.en"=>{"$in"=>["5354559b24758018b8000017"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3321ms)
7358
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5354559b24758018b8000017"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3810ms)
7359
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5354559b24758018b8000017"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0992ms)
7360
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5354559a24758018b8000014", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5109ms)
7361
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5354559a24758018b8000014", "_id"=>{"$ne"=>"5354559b24758018b8000018"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7360ms)
7362
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5354559a24758018b8000014"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5567ms)
7363
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"_id"=>{"$in"=>[]}}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.2880ms)
7364
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5354559b24758018b8000018", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Rickroll"}, "title"=>{"en"=>"This should never show up in the search, even if it would be findable"}, "slug"=>{"en"=>"rickroll"}, "site_id"=>"5354559a24758018b8000014", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:17:47 UTC, "created_at"=>2014-04-20 23:17:47 UTC}] flags=[] (0.1929ms)
7365
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5354559a24758018b8000014", "template_dependencies.en"=>{"$in"=>["5354559b24758018b8000018"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4098ms)
7366
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5354559b24758018b8000018"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4768ms)
7367
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5354559b24758018b8000018"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1011ms)
7368
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5354559a24758018b8000014", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4199ms)
7369
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5354559c24758018b8000019", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5354559a24758018b8000014", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5354559c24758018b800001a", "updated_at"=>2014-04-20 23:17:48 UTC, "created_at"=>2014-04-20 23:17:48 UTC, "entries_custom_fields"=>[{"_id"=>"5354559c24758018b800001a", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}]}] flags=[] (0.2389ms)
7370
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5354559c24758018b800001b"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5354559c24758018b8000019"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5629ms)
7371
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5354559c24758018b8000019", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4601ms)
7372
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5354559c24758018b8000019"]}}} (0.5147ms)
7373
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5354559c24758018b800001b", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5354559c24758018b8000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5354559c24758018b8000019", "content_type_id"=>"5354559c24758018b8000019", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"5354559a24758018b8000014", "_translated"=>{"en"=>true}, "_label_field_name"=>"name", "updated_at"=>2014-04-20 23:17:48 UTC, "created_at"=>2014-04-20 23:17:48 UTC}] flags=[] (0.1910ms)
7374
+ Started GET "/locomotive" for 127.0.0.1 at 2014-04-21 01:17:50 +0200
7375
+ Processing by Locomotive::SessionsController#new as HTML
7376
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
7377
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (7.2348ms)
7378
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6859ms)
7379
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>{"$in"=>["5354559524758018b8000001"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (1.0262ms)
7380
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/sessions/new.html.haml within /locomotive/layouts/not_logged_in (21.7ms)
7381
+ Completed 200 OK in 55.0ms (Views: 39.0ms)
7382
+ Started GET "/assets/locomotive/not_logged_in.js" for 127.0.0.1 at 2014-04-21 01:17:50 +0200
7383
+ Served asset /locomotive/not_logged_in.js - 200 OK (16ms)
7384
+ Started GET "/assets/locomotive/not_logged_in.css" for 127.0.0.1 at 2014-04-21 01:17:50 +0200
7385
+ Served asset /locomotive/not_logged_in.css - 200 OK (15ms)
7386
+ Started GET "/assets/locomotive/background/body.png" for 127.0.0.1 at 2014-04-21 01:17:50 +0200
7387
+ Served asset /locomotive/background/body.png - 200 OK (2ms)
7388
+ Started POST "/locomotive/sign_in" for 127.0.0.1 at 2014-04-21 01:17:50 +0200
7389
+ Processing by Locomotive::SessionsController#create as HTML
7390
+ Parameters: {"utf8"=>"✓", "locomotive_account"=>{"remember_me"=>"true", "email"=>"admin@locomotiveapp.org", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
7391
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
7392
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6700ms)
7393
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>{"$in"=>["5354559524758018b8000001"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4258ms)
7394
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"email"=>"admin@locomotiveapp.org"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6289ms)
7395
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>"5354559524758018b8000001"} update={"$set"=>{"remember_created_at"=>2014-04-20 23:17:50 UTC, "updated_at"=>2014-04-20 23:17:50 UTC}} flags=[] (0.1831ms)
7396
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>"5354559524758018b8000001"} update={"$set"=>{"last_sign_in_at"=>2014-04-20 23:17:50 UTC, "current_sign_in_at"=>2014-04-20 23:17:50 UTC, "last_sign_in_ip"=>"127.0.0.1", "current_sign_in_ip"=>"127.0.0.1", "sign_in_count"=>1, "updated_at"=>2014-04-20 23:17:50 UTC}} flags=[] (0.1860ms)
7397
+ Redirected to http://test.example.com:7171/locomotive/pages
7398
+ Completed 302 Found in 22.6ms
7399
+ Started GET "/locomotive/pages" for 127.0.0.1 at 2014-04-21 01:17:50 +0200
7400
+ Processing by Locomotive::PagesController#index as HTML
7401
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
7402
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7041ms)
7403
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>"5354559524758018b8000001"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4401ms)
7404
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>{"$in"=>["5354559524758018b8000001"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4311ms)
7405
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5354559524758018b8000002"}, "$orderby"=>{"depth"=>1, "position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"serialized_template.en"=>0, "template_dependencies.en"=>0, "snippet_dependencies.en"=>0, "templatized_from_parent"=>0, "redirect_url.en"=>0, "redirect_type"=>0, "seo_title.en"=>0, "meta_keywords.en"=>0, "meta_description.en"=>0, "handle"=>0, "raw_template.en"=>0, "locales"=>0, "cache_strategy"=>0, "searchable"=>0} (1.2143ms)
7406
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5354559524758018b8000002"}, "$orderby"=>{"position"=>1, "updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields={"serialized_template.en"=>0, "template_dependencies.en"=>0, "snippet_dependencies.en"=>0, "templatized_from_parent"=>0, "redirect_url.en"=>0, "redirect_type"=>0, "seo_title.en"=>0, "meta_keywords.en"=>0, "meta_description.en"=>0, "handle"=>0, "raw_template.en"=>0, "locales"=>0, "cache_strategy"=>0, "searchable"=>0} (1.8280ms)
7407
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"5354559524758018b8000002"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"site_id"=>1, "name"=>1, "slug"=>1, "label_field_name"=>1} (0.8209ms)
7408
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"5354559524758018b8000002"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"site_id"=>1, "name"=>1, "slug"=>1, "label_field_name"=>1} (1.5497ms)
7409
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"5354559624758018b8000006"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (0.7508ms)
7410
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"5354559624758018b8000008"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (0.7689ms)
7411
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/menu/_contents.html.haml (37.5ms)
7412
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/actions/_contents.html.haml (2.9ms)
7413
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/pages/_page.html.haml (4.4ms)
7414
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/pages/_page.html.haml (11.9ms)
7415
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/pages/index.html.haml within /locomotive/layouts/application (70.1ms)
7416
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_main_app_head_before_backbone.html.haml (1.0ms)
7417
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships"=>{"$elemMatch"=>{:account_id=>"5354559524758018b8000001", :role=>:admin}}}} (0.5839ms)
7418
+ Rendered locomotive/shared/_main_app_head.html.haml (2.0ms)
7419
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_head.html.haml (15.4ms)
7420
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships.account_id"=>"5354559524758018b8000001"}} (0.5002ms)
7421
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/cells/locomotive/global_actions/show.html.haml (2.3ms)
7422
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"memberships.account_id"=>"5354559524758018b8000001"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7730ms)
7423
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_site_picker.html.haml (5.4ms)
7424
+ Rendered /Users/didier/Documents/LocomotiveCMS/gems/search/app/views/locomotive/shared/_search_bar.html.haml (8.0ms)
7425
+ Rendered locomotive/shared/_main_app_header.html.haml (10.7ms)
7426
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_header.html.haml (36.8ms)
7427
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/cells/locomotive/main_menu/show.html.haml (4.8ms)
7428
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_footer.html.haml (1.7ms)
7429
+ Completed 200 OK in 168.2ms (Views: 151.8ms)
7430
+ Started GET "/assets/locomotive.js" for 127.0.0.1 at 2014-04-21 01:17:51 +0200
7431
+ Compiled locomotive.js (215ms) (pid 18108)
7432
+ Served asset /locomotive.js - 200 OK (286ms)
7433
+ Started GET "/assets/locomotive.css" for 127.0.0.1 at 2014-04-21 01:17:51 +0200
7434
+ Compiled locomotive.css (93ms) (pid 18108)
7435
+ Served asset /locomotive.css - 200 OK (134ms)
7436
+ Started GET "/assets/locomotive/search_bar.js" for 127.0.0.1 at 2014-04-21 01:17:51 +0200
7437
+ Served asset /locomotive/search_bar.js - 200 OK (9ms)
7438
+ Started GET "/assets/locomotive/search_bar.css" for 127.0.0.1 at 2014-04-21 01:17:51 +0200
7439
+ Compiled locomotive/search_bar.css (1457ms) (pid 18108)
7440
+ Served asset /locomotive/search_bar.css - 200 OK (1465ms)
7441
+ Started GET "/assets/locomotive/nocoffee.png" for 127.0.0.1 at 2014-04-21 01:17:52 +0200
7442
+ Served asset /locomotive/nocoffee.png - 200 OK (2ms)
7443
+ Started GET "/assets/locomotive/plugins/sites_picker_top_arrow.png" for 127.0.0.1 at 2014-04-21 01:17:52 +0200
7444
+ Served asset /locomotive/plugins/sites_picker_top_arrow.png - 200 OK (3ms)
7445
+ Started GET "/assets/locomotive/list/item-left.png" for 127.0.0.1 at 2014-04-21 01:17:52 +0200
7446
+ Served asset /locomotive/list/item-left.png - 200 OK (4ms)
7447
+ Started GET "/locomotive/pages" for 127.0.0.1 at 2014-04-21 01:17:52 +0200
7448
+ Processing by Locomotive::PagesController#index as HTML
7449
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
7450
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6893ms)
7451
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>"5354559524758018b8000001"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3483ms)
7452
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>{"$in"=>["5354559524758018b8000001"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4480ms)
7453
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5354559524758018b8000002"}, "$orderby"=>{"depth"=>1, "position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"serialized_template.en"=>0, "template_dependencies.en"=>0, "snippet_dependencies.en"=>0, "templatized_from_parent"=>0, "redirect_url.en"=>0, "redirect_type"=>0, "seo_title.en"=>0, "meta_keywords.en"=>0, "meta_description.en"=>0, "handle"=>0, "raw_template.en"=>0, "locales"=>0, "cache_strategy"=>0, "searchable"=>0} (1.4291ms)
7454
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5354559524758018b8000002"}, "$orderby"=>{"position"=>1, "updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields={"serialized_template.en"=>0, "template_dependencies.en"=>0, "snippet_dependencies.en"=>0, "templatized_from_parent"=>0, "redirect_url.en"=>0, "redirect_type"=>0, "seo_title.en"=>0, "meta_keywords.en"=>0, "meta_description.en"=>0, "handle"=>0, "raw_template.en"=>0, "locales"=>0, "cache_strategy"=>0, "searchable"=>0} (1.0812ms)
7455
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"5354559524758018b8000002"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"site_id"=>1, "name"=>1, "slug"=>1, "label_field_name"=>1} (0.6051ms)
7456
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"5354559524758018b8000002"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"site_id"=>1, "name"=>1, "slug"=>1, "label_field_name"=>1} (0.3958ms)
7457
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"5354559624758018b8000006"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (0.8202ms)
7458
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"5354559624758018b8000008"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (0.8111ms)
7459
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/menu/_contents.html.haml (20.6ms)
7460
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/actions/_contents.html.haml (0.7ms)
7461
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/pages/_page.html.haml (4.9ms)
7462
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/pages/_page.html.haml (7.9ms)
7463
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/pages/index.html.haml within /locomotive/layouts/application (31.0ms)
7464
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_main_app_head_before_backbone.html.haml (0.0ms)
7465
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships"=>{"$elemMatch"=>{:account_id=>"5354559524758018b8000001", :role=>:admin}}}} (0.6709ms)
7466
+ Rendered locomotive/shared/_main_app_head.html.haml (0.7ms)
7467
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_head.html.haml (5.6ms)
7468
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships.account_id"=>"5354559524758018b8000001"}} (0.6549ms)
7469
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/cells/locomotive/global_actions/show.html.haml (2.1ms)
7470
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"memberships.account_id"=>"5354559524758018b8000001"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5879ms)
7471
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_site_picker.html.haml (2.5ms)
7472
+ Rendered /Users/didier/Documents/LocomotiveCMS/gems/search/app/views/locomotive/shared/_search_bar.html.haml (1.1ms)
7473
+ Rendered locomotive/shared/_main_app_header.html.haml (1.4ms)
7474
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_header.html.haml (16.6ms)
7475
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/cells/locomotive/main_menu/show.html.haml (2.0ms)
7476
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_footer.html.haml (0.8ms)
7477
+ Completed 200 OK in 79.8ms (Views: 62.4ms)
7478
+ Started GET "/locomotive/search.json?per_page=10&query=findable+" for 127.0.0.1 at 2014-04-21 01:17:53 +0200
7479
+ Processing by Locomotive::SearchController#index as JSON
7480
+ Parameters: {"per_page"=>"10", "query"=>"findable "}
7481
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
7482
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6988ms)
7483
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>"5354559524758018b8000001"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.8519ms)
7484
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>{"$in"=>["5354559524758018b8000001"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7401ms)
7485
+ Completed 200 OK in 466.2ms (Views: 1.0ms)
7486
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (1.0440ms)
7487
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (62.3128ms)
7488
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (10.7532ms)
7489
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (9.8412ms)
7490
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (9.0170ms)
7491
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (2.7378ms)
7492
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5081ms)
7493
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (1.0052ms)
7494
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"email"=>"admin@locomotiveapp.org"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4859ms)
7495
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"535455a324758018b800001c", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"b5148647c3a5d1021694b0676e4773e799f02bda", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"epGjyythwZR3s6ScBxCq", "api_key"=>"c02c272c54f7ca79d8b23b2076e08b27ae711b2e", "updated_at"=>2014-04-20 23:17:55 UTC, "created_at"=>2014-04-20 23:17:55 UTC}] flags=[] (0.2618ms)
7496
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.8202ms)
7497
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"535455a324758018b800001d", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2014-04-20 23:17:40 UTC, "updated_at"=>2014-04-20 23:17:55 UTC, "memberships"=>[{"_id"=>"535455a324758018b800001e", "role"=>"admin", "account_id"=>"535455a324758018b800001c"}]}] flags=[] (0.2189ms)
7498
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455a324758018b800001d", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.8819ms)
7499
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455a324758018b800001d", "_id"=>{"$ne"=>"535455a324758018b800001f"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5302ms)
7500
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455a324758018b800001f", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"535455a324758018b800001d", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:17:55 UTC, "created_at"=>2014-04-20 23:17:55 UTC}] flags=[] (0.2229ms)
7501
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455a324758018b800001d", "template_dependencies.en"=>{"$in"=>["535455a324758018b800001f"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5481ms)
7502
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455a324758018b800001f"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5150ms)
7503
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455a324758018b800001f"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1149ms)
7504
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455a324758018b800001d", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5639ms)
7505
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455a324758018b800001d", "_id"=>{"$ne"=>"535455a424758018b8000020"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8881ms)
7506
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455a324758018b800001d"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6461ms)
7507
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455a424758018b8000020", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"535455a324758018b800001d", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:17:56 UTC, "created_at"=>2014-04-20 23:17:56 UTC}] flags=[] (0.4029ms)
7508
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455a324758018b800001d", "template_dependencies.en"=>{"$in"=>["535455a424758018b8000020"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5848ms)
7509
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455a424758018b8000020"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4847ms)
7510
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455a424758018b8000020"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1309ms)
7511
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455a324758018b800001d", "slug"=>"authors"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.9520ms)
7512
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"535455a424758018b8000021", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Authors", "description"=>"The list of my projects", "site_id"=>"535455a324758018b800001d", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"authors", "order_by"=>"created_at", "label_field_name"=>"fullname", "label_field_id"=>"535455a424758018b8000022", "updated_at"=>2014-04-20 23:17:56 UTC, "created_at"=>2014-04-20 23:17:56 UTC, "entries_custom_fields"=>[{"_id"=>"535455a424758018b8000022", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Fullname", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"fullname"}]}] flags=[] (0.4139ms)
7513
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455a324758018b800001d", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4561ms)
7514
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455a424758018b8000021"} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6130ms)
7515
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"535455a424758018b8000023", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"535455a324758018b800001d", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"535455a424758018b8000024", "updated_at"=>2014-04-20 23:17:56 UTC, "created_at"=>2014-04-20 23:17:56 UTC, "entries_custom_fields"=>[{"_id"=>"535455a424758018b8000024", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}, {"_id"=>"535455a424758018b8000025", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Author", "type"=>"belongs_to", "class_name"=>"Locomotive::ContentEntry535455a424758018b8000021", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"author"}, {"_id"=>"535455a424758018b8000026", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Stuff", "type"=>"text", "searchable"=>false, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"stuff"}]}] flags=[] (0.3691ms)
7516
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455a324758018b800001d", "_id"=>"535455a424758018b8000021"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.9100ms)
7517
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455a424758018b8000023"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5770ms)
7518
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_type"=>{"$in"=>["Locomotive::ContentEntry535455a424758018b8000021"]}} update={"$set"=>{"_label_field_name"=>"fullname"}} flags=[:multi] (0.1631ms)
7519
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455a424758018b8000021"} update={"$set"=>{"updated_at"=>2014-04-20 23:17:56 UTC, "entries_custom_fields_version"=>1}, "$pushAll"=>{"entries_custom_fields"=>[{"_id"=>"535455a424758018b8000027", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Examples", "type"=>"has_many", "class_name"=>"Locomotive::ContentEntry535455a424758018b8000023", "inverse_of"=>"author", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"examples", "order_by"=>nil}]}} flags=[] (0.2408ms)
7520
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455a424758018b8000021"} update={"$set"=>{"custom_fields_recipe.rules"=>[{"name"=>"fullname", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"examples", "type"=>"has_many", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455a424758018b8000023", "inverse_of"=>"author", "order_by"=>nil}], "custom_fields_recipe.version"=>1}, "$unset"=>{}, "$rename"=>{}} flags={:multi=>true} (0.1540ms)
7521
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455a424758018b8000028"}, "_slug.en"=>"john-doe", "_type"=>{"$in"=>["Locomotive::ContentEntry535455a424758018b8000021"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (6.1781ms)
7522
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455a424758018b8000021", "$or"=>[{"_slug.en"=>"john-doe"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (3.6452ms)
7523
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455a424758018b8000021"]}}} (1.0779ms)
7524
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455a424758018b8000028", "_position"=>0, "_visible"=>true, "fullname"=>"John Doe", "custom_fields_recipe"=>{"name"=>"ContentEntry535455a424758018b8000021", "rules"=>[{"name"=>"fullname", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"examples", "type"=>"has_many", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455a424758018b8000023", "inverse_of"=>"author", "order_by"=>nil}], "version"=>1, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry535455a424758018b8000021", "content_type_id"=>"535455a424758018b8000021", "_slug"=>{"en"=>"john-doe"}, "site_id"=>"535455a324758018b800001d", "_translated"=>{"en"=>true}, "_label_field_name"=>"fullname", "updated_at"=>2014-04-20 23:17:56 UTC, "created_at"=>2014-04-20 23:17:56 UTC}] flags=[] (0.6330ms)
7525
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"author_id"=>"535455a424758018b8000028", "_type"=>{"$in"=>["Locomotive::ContentEntry535455a424758018b8000023"]}}, "$orderby"=>{"position_in_author"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7670ms)
7526
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455a424758018b8000029"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry535455a424758018b8000023"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6509ms)
7527
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455a424758018b8000023", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.7432ms)
7528
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455a424758018b8000023"]}}} (0.5541ms)
7529
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455a424758018b8000023"]}}} (0.4990ms)
7530
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455a424758018b8000029", "_position"=>0, "_visible"=>true, "position_in_author"=>1, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry535455a424758018b8000023", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"author", "type"=>"belongs_to", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455a424758018b8000021"}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "author_id"=>"535455a424758018b8000028", "_type"=>"Locomotive::ContentEntry535455a424758018b8000023", "content_type_id"=>"535455a424758018b8000023", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"535455a324758018b800001d", "_translated"=>{"en"=>true}, "_label_field_name"=>"name", "updated_at"=>2014-04-20 23:17:56 UTC, "created_at"=>2014-04-20 23:17:56 UTC}] flags=[] (0.2530ms)
7531
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455a524758018b800002a"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry535455a424758018b8000023"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4849ms)
7532
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455a424758018b8000023", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5350ms)
7533
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455a424758018b8000023"]}}} (0.4001ms)
7534
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455a424758018b8000023"]}}} (0.2799ms)
7535
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455a424758018b8000023"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.4420ms)
7536
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455a424758018b8000023"]}}} (0.2542ms)
7537
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455a424758018b8000023"]}, "position_in_author"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"position_in_author", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$position_in_author"}, "min"=>{"$min"=>"$position_in_author"}, "sum"=>{"$sum"=>"$position_in_author"}, "avg"=>{"$avg"=>"$position_in_author"}}}]} (0.3879ms)
7538
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455a524758018b800002a", "_position"=>1, "_visible"=>true, "position_in_author"=>2, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry535455a424758018b8000023", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"author", "type"=>"belongs_to", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455a424758018b8000021"}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry535455a424758018b8000023", "content_type_id"=>"535455a424758018b8000023", "_slug"=>{"en"=>"hidden"}, "site_id"=>"535455a324758018b800001d", "_translated"=>{"en"=>true}, "_label_field_name"=>"name", "updated_at"=>2014-04-20 23:17:57 UTC, "created_at"=>2014-04-20 23:17:57 UTC}] flags=[] (0.2229ms)
7539
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7160ms)
7540
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455a324758018b800001d", "parent_id"=>"535455a324758018b800001f", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5951ms)
7541
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455a324758018b800001f", "site_id"=>"535455a324758018b800001d", "_id"=>{"$ne"=>"535455a524758018b800002b"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5410ms)
7542
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455a324758018b800001f"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5488ms)
7543
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455a524758018b800002b", "parent_ids"=>["535455a324758018b800001f"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>"535455a324758018b800001d", "parent_id"=>"535455a324758018b800001f", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:17:57 UTC, "created_at"=>2014-04-20 23:17:57 UTC}] flags=[] (0.2460ms)
7544
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455a324758018b800001d", "template_dependencies.en"=>{"$in"=>["535455a524758018b800002b"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3488ms)
7545
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455a524758018b800002b"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4270ms)
7546
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455a524758018b800002b"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1261ms)
7547
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7222ms)
7548
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455a324758018b800001d", "parent_id"=>"535455a324758018b800001f", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4790ms)
7549
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455a324758018b800001f", "site_id"=>"535455a324758018b800001d", "_id"=>{"$ne"=>"535455a624758018b800002c"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6061ms)
7550
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455a324758018b800001f", "site_id"=>"535455a324758018b800001d"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4408ms)
7551
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455a324758018b800001f"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4668ms)
7552
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455a624758018b800002c", "parent_ids"=>["535455a324758018b800001f"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>false, "raw_template"=>{"en"=>"Not published, so can't be found"}, "title"=>{"en"=>"Unpublished findable"}, "slug"=>{"en"=>"unpublished-findable"}, "site_id"=>"535455a324758018b800001d", "parent_id"=>"535455a324758018b800001f", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:17:58 UTC, "created_at"=>2014-04-20 23:17:58 UTC}] flags=[] (0.2170ms)
7553
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455a324758018b800001d", "template_dependencies.en"=>{"$in"=>["535455a624758018b800002c"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3870ms)
7554
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455a624758018b800002c"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3488ms)
7555
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455a624758018b800002c"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1168ms)
7556
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5829ms)
7557
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455a324758018b800001d", "parent_id"=>"535455a324758018b800001f", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4921ms)
7558
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455a324758018b800001f", "site_id"=>"535455a324758018b800001d", "_id"=>{"$ne"=>"535455a624758018b800002d"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7770ms)
7559
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455a324758018b800001f", "site_id"=>"535455a324758018b800001d"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5550ms)
7560
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455a324758018b800001f"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6452ms)
7561
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455a624758018b800002d", "parent_ids"=>["535455a324758018b800001f"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>false, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Even if it seems findable, it sound't be found because of the searchable flag"}, "title"=>{"en"=>"Seems findable"}, "slug"=>{"en"=>"seems-findable"}, "site_id"=>"535455a324758018b800001d", "parent_id"=>"535455a324758018b800001f", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:17:58 UTC, "created_at"=>2014-04-20 23:17:58 UTC}] flags=[] (0.2260ms)
7562
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455a324758018b800001d", "template_dependencies.en"=>{"$in"=>["535455a624758018b800002d"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3591ms)
7563
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455a624758018b800002d"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3860ms)
7564
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455a624758018b800002d"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0961ms)
7565
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6051ms)
7566
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455a324758018b800001d", "parent_id"=>"535455a324758018b800001f", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5093ms)
7567
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455a324758018b800001f", "site_id"=>"535455a324758018b800001d", "_id"=>{"$ne"=>"535455a624758018b800002e"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8230ms)
7568
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455a324758018b800001f", "site_id"=>"535455a324758018b800001d"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5140ms)
7569
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455a324758018b800001f"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5171ms)
7570
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455a624758018b800002e", "parent_ids"=>["535455a324758018b800001f"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>" <html>\n <body>\n {% search_for params.search, page: params.page, per_page: 2 %}\n * Total entries: {{ search.total_entries }}\n * Search results:\n <ul>\n {% for result in search.results %}\n {% if result.content_type_slug == 'examples' %}\n <li><a href=\"/examples/{{result._slug}}\">{{ result.name }}</a></li>\n {% else %}\n <li><a href=\"/{{result.fullpath}}\">{{ result.title }}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n {% endsearch_for %}\n </body>\n </html>\n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"535455a324758018b800001d", "parent_id"=>"535455a324758018b800001f", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1786>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:17:58 UTC, "created_at"=>2014-04-20 23:17:58 UTC}] flags=[] (0.2370ms)
7571
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455a324758018b800001d", "template_dependencies.en"=>{"$in"=>["535455a624758018b800002e"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3822ms)
7572
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455a624758018b800002e"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4370ms)
7573
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455a624758018b800002e"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1020ms)
7574
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455a324758018b800001d", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6950ms)
7575
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"535455a324758018b800001d"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3347ms)
7576
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"535455a324758018b800001f"} update={"$set"=>{"raw_template"=>{"en"=>"\n <form action=\"/{{ locale }}/search\" method=\"GET\">\n <label for=\"search\">Search</label>\n <input type=\"text\" name=\"search\" id=\"search\">\n <input type=\"submit\" value=\"Search\">\n </form>"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=371>}, "updated_at"=>2014-04-20 23:17:59 UTC}} flags=[] (0.1810ms)
7577
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455a324758018b800001d", "template_dependencies.en"=>{"$in"=>["535455a324758018b800001f"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3767ms)
7578
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6309ms)
7579
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test2"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3548ms)
7580
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"535455a824758018b800002f", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2014-04-20 23:17:40 UTC, "updated_at"=>2014-04-20 23:18:00 UTC, "memberships"=>[{"_id"=>"535455a824758018b8000030", "role"=>"admin", "account_id"=>"535455a324758018b800001c"}]}] flags=[] (0.1581ms)
7581
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455a824758018b800002f", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5159ms)
7582
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455a824758018b800002f", "_id"=>{"$ne"=>"535455a824758018b8000031"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5341ms)
7583
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455a824758018b8000031", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"535455a824758018b800002f", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:00 UTC, "created_at"=>2014-04-20 23:18:00 UTC}] flags=[] (0.3221ms)
7584
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455a824758018b800002f", "template_dependencies.en"=>{"$in"=>["535455a824758018b8000031"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4480ms)
7585
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455a824758018b8000031"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3471ms)
7586
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455a824758018b8000031"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1040ms)
7587
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455a824758018b800002f", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5701ms)
7588
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455a824758018b800002f", "_id"=>{"$ne"=>"535455a824758018b8000032"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7463ms)
7589
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455a824758018b800002f"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (1.2271ms)
7590
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455a824758018b8000032", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"535455a824758018b800002f", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:00 UTC, "created_at"=>2014-04-20 23:18:00 UTC}] flags=[] (0.3979ms)
7591
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455a824758018b800002f", "template_dependencies.en"=>{"$in"=>["535455a824758018b8000032"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3839ms)
7592
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455a824758018b8000032"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4742ms)
7593
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455a824758018b8000032"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.2289ms)
7594
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455a824758018b800002f", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5200ms)
7595
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455a824758018b800002f", "_id"=>{"$ne"=>"535455a824758018b8000033"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.9370ms)
7596
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455a824758018b800002f"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5932ms)
7597
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"_id"=>{"$in"=>[]}}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.2999ms)
7598
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455a824758018b8000033", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Rickroll"}, "title"=>{"en"=>"This should never show up in the search, even if it would be findable"}, "slug"=>{"en"=>"rickroll"}, "site_id"=>"535455a824758018b800002f", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:00 UTC, "created_at"=>2014-04-20 23:18:00 UTC}] flags=[] (0.2649ms)
7599
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455a824758018b800002f", "template_dependencies.en"=>{"$in"=>["535455a824758018b8000033"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3712ms)
7600
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455a824758018b8000033"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3991ms)
7601
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455a824758018b8000033"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1211ms)
7602
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455a824758018b800002f", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5159ms)
7603
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"535455a924758018b8000034", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"535455a824758018b800002f", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"535455a924758018b8000035", "updated_at"=>2014-04-20 23:18:01 UTC, "created_at"=>2014-04-20 23:18:01 UTC, "entries_custom_fields"=>[{"_id"=>"535455a924758018b8000035", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}]}] flags=[] (0.2260ms)
7604
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455a924758018b8000036"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry535455a924758018b8000034"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5050ms)
7605
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455a924758018b8000034", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4697ms)
7606
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455a924758018b8000034"]}}} (0.4802ms)
7607
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455a924758018b8000036", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry535455a924758018b8000034", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry535455a924758018b8000034", "content_type_id"=>"535455a924758018b8000034", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"535455a824758018b800002f", "_translated"=>{"en"=>true}, "_label_field_name"=>"name", "updated_at"=>2014-04-20 23:18:01 UTC, "created_at"=>2014-04-20 23:18:01 UTC}] flags=[] (0.3009ms)
7608
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455a424758018b8000029"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry535455a424758018b8000023"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4890ms)
7609
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455a524758018b800002a"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry535455a424758018b8000023"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4809ms)
7610
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455a424758018b8000021"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6993ms)
7611
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_type"=>{"$in"=>["Locomotive::ContentEntry535455a424758018b8000023"]}} update={"$set"=>{"_label_field_name"=>"name"}} flags=[:multi] (0.1721ms)
7612
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455a424758018b8000023"} update={"$set"=>{"updated_at"=>2014-04-20 23:18:01 UTC, "entries_custom_fields_version"=>1, "entries_custom_fields.2.searchable"=>true}} flags=[] (0.1121ms)
7613
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455a424758018b8000023"} update={"$set"=>{"custom_fields_recipe.rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"author", "type"=>"belongs_to", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455a424758018b8000021"}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "custom_fields_recipe.version"=>1}, "$unset"=>{}, "$rename"=>{}} flags={:multi=>true} (0.1569ms)
7614
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455a324758018b800001d", "_id"=>"535455a424758018b8000021"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6561ms)
7615
+ Started GET "/" for 127.0.0.1 at 2014-04-21 01:18:02 +0200
7616
+ Processing by Locomotive::Public::PagesController#show as HTML
7617
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7618
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6931ms)
7619
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455a324758018b800001d", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8340ms)
7620
+ Rendered text template (0.0ms)
7621
+ Completed 200 OK in 9.2ms (Views: 2.7ms)
7622
+ Started GET "/en/search?search=stuff" for 127.0.0.1 at 2014-04-21 01:18:02 +0200
7623
+ Processing by Locomotive::Public::PagesController#show as HTML
7624
+ Parameters: {"search"=>"stuff", "locale"=>"en", "path"=>"search"}
7625
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7626
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6611ms)
7627
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455a324758018b800001d", "depth"=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (1.3561ms)
7628
+ Rendered text template (0.0ms)
7629
+ Completed 200 OK in 441.0ms (Views: 0.6ms)
7630
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455a424758018b8000023"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6061ms)
7631
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455a424758018b8000023", "updated_at"=>{"$lt"=>2014-04-20 23:18:01 UTC}, "_type"=>{"$in"=>["Locomotive::ContentEntry535455a424758018b8000023"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7894ms)
7632
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"535455a324758018b800001d"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4671ms)
7633
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"_id"=>"535455a424758018b8000023"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5460ms)
7634
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>"535455a424758018b8000029"} update={"$set"=>{"updated_at"=>2014-04-20 23:18:02 UTC}} flags=[] (0.1481ms)
7635
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"_id"=>"535455a424758018b8000028", "_type"=>{"$in"=>["Locomotive::ContentEntry535455a424758018b8000021"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7823ms)
7636
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"535455a324758018b800001d"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6051ms)
7637
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"_id"=>"535455a424758018b8000023"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6411ms)
7638
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>"535455a524758018b800002a"} update={"$set"=>{"updated_at"=>2014-04-20 23:18:03 UTC}} flags=[] (0.1462ms)
7639
+ Started GET "/" for 127.0.0.1 at 2014-04-21 01:18:03 +0200
7640
+ Processing by Locomotive::Public::PagesController#show as HTML
7641
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7642
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5944ms)
7643
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455a324758018b800001d", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5367ms)
7644
+ Rendered text template (0.0ms)
7645
+ Completed 200 OK in 4.7ms (Views: 0.4ms)
7646
+ Started GET "/en/search?search=stuff" for 127.0.0.1 at 2014-04-21 01:18:03 +0200
7647
+ Processing by Locomotive::Public::PagesController#show as HTML
7648
+ Parameters: {"search"=>"stuff", "locale"=>"en", "path"=>"search"}
7649
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7650
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6201ms)
7651
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455a324758018b800001d", "depth"=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6499ms)
7652
+ Rendered text template (0.0ms)
7653
+ Completed 200 OK in 446.0ms (Views: 0.5ms)
7654
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6592ms)
7655
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (1.5001ms)
7656
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (1.4880ms)
7657
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (1.3011ms)
7658
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (0.9050ms)
7659
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (1.0049ms)
7660
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4210ms)
7661
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (1.9991ms)
7662
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"email"=>"admin@locomotiveapp.org"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (1.0140ms)
7663
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"535455ac24758018b8000037", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"8eadb0b01471ddcb82a465f06d48f4fdace3d85b", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"6fs8rjNMybryqGsGjXxj", "api_key"=>"1071ed9046fcac07265fe00520860644d9c6376a", "updated_at"=>2014-04-20 23:18:04 UTC, "created_at"=>2014-04-20 23:18:04 UTC}] flags=[] (0.1709ms)
7664
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.8280ms)
7665
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"535455ac24758018b8000038", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2014-04-20 23:17:40 UTC, "updated_at"=>2014-04-20 23:18:04 UTC, "memberships"=>[{"_id"=>"535455ac24758018b8000039", "role"=>"admin", "account_id"=>"535455ac24758018b8000037"}]}] flags=[] (0.2491ms)
7666
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455ac24758018b8000038", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (1.2910ms)
7667
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455ac24758018b8000038", "_id"=>{"$ne"=>"535455ac24758018b800003a"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7522ms)
7668
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455ac24758018b800003a", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"535455ac24758018b8000038", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:04 UTC, "created_at"=>2014-04-20 23:18:04 UTC}] flags=[] (0.2952ms)
7669
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455ac24758018b8000038", "template_dependencies.en"=>{"$in"=>["535455ac24758018b800003a"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (6.1100ms)
7670
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455ac24758018b800003a"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (6.1572ms)
7671
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455ac24758018b800003a"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1433ms)
7672
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455ac24758018b8000038", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6332ms)
7673
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455ac24758018b8000038", "_id"=>{"$ne"=>"535455ad24758018b800003b"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7868ms)
7674
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455ac24758018b8000038"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5853ms)
7675
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455ad24758018b800003b", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"535455ac24758018b8000038", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:05 UTC, "created_at"=>2014-04-20 23:18:05 UTC}] flags=[] (0.2329ms)
7676
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455ac24758018b8000038", "template_dependencies.en"=>{"$in"=>["535455ad24758018b800003b"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4542ms)
7677
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455ad24758018b800003b"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3603ms)
7678
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455ad24758018b800003b"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1111ms)
7679
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455ac24758018b8000038", "slug"=>"authors"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.8121ms)
7680
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"535455ad24758018b800003c", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Authors", "description"=>"The list of my projects", "site_id"=>"535455ac24758018b8000038", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"authors", "order_by"=>"created_at", "label_field_name"=>"fullname", "label_field_id"=>"535455ad24758018b800003d", "updated_at"=>2014-04-20 23:18:05 UTC, "created_at"=>2014-04-20 23:18:05 UTC, "entries_custom_fields"=>[{"_id"=>"535455ad24758018b800003d", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Fullname", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"fullname"}]}] flags=[] (0.2360ms)
7681
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455ac24758018b8000038", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6781ms)
7682
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455ad24758018b800003c"} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4821ms)
7683
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"535455ad24758018b800003e", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"535455ac24758018b8000038", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"535455ad24758018b800003f", "updated_at"=>2014-04-20 23:18:05 UTC, "created_at"=>2014-04-20 23:18:05 UTC, "entries_custom_fields"=>[{"_id"=>"535455ad24758018b800003f", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}, {"_id"=>"535455ad24758018b8000040", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Author", "type"=>"belongs_to", "class_name"=>"Locomotive::ContentEntry535455ad24758018b800003c", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"author"}, {"_id"=>"535455ad24758018b8000041", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Stuff", "type"=>"text", "searchable"=>false, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"stuff"}]}] flags=[] (0.4408ms)
7684
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455ac24758018b8000038", "_id"=>"535455ad24758018b800003c"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.9937ms)
7685
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455ad24758018b800003e"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6533ms)
7686
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_type"=>{"$in"=>["Locomotive::ContentEntry535455ad24758018b800003c"]}} update={"$set"=>{"_label_field_name"=>"fullname"}} flags=[:multi] (0.2019ms)
7687
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455ad24758018b800003c"} update={"$set"=>{"updated_at"=>2014-04-20 23:18:05 UTC, "entries_custom_fields_version"=>1}, "$pushAll"=>{"entries_custom_fields"=>[{"_id"=>"535455ad24758018b8000042", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Examples", "type"=>"has_many", "class_name"=>"Locomotive::ContentEntry535455ad24758018b800003e", "inverse_of"=>"author", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"examples", "order_by"=>nil}]}} flags=[] (0.1662ms)
7688
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455ad24758018b800003c"} update={"$set"=>{"custom_fields_recipe.rules"=>[{"name"=>"fullname", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"examples", "type"=>"has_many", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455ad24758018b800003e", "inverse_of"=>"author", "order_by"=>nil}], "custom_fields_recipe.version"=>1}, "$unset"=>{}, "$rename"=>{}} flags={:multi=>true} (0.2542ms)
7689
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455ad24758018b8000043"}, "_slug.en"=>"john-doe", "_type"=>{"$in"=>["Locomotive::ContentEntry535455ad24758018b800003c"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6549ms)
7690
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455ad24758018b800003c", "$or"=>[{"_slug.en"=>"john-doe"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5178ms)
7691
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455ad24758018b800003c"]}}} (0.4849ms)
7692
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455ad24758018b8000043", "_position"=>0, "_visible"=>true, "fullname"=>"John Doe", "custom_fields_recipe"=>{"name"=>"ContentEntry535455ad24758018b800003c", "rules"=>[{"name"=>"fullname", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"examples", "type"=>"has_many", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455ad24758018b800003e", "inverse_of"=>"author", "order_by"=>nil}], "version"=>1, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry535455ad24758018b800003c", "content_type_id"=>"535455ad24758018b800003c", "_slug"=>{"en"=>"john-doe"}, "site_id"=>"535455ac24758018b8000038", "_translated"=>{"en"=>true}, "_label_field_name"=>"fullname", "updated_at"=>2014-04-20 23:18:05 UTC, "created_at"=>2014-04-20 23:18:05 UTC}] flags=[] (0.2460ms)
7693
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"author_id"=>"535455ad24758018b8000043", "_type"=>{"$in"=>["Locomotive::ContentEntry535455ad24758018b800003e"]}}, "$orderby"=>{"position_in_author"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4790ms)
7694
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455ad24758018b8000044"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry535455ad24758018b800003e"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7212ms)
7695
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455ad24758018b800003e", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4768ms)
7696
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455ad24758018b800003e"]}}} (0.5610ms)
7697
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455ad24758018b800003e"]}}} (0.3510ms)
7698
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455ad24758018b8000044", "_position"=>0, "_visible"=>true, "position_in_author"=>1, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry535455ad24758018b800003e", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"author", "type"=>"belongs_to", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455ad24758018b800003c"}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "author_id"=>"535455ad24758018b8000043", "_type"=>"Locomotive::ContentEntry535455ad24758018b800003e", "content_type_id"=>"535455ad24758018b800003e", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"535455ac24758018b8000038", "_translated"=>{"en"=>true}, "_label_field_name"=>"name", "updated_at"=>2014-04-20 23:18:05 UTC, "created_at"=>2014-04-20 23:18:05 UTC}] flags=[] (0.3960ms)
7699
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455ae24758018b8000045"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry535455ad24758018b800003e"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5341ms)
7700
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455ad24758018b800003e", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4721ms)
7701
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455ad24758018b800003e"]}}} (0.3760ms)
7702
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455ad24758018b800003e"]}}} (0.2329ms)
7703
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455ad24758018b800003e"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.4430ms)
7704
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455ad24758018b800003e"]}}} (0.2530ms)
7705
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455ad24758018b800003e"]}, "position_in_author"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"position_in_author", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$position_in_author"}, "min"=>{"$min"=>"$position_in_author"}, "sum"=>{"$sum"=>"$position_in_author"}, "avg"=>{"$avg"=>"$position_in_author"}}}]} (0.4489ms)
7706
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455ae24758018b8000045", "_position"=>1, "_visible"=>true, "position_in_author"=>2, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry535455ad24758018b800003e", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"author", "type"=>"belongs_to", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455ad24758018b800003c"}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry535455ad24758018b800003e", "content_type_id"=>"535455ad24758018b800003e", "_slug"=>{"en"=>"hidden"}, "site_id"=>"535455ac24758018b8000038", "_translated"=>{"en"=>true}, "_label_field_name"=>"name", "updated_at"=>2014-04-20 23:18:06 UTC, "created_at"=>2014-04-20 23:18:06 UTC}] flags=[] (0.1979ms)
7707
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7420ms)
7708
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455ac24758018b8000038", "parent_id"=>"535455ac24758018b800003a", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5291ms)
7709
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455ac24758018b800003a", "site_id"=>"535455ac24758018b8000038", "_id"=>{"$ne"=>"535455af24758018b8000046"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6430ms)
7710
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455ac24758018b800003a"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8550ms)
7711
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455af24758018b8000046", "parent_ids"=>["535455ac24758018b800003a"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>"535455ac24758018b8000038", "parent_id"=>"535455ac24758018b800003a", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:07 UTC, "created_at"=>2014-04-20 23:18:07 UTC}] flags=[] (0.2451ms)
7712
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455ac24758018b8000038", "template_dependencies.en"=>{"$in"=>["535455af24758018b8000046"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3481ms)
7713
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455af24758018b8000046"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3593ms)
7714
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455af24758018b8000046"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1168ms)
7715
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7329ms)
7716
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455ac24758018b8000038", "parent_id"=>"535455ac24758018b800003a", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5450ms)
7717
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455ac24758018b800003a", "site_id"=>"535455ac24758018b8000038", "_id"=>{"$ne"=>"535455af24758018b8000047"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7119ms)
7718
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455ac24758018b800003a", "site_id"=>"535455ac24758018b8000038"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5083ms)
7719
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455ac24758018b800003a"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5381ms)
7720
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455af24758018b8000047", "parent_ids"=>["535455ac24758018b800003a"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>false, "raw_template"=>{"en"=>"Not published, so can't be found"}, "title"=>{"en"=>"Unpublished findable"}, "slug"=>{"en"=>"unpublished-findable"}, "site_id"=>"535455ac24758018b8000038", "parent_id"=>"535455ac24758018b800003a", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:07 UTC, "created_at"=>2014-04-20 23:18:07 UTC}] flags=[] (0.2298ms)
7721
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455ac24758018b8000038", "template_dependencies.en"=>{"$in"=>["535455af24758018b8000047"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3488ms)
7722
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455af24758018b8000047"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3757ms)
7723
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455af24758018b8000047"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1180ms)
7724
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6008ms)
7725
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455ac24758018b8000038", "parent_id"=>"535455ac24758018b800003a", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4692ms)
7726
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455ac24758018b800003a", "site_id"=>"535455ac24758018b8000038", "_id"=>{"$ne"=>"535455af24758018b8000048"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8209ms)
7727
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455ac24758018b800003a", "site_id"=>"535455ac24758018b8000038"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5009ms)
7728
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455ac24758018b800003a"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4694ms)
7729
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455af24758018b8000048", "parent_ids"=>["535455ac24758018b800003a"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>false, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Even if it seems findable, it sound't be found because of the searchable flag"}, "title"=>{"en"=>"Seems findable"}, "slug"=>{"en"=>"seems-findable"}, "site_id"=>"535455ac24758018b8000038", "parent_id"=>"535455ac24758018b800003a", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:07 UTC, "created_at"=>2014-04-20 23:18:07 UTC}] flags=[] (0.1898ms)
7730
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455ac24758018b8000038", "template_dependencies.en"=>{"$in"=>["535455af24758018b8000048"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3288ms)
7731
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455af24758018b8000048"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3898ms)
7732
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455af24758018b8000048"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0923ms)
7733
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5929ms)
7734
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455ac24758018b8000038", "parent_id"=>"535455ac24758018b800003a", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5088ms)
7735
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455ac24758018b800003a", "site_id"=>"535455ac24758018b8000038", "_id"=>{"$ne"=>"535455af24758018b8000049"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7539ms)
7736
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455ac24758018b800003a", "site_id"=>"535455ac24758018b8000038"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4420ms)
7737
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455ac24758018b800003a"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5338ms)
7738
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455af24758018b8000049", "parent_ids"=>["535455ac24758018b800003a"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>" <html>\n <body>\n {% search_for params.search, page: params.page, per_page: 2 %}\n * Total entries: {{ search.total_entries }}\n * Search results:\n <ul>\n {% for result in search.results %}\n {% if result.content_type_slug == 'examples' %}\n <li><a href=\"/examples/{{result._slug}}\">{{ result.name }}</a></li>\n {% else %}\n <li><a href=\"/{{result.fullpath}}\">{{ result.title }}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n {% endsearch_for %}\n </body>\n </html>\n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"535455ac24758018b8000038", "parent_id"=>"535455ac24758018b800003a", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1786>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:07 UTC, "created_at"=>2014-04-20 23:18:07 UTC}] flags=[] (0.2549ms)
7739
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455ac24758018b8000038", "template_dependencies.en"=>{"$in"=>["535455af24758018b8000049"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3202ms)
7740
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455af24758018b8000049"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3610ms)
7741
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455af24758018b8000049"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0970ms)
7742
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455ac24758018b8000038", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7951ms)
7743
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"535455ac24758018b8000038"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4458ms)
7744
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"535455ac24758018b800003a"} update={"$set"=>{"raw_template"=>{"en"=>"\n <form action=\"/{{ locale }}/search\" method=\"GET\">\n <label for=\"search\">Search</label>\n <input type=\"text\" name=\"search\" id=\"search\">\n <input type=\"submit\" value=\"Search\">\n </form>"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=371>}, "updated_at"=>2014-04-20 23:18:08 UTC}} flags=[] (0.1810ms)
7745
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455ac24758018b8000038", "template_dependencies.en"=>{"$in"=>["535455ac24758018b800003a"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4382ms)
7746
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7789ms)
7747
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test2"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6011ms)
7748
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"535455b124758018b800004a", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2014-04-20 23:17:40 UTC, "updated_at"=>2014-04-20 23:18:09 UTC, "memberships"=>[{"_id"=>"535455b124758018b800004b", "role"=>"admin", "account_id"=>"535455ac24758018b8000037"}]}] flags=[] (0.2198ms)
7749
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455b124758018b800004a", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.7298ms)
7750
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455b124758018b800004a", "_id"=>{"$ne"=>"535455b124758018b800004c"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7210ms)
7751
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455b124758018b800004c", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"535455b124758018b800004a", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:09 UTC, "created_at"=>2014-04-20 23:18:09 UTC}] flags=[] (0.4077ms)
7752
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455b124758018b800004a", "template_dependencies.en"=>{"$in"=>["535455b124758018b800004c"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8240ms)
7753
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455b124758018b800004c"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6530ms)
7754
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455b124758018b800004c"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.2058ms)
7755
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455b124758018b800004a", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5641ms)
7756
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455b124758018b800004a", "_id"=>{"$ne"=>"535455b124758018b800004d"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.9630ms)
7757
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455b124758018b800004a"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5419ms)
7758
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455b124758018b800004d", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"535455b124758018b800004a", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:09 UTC, "created_at"=>2014-04-20 23:18:09 UTC}] flags=[] (0.3779ms)
7759
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455b124758018b800004a", "template_dependencies.en"=>{"$in"=>["535455b124758018b800004d"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4570ms)
7760
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455b124758018b800004d"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3641ms)
7761
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455b124758018b800004d"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1159ms)
7762
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455b124758018b800004a", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4671ms)
7763
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455b124758018b800004a", "_id"=>{"$ne"=>"535455b124758018b800004e"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7181ms)
7764
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455b124758018b800004a"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4530ms)
7765
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"_id"=>{"$in"=>[]}}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3381ms)
7766
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455b124758018b800004e", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Rickroll"}, "title"=>{"en"=>"This should never show up in the search, even if it would be findable"}, "slug"=>{"en"=>"rickroll"}, "site_id"=>"535455b124758018b800004a", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:09 UTC, "created_at"=>2014-04-20 23:18:09 UTC}] flags=[] (0.2024ms)
7767
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455b124758018b800004a", "template_dependencies.en"=>{"$in"=>["535455b124758018b800004e"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3247ms)
7768
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455b124758018b800004e"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3729ms)
7769
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455b124758018b800004e"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0908ms)
7770
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455b124758018b800004a", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5119ms)
7771
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"535455b224758018b800004f", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"535455b124758018b800004a", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"535455b224758018b8000050", "updated_at"=>2014-04-20 23:18:10 UTC, "created_at"=>2014-04-20 23:18:10 UTC, "entries_custom_fields"=>[{"_id"=>"535455b224758018b8000050", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}]}] flags=[] (0.2322ms)
7772
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455b224758018b8000051"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry535455b224758018b800004f"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6232ms)
7773
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455b224758018b800004f", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4742ms)
7774
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455b224758018b800004f"]}}} (0.4730ms)
7775
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455b224758018b8000051", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry535455b224758018b800004f", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry535455b224758018b800004f", "content_type_id"=>"535455b224758018b800004f", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"535455b124758018b800004a", "_translated"=>{"en"=>true}, "_label_field_name"=>"name", "updated_at"=>2014-04-20 23:18:10 UTC, "created_at"=>2014-04-20 23:18:10 UTC}] flags=[] (0.1838ms)
7776
+ Started GET "/" for 127.0.0.1 at 2014-04-21 01:18:11 +0200
7777
+ Processing by Locomotive::Public::PagesController#show as HTML
7778
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7779
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7522ms)
7780
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455ac24758018b8000038", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6731ms)
7781
+ Rendered text template (0.0ms)
7782
+ Completed 200 OK in 5.9ms (Views: 0.5ms)
7783
+ Started GET "/en/search?search=findable" for 127.0.0.1 at 2014-04-21 01:18:11 +0200
7784
+ Processing by Locomotive::Public::PagesController#show as HTML
7785
+ Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"}
7786
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7787
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6800ms)
7788
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455ac24758018b8000038", "depth"=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5629ms)
7789
+ Rendered text template (0.0ms)
7790
+ Completed 200 OK in 463.3ms (Views: 0.6ms)
7791
+ Started GET "/findable" for 127.0.0.1 at 2014-04-21 01:18:11 +0200
7792
+ Processing by Locomotive::Public::PagesController#show as HTML
7793
+ Parameters: {"path"=>"findable"}
7794
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7795
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5541ms)
7796
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455ac24758018b8000038", "depth"=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5620ms)
7797
+ Rendered text template (0.0ms)
7798
+ Completed 200 OK in 3.9ms (Views: 0.3ms)
7799
+ Started GET "/" for 127.0.0.1 at 2014-04-21 01:18:11 +0200
7800
+ Processing by Locomotive::Public::PagesController#show as HTML
7801
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7802
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7000ms)
7803
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455ac24758018b8000038", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6351ms)
7804
+ Rendered text template (0.0ms)
7805
+ Completed 200 OK in 4.4ms (Views: 0.3ms)
7806
+ Started GET "/en/search?search=not+found" for 127.0.0.1 at 2014-04-21 01:18:11 +0200
7807
+ Processing by Locomotive::Public::PagesController#show as HTML
7808
+ Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"}
7809
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7810
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5591ms)
7811
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455ac24758018b8000038", "depth"=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5338ms)
7812
+ Rendered text template (0.0ms)
7813
+ Completed 200 OK in 439.8ms (Views: 0.4ms)
7814
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6342ms)
7815
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (1.4052ms)
7816
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (1.3182ms)
7817
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (1.3058ms)
7818
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (0.9179ms)
7819
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (0.9689ms)
7820
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8271ms)
7821
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5200ms)
7822
+ Creating scope :root. Overwriting existing method Locomotive::Page.root.
7823
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5069ms)
7824
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=system.indexes documents=[{:ns=>"locomotive_search_test.active_search_mongoid_indices", :key=>{:content=>"text", :locale=>1}, :name=>"content_text_locale_1"}] flags=[] (0.1080ms)
7825
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=system.indexes documents=[{:unique=>true, :ns=>"locomotive_search_test.active_search_mongoid_indices", :key=>{:original_type=>1, :original_id=>1, :locale=>1}, :name=>"original_type_1_original_id_1_locale_1"}] flags=[] (0.2198ms)
7826
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (22.2409ms)
7827
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"email"=>"admin@locomotiveapp.org"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4599ms)
7828
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"535455bb247580fd61000001", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"92620930a41001bb1318f3a79857d174e0035346", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"eHjCLJfBUWy6sa6UdkSc", "api_key"=>"09a80c44c3fdbfc55979edeea01cc9b5a063f939", "updated_at"=>2014-04-20 23:18:19 UTC, "created_at"=>2014-04-20 23:18:19 UTC}] flags=[] (0.1321ms)
7829
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.7129ms)
7830
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"535455bb247580fd61000002", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2014-04-20 23:18:19 UTC, "updated_at"=>2014-04-20 23:18:19 UTC, "memberships"=>[{"_id"=>"535455bb247580fd61000003", "role"=>"admin", "account_id"=>"535455bb247580fd61000001"}]}] flags=[] (0.1590ms)
7831
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bb247580fd61000002", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.7749ms)
7832
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455bb247580fd61000002", "_id"=>{"$ne"=>"535455bb247580fd61000004"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5379ms)
7833
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bb247580fd61000004", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"535455bb247580fd61000002", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:19 UTC, "created_at"=>2014-04-20 23:18:19 UTC}] flags=[] (0.3080ms)
7834
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bb247580fd61000004"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (6.8109ms)
7835
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bb247580fd61000002", "template_dependencies.en"=>{"$in"=>["535455bb247580fd61000004"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3371ms)
7836
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bb247580fd61000004"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1249ms)
7837
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455bb247580fd61000004", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4258ms)
7838
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bb247580fd61000005", "stored"=>{:title=>"Home page", :searchable_content=>"Content of the home page", :search_type=>"page", :label=>"Home page", :site_id=>"535455bb247580fd61000002", :fullpath=>"index"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455bb247580fd61000004", "locale"=>"en", "language"=>"english", "content"=>["Home page", "Content of the home page"]}] flags=[] (0.1678ms)
7839
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bb247580fd61000002", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (2.2228ms)
7840
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455bb247580fd61000002", "_id"=>{"$ne"=>"535455bb247580fd61000006"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8750ms)
7841
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455bb247580fd61000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4909ms)
7842
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bb247580fd61000006", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"535455bb247580fd61000002", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:19 UTC, "created_at"=>2014-04-20 23:18:19 UTC}] flags=[] (0.1781ms)
7843
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bb247580fd61000002", "template_dependencies.en"=>{"$in"=>["535455bb247580fd61000006"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4859ms)
7844
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bb247580fd61000006"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3867ms)
7845
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bb247580fd61000006"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0949ms)
7846
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455bb247580fd61000002", "slug"=>"authors"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5040ms)
7847
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"535455bb247580fd61000007", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Authors", "description"=>"The list of my projects", "site_id"=>"535455bb247580fd61000002", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"authors", "order_by"=>"created_at", "label_field_name"=>"fullname", "label_field_id"=>"535455bb247580fd61000008", "updated_at"=>2014-04-20 23:18:19 UTC, "created_at"=>2014-04-20 23:18:19 UTC, "entries_custom_fields"=>[{"_id"=>"535455bb247580fd61000008", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Fullname", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"fullname"}]}] flags=[] (0.3519ms)
7848
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455bb247580fd61000002", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4249ms)
7849
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455bb247580fd61000007"} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5336ms)
7850
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"535455bb247580fd61000009", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"535455bb247580fd61000002", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"535455bb247580fd6100000a", "updated_at"=>2014-04-20 23:18:19 UTC, "created_at"=>2014-04-20 23:18:19 UTC, "entries_custom_fields"=>[{"_id"=>"535455bb247580fd6100000a", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}, {"_id"=>"535455bb247580fd6100000b", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Author", "type"=>"belongs_to", "class_name"=>"Locomotive::ContentEntry535455bb247580fd61000007", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"author"}, {"_id"=>"535455bb247580fd6100000c", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Stuff", "type"=>"text", "searchable"=>false, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"stuff"}]}] flags=[] (0.8311ms)
7851
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455bb247580fd61000002", "_id"=>"535455bb247580fd61000007"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6459ms)
7852
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455bb247580fd61000009"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6859ms)
7853
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_type"=>{"$in"=>["Locomotive::ContentEntry535455bb247580fd61000007"]}} update={"$set"=>{"_label_field_name"=>"fullname"}} flags=[:multi] (0.1528ms)
7854
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455bb247580fd61000007"} update={"$set"=>{"updated_at"=>2014-04-20 23:18:19 UTC, "entries_custom_fields_version"=>1}, "$pushAll"=>{"entries_custom_fields"=>[{"_id"=>"535455bb247580fd6100000d", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Examples", "type"=>"has_many", "class_name"=>"Locomotive::ContentEntry535455bb247580fd61000009", "inverse_of"=>"author", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"examples", "order_by"=>nil}]}} flags=[] (0.1402ms)
7855
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455bb247580fd61000007"} update={"$set"=>{"custom_fields_recipe.rules"=>[{"name"=>"fullname", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"examples", "type"=>"has_many", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455bb247580fd61000009", "inverse_of"=>"author", "order_by"=>nil}], "custom_fields_recipe.version"=>1}, "$unset"=>{}, "$rename"=>{}} flags={:multi=>true} (0.1118ms)
7856
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455bb247580fd6100000e"}, "_slug.en"=>"john-doe", "_type"=>{"$in"=>["Locomotive::ContentEntry535455bb247580fd61000007"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5171ms)
7857
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455bb247580fd61000007", "$or"=>[{"_slug.en"=>"john-doe"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5908ms)
7858
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bb247580fd61000007"]}}} (0.4222ms)
7859
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455bb247580fd6100000e", "_position"=>0, "_visible"=>true, "fullname"=>"John Doe", "custom_fields_recipe"=>{"name"=>"ContentEntry535455bb247580fd61000007", "rules"=>[{"name"=>"fullname", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"examples", "type"=>"has_many", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455bb247580fd61000009", "inverse_of"=>"author", "order_by"=>nil}], "version"=>1, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry535455bb247580fd61000007", "content_type_id"=>"535455bb247580fd61000007", "_slug"=>{"en"=>"john-doe"}, "site_id"=>"535455bb247580fd61000002", "_translated"=>{"en"=>true}, "_label_field_name"=>"fullname", "updated_at"=>2014-04-20 23:18:19 UTC, "created_at"=>2014-04-20 23:18:19 UTC}] flags=[] (0.2189ms)
7860
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::ContentEntry535455bb247580fd61000007", "original_id"=>"535455bb247580fd6100000e", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4559ms)
7861
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"author_id"=>"535455bb247580fd6100000e", "_type"=>{"$in"=>["Locomotive::ContentEntry535455bb247580fd61000009"]}}} (0.4461ms)
7862
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"author_id"=>"535455bb247580fd6100000e", "_type"=>{"$in"=>["Locomotive::ContentEntry535455bb247580fd61000009"]}}, "$orderby"=>{"position_in_author"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3471ms)
7863
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bb247580fd6100000f", "stored"=>{"fullname"=>"John Doe", :search_type=>"Authors", :label=>"John Doe", :_slug=>"john-doe", :site_id=>"535455bb247580fd61000002", :content_type_slug=>"authors"}, "original_type"=>"Locomotive::ContentEntry535455bb247580fd61000007", "original_id"=>"535455bb247580fd6100000e", "locale"=>"en", "language"=>"english", "content"=>["John Doe"]}] flags=[] (0.1299ms)
7864
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455bb247580fd61000010"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry535455bb247580fd61000009"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4718ms)
7865
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455bb247580fd61000009", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4270ms)
7866
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bb247580fd61000009"]}}} (0.5412ms)
7867
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bb247580fd61000009"]}}} (0.3219ms)
7868
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455bb247580fd61000010", "_position"=>0, "_visible"=>true, "position_in_author"=>1, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry535455bb247580fd61000009", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"author", "type"=>"belongs_to", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455bb247580fd61000007"}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "author_id"=>"535455bb247580fd6100000e", "_type"=>"Locomotive::ContentEntry535455bb247580fd61000009", "content_type_id"=>"535455bb247580fd61000009", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"535455bb247580fd61000002", "_translated"=>{"en"=>true}, "_label_field_name"=>"name", "updated_at"=>2014-04-20 23:18:19 UTC, "created_at"=>2014-04-20 23:18:19 UTC}] flags=[] (0.2868ms)
7869
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::ContentEntry535455bb247580fd61000009", "original_id"=>"535455bb247580fd61000010", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4711ms)
7870
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"author_id"=>"535455bb247580fd6100000e", "_type"=>{"$in"=>["Locomotive::ContentEntry535455bb247580fd61000009"]}}, "$orderby"=>{"position_in_author"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5240ms)
7871
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bb247580fd61000011", "stored"=>{"name"=>"Findable entry", "author"=>{"fullname"=>"John Doe", "examples"=>["Findable entry"]}, :search_type=>"Examples", :label=>"Findable entry", :_slug=>"findable-entry", :site_id=>"535455bb247580fd61000002", :content_type_slug=>"examples"}, "original_type"=>"Locomotive::ContentEntry535455bb247580fd61000009", "original_id"=>"535455bb247580fd61000010", "locale"=>"en", "language"=>"english", "content"=>["Findable entry", "John Doe"]}] flags=[] (0.1721ms)
7872
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455bb247580fd61000012"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry535455bb247580fd61000009"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5798ms)
7873
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455bb247580fd61000009", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3998ms)
7874
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bb247580fd61000009"]}}} (0.4070ms)
7875
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bb247580fd61000009"]}}} (0.3388ms)
7876
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bb247580fd61000009"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.6950ms)
7877
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bb247580fd61000009"]}}} (0.4129ms)
7878
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bb247580fd61000009"]}, "position_in_author"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"position_in_author", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$position_in_author"}, "min"=>{"$min"=>"$position_in_author"}, "sum"=>{"$sum"=>"$position_in_author"}, "avg"=>{"$avg"=>"$position_in_author"}}}]} (0.5882ms)
7879
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455bb247580fd61000012", "_position"=>1, "_visible"=>true, "position_in_author"=>2, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry535455bb247580fd61000009", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"author", "type"=>"belongs_to", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455bb247580fd61000007"}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry535455bb247580fd61000009", "content_type_id"=>"535455bb247580fd61000009", "_slug"=>{"en"=>"hidden"}, "site_id"=>"535455bb247580fd61000002", "_translated"=>{"en"=>true}, "_label_field_name"=>"name", "updated_at"=>2014-04-20 23:18:19 UTC, "created_at"=>2014-04-20 23:18:19 UTC}] flags=[] (0.2711ms)
7880
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::ContentEntry535455bb247580fd61000009", "original_id"=>"535455bb247580fd61000012", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4110ms)
7881
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bb247580fd61000013", "stored"=>{"name"=>"Hidden", :search_type=>"Examples", :label=>"Hidden", :_slug=>"hidden", :site_id=>"535455bb247580fd61000002", :content_type_slug=>"examples"}, "original_type"=>"Locomotive::ContentEntry535455bb247580fd61000009", "original_id"=>"535455bb247580fd61000012", "locale"=>"en", "language"=>"english", "content"=>["Hidden"]}] flags=[] (0.1509ms)
7882
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6473ms)
7883
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bb247580fd61000002", "parent_id"=>"535455bb247580fd61000004", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4950ms)
7884
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bb247580fd61000004", "site_id"=>"535455bb247580fd61000002", "_id"=>{"$ne"=>"535455bb247580fd61000014"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5040ms)
7885
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455bb247580fd61000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6840ms)
7886
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bb247580fd61000014", "parent_ids"=>["535455bb247580fd61000004"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>"535455bb247580fd61000002", "parent_id"=>"535455bb247580fd61000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:19 UTC, "created_at"=>2014-04-20 23:18:19 UTC}] flags=[] (0.1853ms)
7887
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bb247580fd61000002", "template_dependencies.en"=>{"$in"=>["535455bb247580fd61000014"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3951ms)
7888
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bb247580fd61000014"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4549ms)
7889
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bb247580fd61000014"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0920ms)
7890
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455bb247580fd61000014", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3781ms)
7891
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bb247580fd61000015", "stored"=>{:title=>"Please search for this findable page", :searchable_content=>"This is what you were looking for", :search_type=>"page", :label=>"Please search for this findable page", :site_id=>"535455bb247580fd61000002", :fullpath=>"findable"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455bb247580fd61000014", "locale"=>"en", "language"=>"english", "content"=>["Please search for this findable page", "This is what you were looking for"]}] flags=[] (0.1962ms)
7892
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7768ms)
7893
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bb247580fd61000002", "parent_id"=>"535455bb247580fd61000004", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4869ms)
7894
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bb247580fd61000004", "site_id"=>"535455bb247580fd61000002", "_id"=>{"$ne"=>"535455bb247580fd61000016"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6511ms)
7895
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bb247580fd61000004", "site_id"=>"535455bb247580fd61000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5269ms)
7896
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455bb247580fd61000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7889ms)
7897
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bb247580fd61000016", "parent_ids"=>["535455bb247580fd61000004"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>false, "raw_template"=>{"en"=>"Not published, so can't be found"}, "title"=>{"en"=>"Unpublished findable"}, "slug"=>{"en"=>"unpublished-findable"}, "site_id"=>"535455bb247580fd61000002", "parent_id"=>"535455bb247580fd61000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:19 UTC, "created_at"=>2014-04-20 23:18:19 UTC}] flags=[] (0.2601ms)
7898
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bb247580fd61000002", "template_dependencies.en"=>{"$in"=>["535455bb247580fd61000016"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4158ms)
7899
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bb247580fd61000016"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3932ms)
7900
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bb247580fd61000016"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1197ms)
7901
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6258ms)
7902
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bb247580fd61000002", "parent_id"=>"535455bb247580fd61000004", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4878ms)
7903
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bb247580fd61000004", "site_id"=>"535455bb247580fd61000002", "_id"=>{"$ne"=>"535455bb247580fd61000017"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.9117ms)
7904
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bb247580fd61000004", "site_id"=>"535455bb247580fd61000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4768ms)
7905
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455bb247580fd61000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5510ms)
7906
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bb247580fd61000017", "parent_ids"=>["535455bb247580fd61000004"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>false, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Even if it seems findable, it sound't be found because of the searchable flag"}, "title"=>{"en"=>"Seems findable"}, "slug"=>{"en"=>"seems-findable"}, "site_id"=>"535455bb247580fd61000002", "parent_id"=>"535455bb247580fd61000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:19 UTC, "created_at"=>2014-04-20 23:18:19 UTC}] flags=[] (0.2019ms)
7907
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bb247580fd61000002", "template_dependencies.en"=>{"$in"=>["535455bb247580fd61000017"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3247ms)
7908
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bb247580fd61000017"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3209ms)
7909
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bb247580fd61000017"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0882ms)
7910
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5357ms)
7911
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bb247580fd61000002", "parent_id"=>"535455bb247580fd61000004", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6430ms)
7912
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bb247580fd61000004", "site_id"=>"535455bb247580fd61000002", "_id"=>{"$ne"=>"535455bb247580fd61000018"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8392ms)
7913
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bb247580fd61000004", "site_id"=>"535455bb247580fd61000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4623ms)
7914
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455bb247580fd61000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6890ms)
7915
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bb247580fd61000018", "parent_ids"=>["535455bb247580fd61000004"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>" <html>\n <body>\n {% search_for params.search, page: params.page, per_page: 2 %}\n * Total entries: {{ search.total_entries }}\n * Search results:\n <ul>\n {% for result in search.results %}\n {% if result.content_type_slug == 'examples' %}\n <li><a href=\"/examples/{{result._slug}}\">{{ result.name }}</a></li>\n {% else %}\n <li><a href=\"/{{result.fullpath}}\">{{ result.title }}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n {% endsearch_for %}\n </body>\n </html>\n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"535455bb247580fd61000002", "parent_id"=>"535455bb247580fd61000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1786>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:20 UTC, "created_at"=>2014-04-20 23:18:20 UTC}] flags=[] (0.2239ms)
7916
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bb247580fd61000002", "template_dependencies.en"=>{"$in"=>["535455bb247580fd61000018"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7131ms)
7917
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bb247580fd61000018"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5450ms)
7918
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bb247580fd61000018"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1040ms)
7919
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455bb247580fd61000018", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4930ms)
7920
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={"text"=>"active_search_mongoid_indices", "search"=>nil, "language"=>"english", "filter"=>{"stored.site_id"=>"535455bb247580fd61000002", "locale"=>"en"}} (0.7992ms)
7921
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={"text"=>"active_search_mongoid_indices", "search"=>nil, "language"=>"english", "filter"=>{"stored.site_id"=>"535455bb247580fd61000002", "locale"=>"en"}} (0.5932ms)
7922
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bc247580fd61000019", "stored"=>{:title=>"search", :searchable_content=>" \n \n \n * Total entries: \n * Search results:\n \n \n \n \n \n \n", :search_type=>"page", :label=>"search", :site_id=>"535455bb247580fd61000002", :fullpath=>"search"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455bb247580fd61000018", "locale"=>"en", "language"=>"english", "content"=>["search", " \n \n \n * Total entries: \n * Search results:\n \n \n \n \n \n \n"]}] flags=[] (0.1271ms)
7923
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bb247580fd61000002", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.8781ms)
7924
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"535455bb247580fd61000002"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5369ms)
7925
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"535455bb247580fd61000004"} update={"$set"=>{"raw_template"=>{"en"=>"\n <form action=\"/{{ locale }}/search\" method=\"GET\">\n <label for=\"search\">Search</label>\n <input type=\"text\" name=\"search\" id=\"search\">\n <input type=\"submit\" value=\"Search\">\n </form>"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=371>}, "updated_at"=>2014-04-20 23:18:20 UTC}} flags=[] (0.1528ms)
7926
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bb247580fd61000002", "template_dependencies.en"=>{"$in"=>["535455bb247580fd61000004"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4220ms)
7927
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455bb247580fd61000004", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5970ms)
7928
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_indices selector={"_id"=>"535455bb247580fd61000005"} update={"$set"=>{"stored"=>{:title=>"Home page", :searchable_content=>"\n \n Search\n \n \n ", :search_type=>"page", :label=>"Home page", :site_id=>"535455bb247580fd61000002", :fullpath=>"index"}, "content"=>["Home page", "\n \n Search\n \n \n "]}} flags=[] (0.1500ms)
7929
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5512ms)
7930
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test2"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3450ms)
7931
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"535455bc247580fd6100001a", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2014-04-20 23:18:19 UTC, "updated_at"=>2014-04-20 23:18:20 UTC, "memberships"=>[{"_id"=>"535455bc247580fd6100001b", "role"=>"admin", "account_id"=>"535455bb247580fd61000001"}]}] flags=[] (0.1440ms)
7932
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bc247580fd6100001a", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6430ms)
7933
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455bc247580fd6100001a", "_id"=>{"$ne"=>"535455bc247580fd6100001c"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (1.1070ms)
7934
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bc247580fd6100001c", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"535455bc247580fd6100001a", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:20 UTC, "created_at"=>2014-04-20 23:18:20 UTC}] flags=[] (0.3128ms)
7935
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bc247580fd6100001a", "template_dependencies.en"=>{"$in"=>["535455bc247580fd6100001c"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4671ms)
7936
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bc247580fd6100001c"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8252ms)
7937
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bc247580fd6100001c"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1841ms)
7938
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455bc247580fd6100001c", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3250ms)
7939
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bc247580fd6100001d", "stored"=>{:title=>"Home page", :searchable_content=>"Content of the home page", :search_type=>"page", :label=>"Home page", :site_id=>"535455bc247580fd6100001a", :fullpath=>"index"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455bc247580fd6100001c", "locale"=>"en", "language"=>"english", "content"=>["Home page", "Content of the home page"]}] flags=[] (0.1547ms)
7940
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bc247580fd6100001a", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5019ms)
7941
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455bc247580fd6100001a", "_id"=>{"$ne"=>"535455bc247580fd6100001e"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6931ms)
7942
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455bc247580fd6100001a"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4780ms)
7943
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bc247580fd6100001e", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"535455bc247580fd6100001a", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:20 UTC, "created_at"=>2014-04-20 23:18:20 UTC}] flags=[] (0.2317ms)
7944
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bc247580fd6100001a", "template_dependencies.en"=>{"$in"=>["535455bc247580fd6100001e"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3834ms)
7945
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bc247580fd6100001e"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4079ms)
7946
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bc247580fd6100001e"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0961ms)
7947
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bc247580fd6100001a", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5178ms)
7948
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455bc247580fd6100001a", "_id"=>{"$ne"=>"535455bc247580fd6100001f"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7441ms)
7949
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455bc247580fd6100001a"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.8020ms)
7950
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"_id"=>{"$in"=>[]}}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.2918ms)
7951
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bc247580fd6100001f", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Rickroll"}, "title"=>{"en"=>"This should never show up in the search, even if it would be findable"}, "slug"=>{"en"=>"rickroll"}, "site_id"=>"535455bc247580fd6100001a", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:20 UTC, "created_at"=>2014-04-20 23:18:20 UTC}] flags=[] (0.1748ms)
7952
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bc247580fd6100001a", "template_dependencies.en"=>{"$in"=>["535455bc247580fd6100001f"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3221ms)
7953
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bc247580fd6100001f"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3347ms)
7954
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bc247580fd6100001f"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1280ms)
7955
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455bc247580fd6100001f", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4129ms)
7956
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bc247580fd61000020", "stored"=>{:title=>"This should never show up in the search, even if it would be findable", :searchable_content=>"Rickroll", :search_type=>"page", :label=>"This should never show up in the search, even if it would be findable", :site_id=>"535455bc247580fd6100001a", :fullpath=>"rickroll"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455bc247580fd6100001f", "locale"=>"en", "language"=>"english", "content"=>["This should never show up in the search, even if it would be findable", "Rickroll"]}] flags=[] (0.1800ms)
7957
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455bc247580fd6100001a", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4628ms)
7958
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"535455bc247580fd61000021", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"535455bc247580fd6100001a", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"535455bc247580fd61000022", "updated_at"=>2014-04-20 23:18:20 UTC, "created_at"=>2014-04-20 23:18:20 UTC, "entries_custom_fields"=>[{"_id"=>"535455bc247580fd61000022", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}]}] flags=[] (0.2098ms)
7959
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455bc247580fd61000023"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry535455bc247580fd61000021"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6168ms)
7960
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455bc247580fd61000021", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5450ms)
7961
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bc247580fd61000021"]}}} (0.5703ms)
7962
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455bc247580fd61000023", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry535455bc247580fd61000021", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry535455bc247580fd61000021", "content_type_id"=>"535455bc247580fd61000021", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"535455bc247580fd6100001a", "_translated"=>{"en"=>true}, "_label_field_name"=>"name", "updated_at"=>2014-04-20 23:18:20 UTC, "created_at"=>2014-04-20 23:18:20 UTC}] flags=[] (0.1581ms)
7963
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::ContentEntry535455bc247580fd61000021", "original_id"=>"535455bc247580fd61000023", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4101ms)
7964
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bc247580fd61000024", "stored"=>{"name"=>"NOT Findable entry", :search_type=>"Examples", :label=>"NOT Findable entry", :_slug=>"not-findable-entry", :site_id=>"535455bc247580fd6100001a", :content_type_slug=>"examples"}, "original_type"=>"Locomotive::ContentEntry535455bc247580fd61000021", "original_id"=>"535455bc247580fd61000023", "locale"=>"en", "language"=>"english", "content"=>["NOT Findable entry"]}] flags=[] (0.1290ms)
7965
+ Started GET "/locomotive" for 127.0.0.1 at 2014-04-21 01:18:21 +0200
7966
+ Processing by Locomotive::SessionsController#new as HTML
7967
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
7968
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9670ms)
7969
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4909ms)
7970
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>{"$in"=>["535455bb247580fd61000001"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4160ms)
7971
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/sessions/new.html.haml within /locomotive/layouts/not_logged_in (15.4ms)
7972
+ Completed 200 OK in 35.6ms (Views: 29.7ms)
7973
+ Started GET "/assets/locomotive/not_logged_in.js" for 127.0.0.1 at 2014-04-21 01:18:21 +0200
7974
+ Served asset /locomotive/not_logged_in.js - 200 OK (11ms)
7975
+ Started GET "/assets/locomotive/not_logged_in.css" for 127.0.0.1 at 2014-04-21 01:18:21 +0200
7976
+ Served asset /locomotive/not_logged_in.css - 200 OK (11ms)
7977
+ Started GET "/assets/locomotive/background/body.png" for 127.0.0.1 at 2014-04-21 01:18:21 +0200
7978
+ Served asset /locomotive/background/body.png - 200 OK (1ms)
7979
+ Started POST "/locomotive/sign_in" for 127.0.0.1 at 2014-04-21 01:18:21 +0200
7980
+ Processing by Locomotive::SessionsController#create as HTML
7981
+ Parameters: {"utf8"=>"✓", "locomotive_account"=>{"remember_me"=>"true", "email"=>"admin@locomotiveapp.org", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
7982
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
7983
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6859ms)
7984
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>{"$in"=>["535455bb247580fd61000001"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4070ms)
7985
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"email"=>"admin@locomotiveapp.org"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5009ms)
7986
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>"535455bb247580fd61000001"} update={"$set"=>{"remember_created_at"=>2014-04-20 23:18:21 UTC, "updated_at"=>2014-04-20 23:18:21 UTC}} flags=[] (0.2220ms)
7987
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>"535455bb247580fd61000001"} update={"$set"=>{"last_sign_in_at"=>2014-04-20 23:18:21 UTC, "current_sign_in_at"=>2014-04-20 23:18:21 UTC, "last_sign_in_ip"=>"127.0.0.1", "current_sign_in_ip"=>"127.0.0.1", "sign_in_count"=>1, "updated_at"=>2014-04-20 23:18:21 UTC}} flags=[] (0.1569ms)
7988
+ Redirected to http://test.example.com:7171/locomotive/pages
7989
+ Completed 302 Found in 19.1ms
7990
+ Started GET "/locomotive/pages" for 127.0.0.1 at 2014-04-21 01:18:22 +0200
7991
+ Processing by Locomotive::PagesController#index as HTML
7992
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
7993
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6163ms)
7994
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>"535455bb247580fd61000001"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3541ms)
7995
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>{"$in"=>["535455bb247580fd61000001"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4570ms)
7996
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bb247580fd61000002"}, "$orderby"=>{"depth"=>1, "position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"serialized_template.en"=>0, "template_dependencies.en"=>0, "snippet_dependencies.en"=>0, "templatized_from_parent"=>0, "redirect_url.en"=>0, "redirect_type"=>0, "seo_title.en"=>0, "meta_keywords.en"=>0, "meta_description.en"=>0, "handle"=>0, "raw_template.en"=>0, "locales"=>0, "cache_strategy"=>0, "searchable"=>0} (1.1714ms)
7997
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bb247580fd61000002"}, "$orderby"=>{"position"=>1, "updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields={"serialized_template.en"=>0, "template_dependencies.en"=>0, "snippet_dependencies.en"=>0, "templatized_from_parent"=>0, "redirect_url.en"=>0, "redirect_type"=>0, "seo_title.en"=>0, "meta_keywords.en"=>0, "meta_description.en"=>0, "handle"=>0, "raw_template.en"=>0, "locales"=>0, "cache_strategy"=>0, "searchable"=>0} (1.5321ms)
7998
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"535455bb247580fd61000002"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"site_id"=>1, "name"=>1, "slug"=>1, "label_field_name"=>1} (0.6399ms)
7999
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"535455bb247580fd61000002"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"site_id"=>1, "name"=>1, "slug"=>1, "label_field_name"=>1} (0.4230ms)
8000
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"535455bb247580fd61000007"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (0.5951ms)
8001
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"535455bb247580fd61000009"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (1.1163ms)
8002
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/menu/_contents.html.haml (28.2ms)
8003
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/actions/_contents.html.haml (2.1ms)
8004
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/pages/_page.html.haml (4.1ms)
8005
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/pages/_page.html.haml (11.1ms)
8006
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/pages/index.html.haml within /locomotive/layouts/application (50.2ms)
8007
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_main_app_head_before_backbone.html.haml (0.9ms)
8008
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships"=>{"$elemMatch"=>{:account_id=>"535455bb247580fd61000001", :role=>:admin}}}} (0.5450ms)
8009
+ Rendered locomotive/shared/_main_app_head.html.haml (2.1ms)
8010
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_head.html.haml (13.1ms)
8011
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships.account_id"=>"535455bb247580fd61000001"}} (0.4728ms)
8012
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/cells/locomotive/global_actions/show.html.haml (2.7ms)
8013
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"memberships.account_id"=>"535455bb247580fd61000001"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6540ms)
8014
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_site_picker.html.haml (4.8ms)
8015
+ Rendered /Users/didier/Documents/LocomotiveCMS/gems/search/app/views/locomotive/shared/_search_bar.html.haml (4.9ms)
8016
+ Rendered locomotive/shared/_main_app_header.html.haml (7.0ms)
8017
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_header.html.haml (31.1ms)
8018
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/cells/locomotive/main_menu/show.html.haml (3.1ms)
8019
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_footer.html.haml (1.1ms)
8020
+ Completed 200 OK in 132.5ms (Views: 116.8ms)
8021
+ Started GET "/assets/locomotive.js" for 127.0.0.1 at 2014-04-21 01:18:22 +0200
8022
+ Served asset /locomotive.js - 200 OK (135ms)
8023
+ Started GET "/assets/locomotive.css" for 127.0.0.1 at 2014-04-21 01:18:22 +0200
8024
+ Served asset /locomotive.css - 200 OK (41ms)
8025
+ Started GET "/assets/locomotive/search_bar.css" for 127.0.0.1 at 2014-04-21 01:18:22 +0200
8026
+ Served asset /locomotive/search_bar.css - 200 OK (2ms)
8027
+ Started GET "/assets/locomotive/search_bar.js" for 127.0.0.1 at 2014-04-21 01:18:22 +0200
8028
+ Served asset /locomotive/search_bar.js - 200 OK (8ms)
8029
+ Started GET "/assets/locomotive/list/item-left.png" for 127.0.0.1 at 2014-04-21 01:18:22 +0200
8030
+ Served asset /locomotive/list/item-left.png - 200 OK (2ms)
8031
+ Started GET "/assets/locomotive/plugins/sites_picker_top_arrow.png" for 127.0.0.1 at 2014-04-21 01:18:22 +0200
8032
+ Served asset /locomotive/plugins/sites_picker_top_arrow.png - 200 OK (2ms)
8033
+ Started GET "/assets/locomotive/nocoffee.png" for 127.0.0.1 at 2014-04-21 01:18:22 +0200
8034
+ Served asset /locomotive/nocoffee.png - 200 OK (1ms)
8035
+ Started GET "/locomotive/pages" for 127.0.0.1 at 2014-04-21 01:18:22 +0200
8036
+ Processing by Locomotive::PagesController#index as HTML
8037
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
8038
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7401ms)
8039
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>"535455bb247580fd61000001"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3977ms)
8040
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>{"$in"=>["535455bb247580fd61000001"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5178ms)
8041
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bb247580fd61000002"}, "$orderby"=>{"depth"=>1, "position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"serialized_template.en"=>0, "template_dependencies.en"=>0, "snippet_dependencies.en"=>0, "templatized_from_parent"=>0, "redirect_url.en"=>0, "redirect_type"=>0, "seo_title.en"=>0, "meta_keywords.en"=>0, "meta_description.en"=>0, "handle"=>0, "raw_template.en"=>0, "locales"=>0, "cache_strategy"=>0, "searchable"=>0} (1.1241ms)
8042
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bb247580fd61000002"}, "$orderby"=>{"position"=>1, "updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields={"serialized_template.en"=>0, "template_dependencies.en"=>0, "snippet_dependencies.en"=>0, "templatized_from_parent"=>0, "redirect_url.en"=>0, "redirect_type"=>0, "seo_title.en"=>0, "meta_keywords.en"=>0, "meta_description.en"=>0, "handle"=>0, "raw_template.en"=>0, "locales"=>0, "cache_strategy"=>0, "searchable"=>0} (1.4930ms)
8043
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"535455bb247580fd61000002"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"site_id"=>1, "name"=>1, "slug"=>1, "label_field_name"=>1} (0.6011ms)
8044
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"535455bb247580fd61000002"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"site_id"=>1, "name"=>1, "slug"=>1, "label_field_name"=>1} (0.4318ms)
8045
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"535455bb247580fd61000007"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (0.6223ms)
8046
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"535455bb247580fd61000009"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (0.7370ms)
8047
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/menu/_contents.html.haml (19.8ms)
8048
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/actions/_contents.html.haml (0.6ms)
8049
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/pages/_page.html.haml (4.1ms)
8050
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/pages/_page.html.haml (6.3ms)
8051
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/pages/index.html.haml within /locomotive/layouts/application (28.3ms)
8052
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_main_app_head_before_backbone.html.haml (0.0ms)
8053
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships"=>{"$elemMatch"=>{:account_id=>"535455bb247580fd61000001", :role=>:admin}}}} (0.5152ms)
8054
+ Rendered locomotive/shared/_main_app_head.html.haml (0.6ms)
8055
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_head.html.haml (4.4ms)
8056
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships.account_id"=>"535455bb247580fd61000001"}} (0.4370ms)
8057
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/cells/locomotive/global_actions/show.html.haml (0.7ms)
8058
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"memberships.account_id"=>"535455bb247580fd61000001"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5193ms)
8059
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_site_picker.html.haml (1.7ms)
8060
+ Rendered /Users/didier/Documents/LocomotiveCMS/gems/search/app/views/locomotive/shared/_search_bar.html.haml (1.0ms)
8061
+ Rendered locomotive/shared/_main_app_header.html.haml (1.3ms)
8062
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_header.html.haml (9.1ms)
8063
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/cells/locomotive/main_menu/show.html.haml (0.5ms)
8064
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_footer.html.haml (0.2ms)
8065
+ Completed 200 OK in 63.1ms (Views: 46.7ms)
8066
+ Started GET "/locomotive/search.json?per_page=10&query=findable+" for 127.0.0.1 at 2014-04-21 01:18:22 +0200
8067
+ Processing by Locomotive::SearchController#index as JSON
8068
+ Parameters: {"per_page"=>"10", "query"=>"findable "}
8069
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
8070
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6089ms)
8071
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>"535455bb247580fd61000001"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3121ms)
8072
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>{"$in"=>["535455bb247580fd61000001"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5169ms)
8073
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={"text"=>"active_search_mongoid_indices", "search"=>"findable ", "language"=>"english", "filter"=>{"stored.site_id"=>"535455bb247580fd61000002"}} (0.6642ms)
8074
+ Completed 200 OK in 19.7ms (Views: 0.6ms)
8075
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8471ms)
8076
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"active_search_mongoid_indices"} (11.2729ms)
8077
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (1.5879ms)
8078
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (1.5769ms)
8079
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (2.0609ms)
8080
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (0.8221ms)
8081
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (0.5701ms)
8082
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4261ms)
8083
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=system.indexes documents=[{:ns=>"locomotive_search_test.active_search_mongoid_indices", :key=>{:content=>"text", :locale=>1}, :name=>"content_text_locale_1"}] flags=[] (0.1128ms)
8084
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=system.indexes documents=[{:unique=>true, :ns=>"locomotive_search_test.active_search_mongoid_indices", :key=>{:original_type=>1, :original_id=>1, :locale=>1}, :name=>"original_type_1_original_id_1_locale_1"}] flags=[] (0.1163ms)
8085
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (1.2531ms)
8086
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"email"=>"admin@locomotiveapp.org"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3703ms)
8087
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"535455bf247580fd61000025", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"c54f6ddcd9dbfb3f3a0dae305cf624024641c0af", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"sM4p2U2LSBqod2GJ3sRC", "api_key"=>"8c1fc05729d69ac2849548f5eb52d23f78061d41", "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.1020ms)
8088
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6709ms)
8089
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"535455bf247580fd61000026", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2014-04-20 23:18:19 UTC, "updated_at"=>2014-04-20 23:18:23 UTC, "memberships"=>[{"_id"=>"535455bf247580fd61000027", "role"=>"admin", "account_id"=>"535455bf247580fd61000025"}]}] flags=[] (0.1483ms)
8090
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bf247580fd61000026", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6049ms)
8091
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455bf247580fd61000026", "_id"=>{"$ne"=>"535455bf247580fd61000028"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4013ms)
8092
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bf247580fd61000028", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"535455bf247580fd61000026", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.2072ms)
8093
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd61000026", "template_dependencies.en"=>{"$in"=>["535455bf247580fd61000028"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4768ms)
8094
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd61000028"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3631ms)
8095
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bf247580fd61000028"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0908ms)
8096
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455bf247580fd61000028", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3822ms)
8097
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bf247580fd61000029", "stored"=>{:title=>"Home page", :searchable_content=>"Content of the home page", :search_type=>"page", :label=>"Home page", :site_id=>"535455bf247580fd61000026", :fullpath=>"index"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455bf247580fd61000028", "locale"=>"en", "language"=>"english", "content"=>["Home page", "Content of the home page"]}] flags=[] (0.1559ms)
8098
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bf247580fd61000026", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4661ms)
8099
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455bf247580fd61000026", "_id"=>{"$ne"=>"535455bf247580fd6100002a"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6402ms)
8100
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455bf247580fd61000026"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4690ms)
8101
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bf247580fd6100002a", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"535455bf247580fd61000026", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.1810ms)
8102
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd61000026", "template_dependencies.en"=>{"$in"=>["535455bf247580fd6100002a"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3049ms)
8103
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd6100002a"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3183ms)
8104
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bf247580fd6100002a"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0861ms)
8105
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455bf247580fd61000026", "slug"=>"authors"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4821ms)
8106
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"535455bf247580fd6100002b", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Authors", "description"=>"The list of my projects", "site_id"=>"535455bf247580fd61000026", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"authors", "order_by"=>"created_at", "label_field_name"=>"fullname", "label_field_id"=>"535455bf247580fd6100002c", "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC, "entries_custom_fields"=>[{"_id"=>"535455bf247580fd6100002c", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Fullname", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"fullname"}]}] flags=[] (0.2449ms)
8107
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455bf247580fd61000026", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6409ms)
8108
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455bf247580fd6100002b"} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6549ms)
8109
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"535455bf247580fd6100002d", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"535455bf247580fd61000026", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"535455bf247580fd6100002e", "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC, "entries_custom_fields"=>[{"_id"=>"535455bf247580fd6100002e", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}, {"_id"=>"535455bf247580fd6100002f", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Author", "type"=>"belongs_to", "class_name"=>"Locomotive::ContentEntry535455bf247580fd6100002b", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"author"}, {"_id"=>"535455bf247580fd61000030", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Stuff", "type"=>"text", "searchable"=>false, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"stuff"}]}] flags=[] (0.4392ms)
8110
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455bf247580fd61000026", "_id"=>"535455bf247580fd6100002b"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6828ms)
8111
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455bf247580fd6100002d"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5870ms)
8112
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd6100002b"]}} update={"$set"=>{"_label_field_name"=>"fullname"}} flags=[:multi] (0.1502ms)
8113
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455bf247580fd6100002b"} update={"$set"=>{"updated_at"=>2014-04-20 23:18:23 UTC, "entries_custom_fields_version"=>1}, "$pushAll"=>{"entries_custom_fields"=>[{"_id"=>"535455bf247580fd61000031", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Examples", "type"=>"has_many", "class_name"=>"Locomotive::ContentEntry535455bf247580fd6100002d", "inverse_of"=>"author", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"examples", "order_by"=>nil}]}} flags=[] (0.1647ms)
8114
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455bf247580fd6100002b"} update={"$set"=>{"custom_fields_recipe.rules"=>[{"name"=>"fullname", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"examples", "type"=>"has_many", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455bf247580fd6100002d", "inverse_of"=>"author", "order_by"=>nil}], "custom_fields_recipe.version"=>1}, "$unset"=>{}, "$rename"=>{}} flags={:multi=>true} (0.1061ms)
8115
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455bf247580fd61000032"}, "_slug.en"=>"john-doe", "_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd6100002b"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5240ms)
8116
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455bf247580fd6100002b", "$or"=>[{"_slug.en"=>"john-doe"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4280ms)
8117
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd6100002b"]}}} (0.3660ms)
8118
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455bf247580fd61000032", "_position"=>0, "_visible"=>true, "fullname"=>"John Doe", "custom_fields_recipe"=>{"name"=>"ContentEntry535455bf247580fd6100002b", "rules"=>[{"name"=>"fullname", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"examples", "type"=>"has_many", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455bf247580fd6100002d", "inverse_of"=>"author", "order_by"=>nil}], "version"=>1, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry535455bf247580fd6100002b", "content_type_id"=>"535455bf247580fd6100002b", "_slug"=>{"en"=>"john-doe"}, "site_id"=>"535455bf247580fd61000026", "_translated"=>{"en"=>true}, "_label_field_name"=>"fullname", "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.2351ms)
8119
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::ContentEntry535455bf247580fd6100002b", "original_id"=>"535455bf247580fd61000032", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4501ms)
8120
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"author_id"=>"535455bf247580fd61000032", "_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd6100002d"]}}} (0.4222ms)
8121
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"author_id"=>"535455bf247580fd61000032", "_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd6100002d"]}}, "$orderby"=>{"position_in_author"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3622ms)
8122
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bf247580fd61000033", "stored"=>{"fullname"=>"John Doe", :search_type=>"Authors", :label=>"John Doe", :_slug=>"john-doe", :site_id=>"535455bf247580fd61000026", :content_type_slug=>"authors"}, "original_type"=>"Locomotive::ContentEntry535455bf247580fd6100002b", "original_id"=>"535455bf247580fd61000032", "locale"=>"en", "language"=>"english", "content"=>["John Doe"]}] flags=[] (0.1221ms)
8123
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455bf247580fd61000034"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd6100002d"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5660ms)
8124
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455bf247580fd6100002d", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6669ms)
8125
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd6100002d"]}}} (0.4890ms)
8126
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd6100002d"]}}} (0.2892ms)
8127
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455bf247580fd61000034", "_position"=>0, "_visible"=>true, "position_in_author"=>1, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry535455bf247580fd6100002d", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"author", "type"=>"belongs_to", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455bf247580fd6100002b"}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "author_id"=>"535455bf247580fd61000032", "_type"=>"Locomotive::ContentEntry535455bf247580fd6100002d", "content_type_id"=>"535455bf247580fd6100002d", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"535455bf247580fd61000026", "_translated"=>{"en"=>true}, "_label_field_name"=>"name", "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.2389ms)
8128
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::ContentEntry535455bf247580fd6100002d", "original_id"=>"535455bf247580fd61000034", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3588ms)
8129
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"author_id"=>"535455bf247580fd61000032", "_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd6100002d"]}}, "$orderby"=>{"position_in_author"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5429ms)
8130
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bf247580fd61000035", "stored"=>{"name"=>"Findable entry", "author"=>{"fullname"=>"John Doe", "examples"=>["Findable entry"]}, :search_type=>"Examples", :label=>"Findable entry", :_slug=>"findable-entry", :site_id=>"535455bf247580fd61000026", :content_type_slug=>"examples"}, "original_type"=>"Locomotive::ContentEntry535455bf247580fd6100002d", "original_id"=>"535455bf247580fd61000034", "locale"=>"en", "language"=>"english", "content"=>["Findable entry", "John Doe"]}] flags=[] (0.2360ms)
8131
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455bf247580fd61000036"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd6100002d"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4659ms)
8132
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455bf247580fd6100002d", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3581ms)
8133
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd6100002d"]}}} (0.3810ms)
8134
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd6100002d"]}}} (0.4418ms)
8135
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd6100002d"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.7551ms)
8136
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd6100002d"]}}} (0.3598ms)
8137
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd6100002d"]}, "position_in_author"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"position_in_author", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$position_in_author"}, "min"=>{"$min"=>"$position_in_author"}, "sum"=>{"$sum"=>"$position_in_author"}, "avg"=>{"$avg"=>"$position_in_author"}}}]} (0.4506ms)
8138
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455bf247580fd61000036", "_position"=>1, "_visible"=>true, "position_in_author"=>2, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry535455bf247580fd6100002d", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"author", "type"=>"belongs_to", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455bf247580fd6100002b"}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry535455bf247580fd6100002d", "content_type_id"=>"535455bf247580fd6100002d", "_slug"=>{"en"=>"hidden"}, "site_id"=>"535455bf247580fd61000026", "_translated"=>{"en"=>true}, "_label_field_name"=>"name", "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.2873ms)
8139
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::ContentEntry535455bf247580fd6100002d", "original_id"=>"535455bf247580fd61000036", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3600ms)
8140
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bf247580fd61000037", "stored"=>{"name"=>"Hidden", :search_type=>"Examples", :label=>"Hidden", :_slug=>"hidden", :site_id=>"535455bf247580fd61000026", :content_type_slug=>"examples"}, "original_type"=>"Locomotive::ContentEntry535455bf247580fd6100002d", "original_id"=>"535455bf247580fd61000036", "locale"=>"en", "language"=>"english", "content"=>["Hidden"]}] flags=[] (0.1361ms)
8141
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6070ms)
8142
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bf247580fd61000026", "parent_id"=>"535455bf247580fd61000028", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4759ms)
8143
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd61000028", "site_id"=>"535455bf247580fd61000026", "_id"=>{"$ne"=>"535455bf247580fd61000038"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4480ms)
8144
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455bf247580fd61000028"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6428ms)
8145
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bf247580fd61000038", "parent_ids"=>["535455bf247580fd61000028"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>"535455bf247580fd61000026", "parent_id"=>"535455bf247580fd61000028", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.3569ms)
8146
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd61000026", "template_dependencies.en"=>{"$in"=>["535455bf247580fd61000038"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3970ms)
8147
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd61000038"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3321ms)
8148
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bf247580fd61000038"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1626ms)
8149
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455bf247580fd61000038", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3331ms)
8150
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bf247580fd61000039", "stored"=>{:title=>"Please search for this findable page", :searchable_content=>"This is what you were looking for", :search_type=>"page", :label=>"Please search for this findable page", :site_id=>"535455bf247580fd61000026", :fullpath=>"findable"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455bf247580fd61000038", "locale"=>"en", "language"=>"english", "content"=>["Please search for this findable page", "This is what you were looking for"]}] flags=[] (0.2172ms)
8151
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6599ms)
8152
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bf247580fd61000026", "parent_id"=>"535455bf247580fd61000028", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5100ms)
8153
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd61000028", "site_id"=>"535455bf247580fd61000026", "_id"=>{"$ne"=>"535455bf247580fd6100003a"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7081ms)
8154
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd61000028", "site_id"=>"535455bf247580fd61000026"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5150ms)
8155
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455bf247580fd61000028"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5388ms)
8156
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bf247580fd6100003a", "parent_ids"=>["535455bf247580fd61000028"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>false, "raw_template"=>{"en"=>"Not published, so can't be found"}, "title"=>{"en"=>"Unpublished findable"}, "slug"=>{"en"=>"unpublished-findable"}, "site_id"=>"535455bf247580fd61000026", "parent_id"=>"535455bf247580fd61000028", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.2551ms)
8157
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd61000026", "template_dependencies.en"=>{"$in"=>["535455bf247580fd6100003a"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3488ms)
8158
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd6100003a"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3691ms)
8159
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bf247580fd6100003a"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1190ms)
8160
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5670ms)
8161
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bf247580fd61000026", "parent_id"=>"535455bf247580fd61000028", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4721ms)
8162
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd61000028", "site_id"=>"535455bf247580fd61000026", "_id"=>{"$ne"=>"535455bf247580fd6100003b"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8140ms)
8163
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd61000028", "site_id"=>"535455bf247580fd61000026"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4449ms)
8164
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455bf247580fd61000028"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5472ms)
8165
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bf247580fd6100003b", "parent_ids"=>["535455bf247580fd61000028"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>false, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Even if it seems findable, it sound't be found because of the searchable flag"}, "title"=>{"en"=>"Seems findable"}, "slug"=>{"en"=>"seems-findable"}, "site_id"=>"535455bf247580fd61000026", "parent_id"=>"535455bf247580fd61000028", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.4003ms)
8166
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd61000026", "template_dependencies.en"=>{"$in"=>["535455bf247580fd6100003b"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3541ms)
8167
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd6100003b"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3493ms)
8168
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bf247580fd6100003b"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0908ms)
8169
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5829ms)
8170
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bf247580fd61000026", "parent_id"=>"535455bf247580fd61000028", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5200ms)
8171
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd61000028", "site_id"=>"535455bf247580fd61000026", "_id"=>{"$ne"=>"535455bf247580fd6100003c"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.9069ms)
8172
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd61000028", "site_id"=>"535455bf247580fd61000026"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5403ms)
8173
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455bf247580fd61000028"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5140ms)
8174
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bf247580fd6100003c", "parent_ids"=>["535455bf247580fd61000028"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>" <html>\n <body>\n {% search_for params.search, page: params.page, per_page: 2 %}\n * Total entries: {{ search.total_entries }}\n * Search results:\n <ul>\n {% for result in search.results %}\n {% if result.content_type_slug == 'examples' %}\n <li><a href=\"/examples/{{result._slug}}\">{{ result.name }}</a></li>\n {% else %}\n <li><a href=\"/{{result.fullpath}}\">{{ result.title }}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n {% endsearch_for %}\n </body>\n </html>\n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"535455bf247580fd61000026", "parent_id"=>"535455bf247580fd61000028", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1786>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.2551ms)
8175
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd61000026", "template_dependencies.en"=>{"$in"=>["535455bf247580fd6100003c"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3662ms)
8176
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd6100003c"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3932ms)
8177
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bf247580fd6100003c"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1690ms)
8178
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455bf247580fd6100003c", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3309ms)
8179
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={"text"=>"active_search_mongoid_indices", "search"=>nil, "language"=>"english", "filter"=>{"stored.site_id"=>"535455bf247580fd61000026", "locale"=>"en"}} (0.6471ms)
8180
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={"text"=>"active_search_mongoid_indices", "search"=>nil, "language"=>"english", "filter"=>{"stored.site_id"=>"535455bf247580fd61000026", "locale"=>"en"}} (0.5808ms)
8181
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bf247580fd6100003d", "stored"=>{:title=>"search", :searchable_content=>" \n \n \n * Total entries: \n * Search results:\n \n \n \n \n \n \n", :search_type=>"page", :label=>"search", :site_id=>"535455bf247580fd61000026", :fullpath=>"search"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455bf247580fd6100003c", "locale"=>"en", "language"=>"english", "content"=>["search", " \n \n \n * Total entries: \n * Search results:\n \n \n \n \n \n \n"]}] flags=[] (0.1528ms)
8182
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd61000026", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5541ms)
8183
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"535455bf247580fd61000026"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3583ms)
8184
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"535455bf247580fd61000028"} update={"$set"=>{"raw_template"=>{"en"=>"\n <form action=\"/{{ locale }}/search\" method=\"GET\">\n <label for=\"search\">Search</label>\n <input type=\"text\" name=\"search\" id=\"search\">\n <input type=\"submit\" value=\"Search\">\n </form>"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=371>}, "updated_at"=>2014-04-20 23:18:23 UTC}} flags=[] (0.1669ms)
8185
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd61000026", "template_dependencies.en"=>{"$in"=>["535455bf247580fd61000028"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3951ms)
8186
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455bf247580fd61000028", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5901ms)
8187
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_indices selector={"_id"=>"535455bf247580fd61000029"} update={"$set"=>{"stored"=>{:title=>"Home page", :searchable_content=>"\n \n Search\n \n \n ", :search_type=>"page", :label=>"Home page", :site_id=>"535455bf247580fd61000026", :fullpath=>"index"}, "content"=>["Home page", "\n \n Search\n \n \n "]}} flags=[] (0.2081ms)
8188
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6149ms)
8189
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test2"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3340ms)
8190
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"535455bf247580fd6100003e", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2014-04-20 23:18:19 UTC, "updated_at"=>2014-04-20 23:18:23 UTC, "memberships"=>[{"_id"=>"535455bf247580fd6100003f", "role"=>"admin", "account_id"=>"535455bf247580fd61000025"}]}] flags=[] (0.1421ms)
8191
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bf247580fd6100003e", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4659ms)
8192
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455bf247580fd6100003e", "_id"=>{"$ne"=>"535455bf247580fd61000040"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4461ms)
8193
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bf247580fd61000040", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"535455bf247580fd6100003e", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.1910ms)
8194
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd6100003e", "template_dependencies.en"=>{"$in"=>["535455bf247580fd61000040"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3381ms)
8195
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd61000040"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3521ms)
8196
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bf247580fd61000040"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0930ms)
8197
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455bf247580fd61000040", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3138ms)
8198
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bf247580fd61000041", "stored"=>{:title=>"Home page", :searchable_content=>"Content of the home page", :search_type=>"page", :label=>"Home page", :site_id=>"535455bf247580fd6100003e", :fullpath=>"index"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455bf247580fd61000040", "locale"=>"en", "language"=>"english", "content"=>["Home page", "Content of the home page"]}] flags=[] (0.1822ms)
8199
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bf247580fd6100003e", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5889ms)
8200
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455bf247580fd6100003e", "_id"=>{"$ne"=>"535455bf247580fd61000042"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7241ms)
8201
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455bf247580fd6100003e"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5379ms)
8202
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bf247580fd61000042", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"535455bf247580fd6100003e", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.1910ms)
8203
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd6100003e", "template_dependencies.en"=>{"$in"=>["535455bf247580fd61000042"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3831ms)
8204
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd61000042"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3610ms)
8205
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bf247580fd61000042"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0930ms)
8206
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bf247580fd6100003e", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5372ms)
8207
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455bf247580fd6100003e", "_id"=>{"$ne"=>"535455bf247580fd61000043"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7799ms)
8208
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455bf247580fd6100003e"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4420ms)
8209
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"_id"=>{"$in"=>[]}}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.2568ms)
8210
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bf247580fd61000043", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Rickroll"}, "title"=>{"en"=>"This should never show up in the search, even if it would be findable"}, "slug"=>{"en"=>"rickroll"}, "site_id"=>"535455bf247580fd6100003e", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.1938ms)
8211
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd6100003e", "template_dependencies.en"=>{"$in"=>["535455bf247580fd61000043"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3068ms)
8212
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd61000043"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3521ms)
8213
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bf247580fd61000043"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0913ms)
8214
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455bf247580fd61000043", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3121ms)
8215
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bf247580fd61000044", "stored"=>{:title=>"This should never show up in the search, even if it would be findable", :searchable_content=>"Rickroll", :search_type=>"page", :label=>"This should never show up in the search, even if it would be findable", :site_id=>"535455bf247580fd6100003e", :fullpath=>"rickroll"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455bf247580fd61000043", "locale"=>"en", "language"=>"english", "content"=>["This should never show up in the search, even if it would be findable", "Rickroll"]}] flags=[] (0.1674ms)
8216
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455bf247580fd6100003e", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4244ms)
8217
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"535455bf247580fd61000045", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"535455bf247580fd6100003e", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"535455bf247580fd61000046", "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC, "entries_custom_fields"=>[{"_id"=>"535455bf247580fd61000046", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}]}] flags=[] (0.2019ms)
8218
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455bf247580fd61000047"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd61000045"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5062ms)
8219
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455bf247580fd61000045", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4301ms)
8220
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd61000045"]}}} (0.4089ms)
8221
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455bf247580fd61000047", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry535455bf247580fd61000045", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry535455bf247580fd61000045", "content_type_id"=>"535455bf247580fd61000045", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"535455bf247580fd6100003e", "_translated"=>{"en"=>true}, "_label_field_name"=>"name", "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.1719ms)
8222
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::ContentEntry535455bf247580fd61000045", "original_id"=>"535455bf247580fd61000047", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3693ms)
8223
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bf247580fd61000048", "stored"=>{"name"=>"NOT Findable entry", :search_type=>"Examples", :label=>"NOT Findable entry", :_slug=>"not-findable-entry", :site_id=>"535455bf247580fd6100003e", :content_type_slug=>"examples"}, "original_type"=>"Locomotive::ContentEntry535455bf247580fd61000045", "original_id"=>"535455bf247580fd61000047", "locale"=>"en", "language"=>"english", "content"=>["NOT Findable entry"]}] flags=[] (0.1810ms)
8224
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455bf247580fd61000034"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd6100002d"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4580ms)
8225
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455bf247580fd61000036"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd6100002d"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3960ms)
8226
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455bf247580fd6100002b"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4539ms)
8227
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd6100002d"]}} update={"$set"=>{"_label_field_name"=>"name"}} flags=[:multi] (0.1669ms)
8228
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455bf247580fd6100002d"} update={"$set"=>{"updated_at"=>2014-04-20 23:18:23 UTC, "entries_custom_fields_version"=>1, "entries_custom_fields.2.searchable"=>true}} flags=[] (0.2069ms)
8229
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455bf247580fd6100002d"} update={"$set"=>{"custom_fields_recipe.rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"author", "type"=>"belongs_to", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455bf247580fd6100002b"}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "custom_fields_recipe.version"=>1}, "$unset"=>{}, "$rename"=>{}} flags={:multi=>true} (0.2110ms)
8230
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455bf247580fd61000026", "_id"=>"535455bf247580fd6100002b"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.9148ms)
8231
+ Started GET "/" for 127.0.0.1 at 2014-04-21 01:18:23 +0200
8232
+ Processing by Locomotive::Public::PagesController#show as HTML
8233
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
8234
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6502ms)
8235
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd61000026", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7858ms)
8236
+ Rendered text template (0.0ms)
8237
+ Completed 200 OK in 8.6ms (Views: 2.4ms)
8238
+ Started GET "/en/search?search=stuff" for 127.0.0.1 at 2014-04-21 01:18:23 +0200
8239
+ Processing by Locomotive::Public::PagesController#show as HTML
8240
+ Parameters: {"search"=>"stuff", "locale"=>"en", "path"=>"search"}
8241
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
8242
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7429ms)
8243
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd61000026", "depth"=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6649ms)
8244
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={"text"=>"active_search_mongoid_indices", "search"=>"stuff", "language"=>"english", "filter"=>{"stored.site_id"=>"535455bf247580fd61000026", "locale"=>"en"}} (0.4570ms)
8245
+ Rendered text template (0.0ms)
8246
+ Completed 200 OK in 6.7ms (Views: 0.5ms)
8247
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455bf247580fd6100002d"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5772ms)
8248
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455bf247580fd6100002d", "updated_at"=>{"$lt"=>2014-04-20 23:18:23 UTC}, "_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd6100002d"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8111ms)
8249
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"535455bf247580fd61000026"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3910ms)
8250
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"_id"=>"535455bf247580fd6100002d"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4001ms)
8251
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>"535455bf247580fd61000034"} update={"$set"=>{"updated_at"=>2014-04-20 23:18:23 UTC}} flags=[] (0.1719ms)
8252
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::ContentEntry535455bf247580fd6100002d", "original_id"=>"535455bf247580fd61000034", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5434ms)
8253
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"_id"=>"535455bf247580fd61000032", "_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd6100002b"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6301ms)
8254
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"_id"=>"535455bf247580fd6100002b"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5159ms)
8255
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"author_id"=>"535455bf247580fd61000032", "_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd6100002d"]}}, "$orderby"=>{"position_in_author"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6342ms)
8256
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_indices selector={"_id"=>"535455bf247580fd61000035"} update={"$set"=>{"stored"=>{"name"=>"Findable entry", "author"=>{"fullname"=>"John Doe", "examples"=>["Findable entry"]}, "stuff"=>"Some stuff", :search_type=>"Examples", :label=>"Findable entry", :_slug=>"findable-entry", :site_id=>"535455bf247580fd61000026", :content_type_slug=>"examples"}, "content"=>["Findable entry", "John Doe", "Some stuff"]}} flags=[] (0.1447ms)
8257
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"535455bf247580fd61000026"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3402ms)
8258
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"_id"=>"535455bf247580fd6100002d"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6261ms)
8259
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>"535455bf247580fd61000036"} update={"$set"=>{"updated_at"=>2014-04-20 23:18:23 UTC}} flags=[] (0.1729ms)
8260
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::ContentEntry535455bf247580fd6100002d", "original_id"=>"535455bf247580fd61000036", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5090ms)
8261
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_indices selector={"_id"=>"535455bf247580fd61000037"} update={"$set"=>{"stored"=>{"name"=>"Hidden", "stuff"=>"Not findable", :search_type=>"Examples", :label=>"Hidden", :_slug=>"hidden", :site_id=>"535455bf247580fd61000026", :content_type_slug=>"examples"}, "content"=>["Hidden", "Not findable"]}} flags=[] (0.1211ms)
8262
+ Started GET "/" for 127.0.0.1 at 2014-04-21 01:18:23 +0200
8263
+ Processing by Locomotive::Public::PagesController#show as HTML
8264
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
8265
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5190ms)
8266
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd61000026", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5970ms)
8267
+ Rendered text template (0.0ms)
8268
+ Completed 200 OK in 4.9ms (Views: 0.5ms)
8269
+ Started GET "/en/search?search=stuff" for 127.0.0.1 at 2014-04-21 01:18:23 +0200
8270
+ Processing by Locomotive::Public::PagesController#show as HTML
8271
+ Parameters: {"search"=>"stuff", "locale"=>"en", "path"=>"search"}
8272
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
8273
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5288ms)
8274
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd61000026", "depth"=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7350ms)
8275
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={"text"=>"active_search_mongoid_indices", "search"=>"stuff", "language"=>"english", "filter"=>{"stored.site_id"=>"535455bf247580fd61000026", "locale"=>"en"}} (0.7620ms)
8276
+ Rendered text template (0.0ms)
8277
+ Completed 200 OK in 6.9ms (Views: 0.4ms)
8278
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7212ms)
8279
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"active_search_mongoid_indices"} (0.8349ms)
8280
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (0.5612ms)
8281
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (0.5770ms)
8282
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (0.6332ms)
8283
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (0.6161ms)
8284
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (0.6073ms)
8285
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4249ms)
8286
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=system.indexes documents=[{:ns=>"locomotive_search_test.active_search_mongoid_indices", :key=>{:content=>"text", :locale=>1}, :name=>"content_text_locale_1"}] flags=[] (0.1528ms)
8287
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=system.indexes documents=[{:unique=>true, :ns=>"locomotive_search_test.active_search_mongoid_indices", :key=>{:original_type=>1, :original_id=>1, :locale=>1}, :name=>"original_type_1_original_id_1_locale_1"}] flags=[] (0.1230ms)
8288
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3228ms)
8289
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"email"=>"admin@locomotiveapp.org"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3657ms)
8290
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"535455bf247580fd61000049", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"eb36229155a28da7faf48e2b16fd9929300c5c34", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"nT5ywgWLqCCk1LH366bw", "api_key"=>"c9c85b75547e93be973b90e57f79d9dc98a79f8b", "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.1421ms)
8291
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3269ms)
8292
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"535455bf247580fd6100004a", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2014-04-20 23:18:19 UTC, "updated_at"=>2014-04-20 23:18:23 UTC, "memberships"=>[{"_id"=>"535455bf247580fd6100004b", "role"=>"admin", "account_id"=>"535455bf247580fd61000049"}]}] flags=[] (0.1271ms)
8293
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bf247580fd6100004a", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5560ms)
8294
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455bf247580fd6100004a", "_id"=>{"$ne"=>"535455bf247580fd6100004c"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.3700ms)
8295
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bf247580fd6100004c", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"535455bf247580fd6100004a", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.1819ms)
8296
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd6100004a", "template_dependencies.en"=>{"$in"=>["535455bf247580fd6100004c"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3362ms)
8297
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd6100004c"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3390ms)
8298
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bf247580fd6100004c"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1030ms)
8299
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455bf247580fd6100004c", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4001ms)
8300
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bf247580fd6100004d", "stored"=>{:title=>"Home page", :searchable_content=>"Content of the home page", :search_type=>"page", :label=>"Home page", :site_id=>"535455bf247580fd6100004a", :fullpath=>"index"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455bf247580fd6100004c", "locale"=>"en", "language"=>"english", "content"=>["Home page", "Content of the home page"]}] flags=[] (0.3071ms)
8301
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bf247580fd6100004a", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4411ms)
8302
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455bf247580fd6100004a", "_id"=>{"$ne"=>"535455bf247580fd6100004e"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7012ms)
8303
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455bf247580fd6100004a"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5701ms)
8304
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bf247580fd6100004e", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"535455bf247580fd6100004a", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.1810ms)
8305
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd6100004a", "template_dependencies.en"=>{"$in"=>["535455bf247580fd6100004e"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3033ms)
8306
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd6100004e"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3390ms)
8307
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bf247580fd6100004e"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1349ms)
8308
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455bf247580fd6100004a", "slug"=>"authors"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4139ms)
8309
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"535455bf247580fd6100004f", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Authors", "description"=>"The list of my projects", "site_id"=>"535455bf247580fd6100004a", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"authors", "order_by"=>"created_at", "label_field_name"=>"fullname", "label_field_id"=>"535455bf247580fd61000050", "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC, "entries_custom_fields"=>[{"_id"=>"535455bf247580fd61000050", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Fullname", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"fullname"}]}] flags=[] (0.2532ms)
8310
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455bf247580fd6100004a", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5240ms)
8311
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455bf247580fd6100004f"} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.9551ms)
8312
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"535455bf247580fd61000051", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"535455bf247580fd6100004a", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"535455bf247580fd61000052", "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC, "entries_custom_fields"=>[{"_id"=>"535455bf247580fd61000052", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}, {"_id"=>"535455bf247580fd61000053", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Author", "type"=>"belongs_to", "class_name"=>"Locomotive::ContentEntry535455bf247580fd6100004f", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"author"}, {"_id"=>"535455bf247580fd61000054", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Stuff", "type"=>"text", "searchable"=>false, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"stuff"}]}] flags=[] (0.4339ms)
8313
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455bf247580fd6100004a", "_id"=>"535455bf247580fd6100004f"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6182ms)
8314
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455bf247580fd61000051"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5760ms)
8315
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd6100004f"]}} update={"$set"=>{"_label_field_name"=>"fullname"}} flags=[:multi] (0.1462ms)
8316
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455bf247580fd6100004f"} update={"$set"=>{"updated_at"=>2014-04-20 23:18:23 UTC, "entries_custom_fields_version"=>1}, "$pushAll"=>{"entries_custom_fields"=>[{"_id"=>"535455bf247580fd61000055", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Examples", "type"=>"has_many", "class_name"=>"Locomotive::ContentEntry535455bf247580fd61000051", "inverse_of"=>"author", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"examples", "order_by"=>nil}]}} flags=[] (0.1900ms)
8317
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455bf247580fd6100004f"} update={"$set"=>{"custom_fields_recipe.rules"=>[{"name"=>"fullname", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"examples", "type"=>"has_many", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455bf247580fd61000051", "inverse_of"=>"author", "order_by"=>nil}], "custom_fields_recipe.version"=>1}, "$unset"=>{}, "$rename"=>{}} flags={:multi=>true} (0.8028ms)
8318
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455bf247580fd61000056"}, "_slug.en"=>"john-doe", "_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd6100004f"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4890ms)
8319
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455bf247580fd6100004f", "$or"=>[{"_slug.en"=>"john-doe"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4430ms)
8320
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd6100004f"]}}} (0.3850ms)
8321
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455bf247580fd61000056", "_position"=>0, "_visible"=>true, "fullname"=>"John Doe", "custom_fields_recipe"=>{"name"=>"ContentEntry535455bf247580fd6100004f", "rules"=>[{"name"=>"fullname", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"examples", "type"=>"has_many", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455bf247580fd61000051", "inverse_of"=>"author", "order_by"=>nil}], "version"=>1, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry535455bf247580fd6100004f", "content_type_id"=>"535455bf247580fd6100004f", "_slug"=>{"en"=>"john-doe"}, "site_id"=>"535455bf247580fd6100004a", "_translated"=>{"en"=>true}, "_label_field_name"=>"fullname", "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.2270ms)
8322
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::ContentEntry535455bf247580fd6100004f", "original_id"=>"535455bf247580fd61000056", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4187ms)
8323
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"author_id"=>"535455bf247580fd61000056", "_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd61000051"]}}} (0.3881ms)
8324
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"author_id"=>"535455bf247580fd61000056", "_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd61000051"]}}, "$orderby"=>{"position_in_author"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3252ms)
8325
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bf247580fd61000057", "stored"=>{"fullname"=>"John Doe", :search_type=>"Authors", :label=>"John Doe", :_slug=>"john-doe", :site_id=>"535455bf247580fd6100004a", :content_type_slug=>"authors"}, "original_type"=>"Locomotive::ContentEntry535455bf247580fd6100004f", "original_id"=>"535455bf247580fd61000056", "locale"=>"en", "language"=>"english", "content"=>["John Doe"]}] flags=[] (0.1879ms)
8326
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455bf247580fd61000058"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd61000051"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4821ms)
8327
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455bf247580fd61000051", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4113ms)
8328
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd61000051"]}}} (0.4411ms)
8329
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd61000051"]}}} (0.3121ms)
8330
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455bf247580fd61000058", "_position"=>0, "_visible"=>true, "position_in_author"=>1, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry535455bf247580fd61000051", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"author", "type"=>"belongs_to", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455bf247580fd6100004f"}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "author_id"=>"535455bf247580fd61000056", "_type"=>"Locomotive::ContentEntry535455bf247580fd61000051", "content_type_id"=>"535455bf247580fd61000051", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"535455bf247580fd6100004a", "_translated"=>{"en"=>true}, "_label_field_name"=>"name", "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.2072ms)
8331
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::ContentEntry535455bf247580fd61000051", "original_id"=>"535455bf247580fd61000058", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3631ms)
8332
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"author_id"=>"535455bf247580fd61000056", "_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd61000051"]}}, "$orderby"=>{"position_in_author"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5679ms)
8333
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bf247580fd61000059", "stored"=>{"name"=>"Findable entry", "author"=>{"fullname"=>"John Doe", "examples"=>["Findable entry"]}, :search_type=>"Examples", :label=>"Findable entry", :_slug=>"findable-entry", :site_id=>"535455bf247580fd6100004a", :content_type_slug=>"examples"}, "original_type"=>"Locomotive::ContentEntry535455bf247580fd61000051", "original_id"=>"535455bf247580fd61000058", "locale"=>"en", "language"=>"english", "content"=>["Findable entry", "John Doe"]}] flags=[] (0.2420ms)
8334
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455bf247580fd6100005a"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd61000051"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4869ms)
8335
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455bf247580fd61000051", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3881ms)
8336
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd61000051"]}}} (0.3920ms)
8337
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd61000051"]}}} (0.2902ms)
8338
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd61000051"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.5481ms)
8339
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd61000051"]}}} (0.3111ms)
8340
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455bf247580fd61000051"]}, "position_in_author"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"position_in_author", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$position_in_author"}, "min"=>{"$min"=>"$position_in_author"}, "sum"=>{"$sum"=>"$position_in_author"}, "avg"=>{"$avg"=>"$position_in_author"}}}]} (0.4909ms)
8341
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455bf247580fd6100005a", "_position"=>1, "_visible"=>true, "position_in_author"=>2, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry535455bf247580fd61000051", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"author", "type"=>"belongs_to", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455bf247580fd6100004f"}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry535455bf247580fd61000051", "content_type_id"=>"535455bf247580fd61000051", "_slug"=>{"en"=>"hidden"}, "site_id"=>"535455bf247580fd6100004a", "_translated"=>{"en"=>true}, "_label_field_name"=>"name", "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.2897ms)
8342
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::ContentEntry535455bf247580fd61000051", "original_id"=>"535455bf247580fd6100005a", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3881ms)
8343
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bf247580fd6100005b", "stored"=>{"name"=>"Hidden", :search_type=>"Examples", :label=>"Hidden", :_slug=>"hidden", :site_id=>"535455bf247580fd6100004a", :content_type_slug=>"examples"}, "original_type"=>"Locomotive::ContentEntry535455bf247580fd61000051", "original_id"=>"535455bf247580fd6100005a", "locale"=>"en", "language"=>"english", "content"=>["Hidden"]}] flags=[] (0.1359ms)
8344
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7432ms)
8345
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bf247580fd6100004a", "parent_id"=>"535455bf247580fd6100004c", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5300ms)
8346
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd6100004c", "site_id"=>"535455bf247580fd6100004a", "_id"=>{"$ne"=>"535455bf247580fd6100005c"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4632ms)
8347
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455bf247580fd6100004c"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6070ms)
8348
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bf247580fd6100005c", "parent_ids"=>["535455bf247580fd6100004c"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>"535455bf247580fd6100004a", "parent_id"=>"535455bf247580fd6100004c", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.1919ms)
8349
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd6100004a", "template_dependencies.en"=>{"$in"=>["535455bf247580fd6100005c"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5481ms)
8350
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd6100005c"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5267ms)
8351
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bf247580fd6100005c"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1202ms)
8352
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455bf247580fd6100005c", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3250ms)
8353
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bf247580fd6100005d", "stored"=>{:title=>"Please search for this findable page", :searchable_content=>"This is what you were looking for", :search_type=>"page", :label=>"Please search for this findable page", :site_id=>"535455bf247580fd6100004a", :fullpath=>"findable"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455bf247580fd6100005c", "locale"=>"en", "language"=>"english", "content"=>["Please search for this findable page", "This is what you were looking for"]}] flags=[] (0.1810ms)
8354
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6032ms)
8355
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bf247580fd6100004a", "parent_id"=>"535455bf247580fd6100004c", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6390ms)
8356
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd6100004c", "site_id"=>"535455bf247580fd6100004a", "_id"=>{"$ne"=>"535455bf247580fd6100005e"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (1.6081ms)
8357
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd6100004c", "site_id"=>"535455bf247580fd6100004a"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5231ms)
8358
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455bf247580fd6100004c"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5620ms)
8359
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bf247580fd6100005e", "parent_ids"=>["535455bf247580fd6100004c"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>false, "raw_template"=>{"en"=>"Not published, so can't be found"}, "title"=>{"en"=>"Unpublished findable"}, "slug"=>{"en"=>"unpublished-findable"}, "site_id"=>"535455bf247580fd6100004a", "parent_id"=>"535455bf247580fd6100004c", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.3388ms)
8360
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd6100004a", "template_dependencies.en"=>{"$in"=>["535455bf247580fd6100005e"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4532ms)
8361
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd6100005e"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4981ms)
8362
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bf247580fd6100005e"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1302ms)
8363
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.9060ms)
8364
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bf247580fd6100004a", "parent_id"=>"535455bf247580fd6100004c", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.7060ms)
8365
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd6100004c", "site_id"=>"535455bf247580fd6100004a", "_id"=>{"$ne"=>"535455bf247580fd6100005f"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (1.0102ms)
8366
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd6100004c", "site_id"=>"535455bf247580fd6100004a"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5381ms)
8367
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455bf247580fd6100004c"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4818ms)
8368
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bf247580fd6100005f", "parent_ids"=>["535455bf247580fd6100004c"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>false, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Even if it seems findable, it sound't be found because of the searchable flag"}, "title"=>{"en"=>"Seems findable"}, "slug"=>{"en"=>"seems-findable"}, "site_id"=>"535455bf247580fd6100004a", "parent_id"=>"535455bf247580fd6100004c", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.2718ms)
8369
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd6100004a", "template_dependencies.en"=>{"$in"=>["535455bf247580fd6100005f"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4880ms)
8370
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd6100005f"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7112ms)
8371
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bf247580fd6100005f"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.3140ms)
8372
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7789ms)
8373
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bf247580fd6100004a", "parent_id"=>"535455bf247580fd6100004c", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5341ms)
8374
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd6100004c", "site_id"=>"535455bf247580fd6100004a", "_id"=>{"$ne"=>"535455bf247580fd61000060"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (1.4029ms)
8375
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd6100004c", "site_id"=>"535455bf247580fd6100004a"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.8221ms)
8376
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455bf247580fd6100004c"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7627ms)
8377
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bf247580fd61000060", "parent_ids"=>["535455bf247580fd6100004c"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>" <html>\n <body>\n {% search_for params.search, page: params.page, per_page: 2 %}\n * Total entries: {{ search.total_entries }}\n * Search results:\n <ul>\n {% for result in search.results %}\n {% if result.content_type_slug == 'examples' %}\n <li><a href=\"/examples/{{result._slug}}\">{{ result.name }}</a></li>\n {% else %}\n <li><a href=\"/{{result.fullpath}}\">{{ result.title }}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n {% endsearch_for %}\n </body>\n </html>\n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"535455bf247580fd6100004a", "parent_id"=>"535455bf247580fd6100004c", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1786>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.4940ms)
8378
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd6100004a", "template_dependencies.en"=>{"$in"=>["535455bf247580fd61000060"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4759ms)
8379
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd61000060"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4928ms)
8380
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bf247580fd61000060"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1662ms)
8381
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455bf247580fd61000060", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7601ms)
8382
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={"text"=>"active_search_mongoid_indices", "search"=>nil, "language"=>"english", "filter"=>{"stored.site_id"=>"535455bf247580fd6100004a", "locale"=>"en"}} (0.7060ms)
8383
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={"text"=>"active_search_mongoid_indices", "search"=>nil, "language"=>"english", "filter"=>{"stored.site_id"=>"535455bf247580fd6100004a", "locale"=>"en"}} (0.6320ms)
8384
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bf247580fd61000061", "stored"=>{:title=>"search", :searchable_content=>" \n \n \n * Total entries: \n * Search results:\n \n \n \n \n \n \n", :search_type=>"page", :label=>"search", :site_id=>"535455bf247580fd6100004a", :fullpath=>"search"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455bf247580fd61000060", "locale"=>"en", "language"=>"english", "content"=>["search", " \n \n \n * Total entries: \n * Search results:\n \n \n \n \n \n \n"]}] flags=[] (0.2382ms)
8385
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd6100004a", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7112ms)
8386
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"535455bf247580fd6100004a"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6950ms)
8387
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"535455bf247580fd6100004c"} update={"$set"=>{"raw_template"=>{"en"=>"\n <form action=\"/{{ locale }}/search\" method=\"GET\">\n <label for=\"search\">Search</label>\n <input type=\"text\" name=\"search\" id=\"search\">\n <input type=\"submit\" value=\"Search\">\n </form>"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=371>}, "updated_at"=>2014-04-20 23:18:23 UTC}} flags=[] (0.2010ms)
8388
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd6100004a", "template_dependencies.en"=>{"$in"=>["535455bf247580fd6100004c"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8280ms)
8389
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455bf247580fd6100004c", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6671ms)
8390
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_indices selector={"_id"=>"535455bf247580fd6100004d"} update={"$set"=>{"stored"=>{:title=>"Home page", :searchable_content=>"\n \n Search\n \n \n ", :search_type=>"page", :label=>"Home page", :site_id=>"535455bf247580fd6100004a", :fullpath=>"index"}, "content"=>["Home page", "\n \n Search\n \n \n "]}} flags=[] (0.1481ms)
8391
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6430ms)
8392
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test2"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4449ms)
8393
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"535455bf247580fd61000062", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2014-04-20 23:18:19 UTC, "updated_at"=>2014-04-20 23:18:23 UTC, "memberships"=>[{"_id"=>"535455bf247580fd61000063", "role"=>"admin", "account_id"=>"535455bf247580fd61000049"}]}] flags=[] (0.2592ms)
8394
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bf247580fd61000062", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6528ms)
8395
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455bf247580fd61000062", "_id"=>{"$ne"=>"535455bf247580fd61000064"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5953ms)
8396
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bf247580fd61000064", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"535455bf247580fd61000062", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.2100ms)
8397
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd61000062", "template_dependencies.en"=>{"$in"=>["535455bf247580fd61000064"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3340ms)
8398
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd61000064"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3200ms)
8399
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bf247580fd61000064"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1590ms)
8400
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455bf247580fd61000064", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5691ms)
8401
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455bf247580fd61000065", "stored"=>{:title=>"Home page", :searchable_content=>"Content of the home page", :search_type=>"page", :label=>"Home page", :site_id=>"535455bf247580fd61000062", :fullpath=>"index"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455bf247580fd61000064", "locale"=>"en", "language"=>"english", "content"=>["Home page", "Content of the home page"]}] flags=[] (0.2871ms)
8402
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bf247580fd61000062", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.9811ms)
8403
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455bf247580fd61000062", "_id"=>{"$ne"=>"535455bf247580fd61000066"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6912ms)
8404
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455bf247580fd61000062"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5181ms)
8405
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bf247580fd61000066", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"535455bf247580fd61000062", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:23 UTC, "created_at"=>2014-04-20 23:18:23 UTC}] flags=[] (0.2429ms)
8406
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd61000062", "template_dependencies.en"=>{"$in"=>["535455bf247580fd61000066"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3712ms)
8407
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd61000066"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4222ms)
8408
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bf247580fd61000066"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1390ms)
8409
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455bf247580fd61000062", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (1.1163ms)
8410
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455bf247580fd61000062", "_id"=>{"$ne"=>"535455bf247580fd61000067"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8469ms)
8411
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455bf247580fd61000062"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5159ms)
8412
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"_id"=>{"$in"=>[]}}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.2642ms)
8413
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455bf247580fd61000067", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Rickroll"}, "title"=>{"en"=>"This should never show up in the search, even if it would be findable"}, "slug"=>{"en"=>"rickroll"}, "site_id"=>"535455bf247580fd61000062", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:24 UTC, "created_at"=>2014-04-20 23:18:24 UTC}] flags=[] (0.2260ms)
8414
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd61000062", "template_dependencies.en"=>{"$in"=>["535455bf247580fd61000067"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3200ms)
8415
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455bf247580fd61000067"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4690ms)
8416
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455bf247580fd61000067"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1268ms)
8417
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455bf247580fd61000067", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5851ms)
8418
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455c0247580fd61000068", "stored"=>{:title=>"This should never show up in the search, even if it would be findable", :searchable_content=>"Rickroll", :search_type=>"page", :label=>"This should never show up in the search, even if it would be findable", :site_id=>"535455bf247580fd61000062", :fullpath=>"rickroll"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455bf247580fd61000067", "locale"=>"en", "language"=>"english", "content"=>["This should never show up in the search, even if it would be findable", "Rickroll"]}] flags=[] (0.2248ms)
8419
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455bf247580fd61000062", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4742ms)
8420
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"535455c0247580fd61000069", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"535455bf247580fd61000062", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"535455c0247580fd6100006a", "updated_at"=>2014-04-20 23:18:24 UTC, "created_at"=>2014-04-20 23:18:24 UTC, "entries_custom_fields"=>[{"_id"=>"535455c0247580fd6100006a", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}]}] flags=[] (0.2232ms)
8421
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455c0247580fd6100006b"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry535455c0247580fd61000069"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5560ms)
8422
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455c0247580fd61000069", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4330ms)
8423
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455c0247580fd61000069"]}}} (0.4721ms)
8424
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455c0247580fd6100006b", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry535455c0247580fd61000069", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry535455c0247580fd61000069", "content_type_id"=>"535455c0247580fd61000069", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"535455bf247580fd61000062", "_translated"=>{"en"=>true}, "_label_field_name"=>"name", "updated_at"=>2014-04-20 23:18:24 UTC, "created_at"=>2014-04-20 23:18:24 UTC}] flags=[] (0.1769ms)
8425
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::ContentEntry535455c0247580fd61000069", "original_id"=>"535455c0247580fd6100006b", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3541ms)
8426
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455c0247580fd6100006c", "stored"=>{"name"=>"NOT Findable entry", :search_type=>"Examples", :label=>"NOT Findable entry", :_slug=>"not-findable-entry", :site_id=>"535455bf247580fd61000062", :content_type_slug=>"examples"}, "original_type"=>"Locomotive::ContentEntry535455c0247580fd61000069", "original_id"=>"535455c0247580fd6100006b", "locale"=>"en", "language"=>"english", "content"=>["NOT Findable entry"]}] flags=[] (0.1428ms)
8427
+ Started GET "/" for 127.0.0.1 at 2014-04-21 01:18:24 +0200
8428
+ Processing by Locomotive::Public::PagesController#show as HTML
8429
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
8430
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6080ms)
8431
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd6100004a", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6468ms)
8432
+ Rendered text template (0.0ms)
8433
+ Completed 200 OK in 4.9ms (Views: 0.5ms)
8434
+ Started GET "/en/search?search=findable" for 127.0.0.1 at 2014-04-21 01:18:24 +0200
8435
+ Processing by Locomotive::Public::PagesController#show as HTML
8436
+ Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"}
8437
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
8438
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6211ms)
8439
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd6100004a", "depth"=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7710ms)
8440
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={"text"=>"active_search_mongoid_indices", "search"=>"findable", "language"=>"english", "filter"=>{"stored.site_id"=>"535455bf247580fd6100004a", "locale"=>"en"}} (0.5682ms)
8441
+ Rendered text template (0.0ms)
8442
+ Completed 200 OK in 8.2ms (Views: 0.6ms)
8443
+ Started GET "/findable" for 127.0.0.1 at 2014-04-21 01:18:24 +0200
8444
+ Processing by Locomotive::Public::PagesController#show as HTML
8445
+ Parameters: {"path"=>"findable"}
8446
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
8447
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6971ms)
8448
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd6100004a", "depth"=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6459ms)
8449
+ Rendered text template (0.0ms)
8450
+ Completed 200 OK in 4.2ms (Views: 0.3ms)
8451
+ Started GET "/" for 127.0.0.1 at 2014-04-21 01:18:24 +0200
8452
+ Processing by Locomotive::Public::PagesController#show as HTML
8453
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
8454
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6249ms)
8455
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd6100004a", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7019ms)
8456
+ Rendered text template (0.0ms)
8457
+ Completed 200 OK in 4.1ms (Views: 0.4ms)
8458
+ Started GET "/en/search?search=not+found" for 127.0.0.1 at 2014-04-21 01:18:24 +0200
8459
+ Processing by Locomotive::Public::PagesController#show as HTML
8460
+ Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"}
8461
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
8462
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.8380ms)
8463
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455bf247580fd6100004a", "depth"=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7350ms)
8464
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={"text"=>"active_search_mongoid_indices", "search"=>"not found", "language"=>"english", "filter"=>{"stored.site_id"=>"535455bf247580fd6100004a", "locale"=>"en"}} (0.4280ms)
8465
+ Rendered text template (0.0ms)
8466
+ Completed 200 OK in 5.7ms (Views: 0.3ms)
8467
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6902ms)
8468
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"active_search_mongoid_indices"} (0.7560ms)
8469
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (0.4890ms)
8470
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (0.4590ms)
8471
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (0.5109ms)
8472
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (0.4070ms)
8473
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (0.3812ms)
8474
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0440ms)
8475
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5450ms)
8476
+ Creating scope :root. Overwriting existing method Locomotive::Page.root.
8477
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5360ms)
8478
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=system.indexes documents=[{:ns=>"locomotive_search_test.active_search_mongoid_indices", :key=>{:content=>"text", :locale=>1}, :name=>"content_text_locale_1"}] flags=[] (0.3870ms)
8479
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=system.indexes documents=[{:unique=>true, :ns=>"locomotive_search_test.active_search_mongoid_indices", :key=>{:original_type=>1, :original_id=>1, :locale=>1}, :name=>"original_type_1_original_id_1_locale_1"}] flags=[] (0.1469ms)
8480
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5870ms)
8481
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"email"=>"admin@locomotiveapp.org"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5372ms)
8482
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"535455c5247580c446000001", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"f93fc034ac29c6e3680873dee09bc9474ee11449", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"dtfhJ9PE823XmdJsCUWv", "api_key"=>"91e30cecc05b81ccd40a193d69e4dfacfaf0bd0c", "updated_at"=>2014-04-20 23:18:29 UTC, "created_at"=>2014-04-20 23:18:29 UTC}] flags=[] (0.1402ms)
8483
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.7491ms)
8484
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"535455c5247580c446000002", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2014-04-20 23:18:29 UTC, "updated_at"=>2014-04-20 23:18:29 UTC, "memberships"=>[{"_id"=>"535455c5247580c446000003", "role"=>"admin", "account_id"=>"535455c5247580c446000001"}]}] flags=[] (0.1771ms)
8485
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455c5247580c446000002", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.7970ms)
8486
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455c5247580c446000002", "_id"=>{"$ne"=>"535455c5247580c446000004"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5167ms)
8487
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455c5247580c446000004", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"535455c5247580c446000002", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:29 UTC, "created_at"=>2014-04-20 23:18:29 UTC}] flags=[] (0.2732ms)
8488
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c5247580c446000004"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5100ms)
8489
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c5247580c446000002", "template_dependencies.en"=>{"$in"=>["535455c5247580c446000004"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3610ms)
8490
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455c5247580c446000004"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1459ms)
8491
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455c5247580c446000004", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4961ms)
8492
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455c5247580c446000005", "stored"=>{:title=>"Home page", :searchable_content=>"Content of the home page", :search_type=>"page", :label=>"Home page", :site_id=>"535455c5247580c446000002", :fullpath=>"index"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455c5247580c446000004", "locale"=>"en", "language"=>"english", "content"=>["Home page", "Content of the home page"]}] flags=[] (0.2501ms)
8493
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455c5247580c446000002", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4749ms)
8494
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455c5247580c446000002", "_id"=>{"$ne"=>"535455c5247580c446000006"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7002ms)
8495
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455c5247580c446000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4308ms)
8496
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455c5247580c446000006", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"535455c5247580c446000002", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:29 UTC, "created_at"=>2014-04-20 23:18:29 UTC}] flags=[] (0.1760ms)
8497
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c5247580c446000002", "template_dependencies.en"=>{"$in"=>["535455c5247580c446000006"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3138ms)
8498
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c5247580c446000006"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3932ms)
8499
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455c5247580c446000006"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1070ms)
8500
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455c5247580c446000002", "slug"=>"authors"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4339ms)
8501
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"535455c5247580c446000007", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Authors", "description"=>"The list of my projects", "site_id"=>"535455c5247580c446000002", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"authors", "order_by"=>"created_at", "label_field_name"=>"fullname", "label_field_id"=>"535455c5247580c446000008", "updated_at"=>2014-04-20 23:18:29 UTC, "created_at"=>2014-04-20 23:18:29 UTC, "entries_custom_fields"=>[{"_id"=>"535455c5247580c446000008", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Fullname", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"fullname"}]}] flags=[] (0.2251ms)
8502
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455c5247580c446000002", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5941ms)
8503
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455c5247580c446000007"} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6480ms)
8504
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"535455c5247580c446000009", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"535455c5247580c446000002", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"535455c5247580c44600000a", "updated_at"=>2014-04-20 23:18:29 UTC, "created_at"=>2014-04-20 23:18:29 UTC, "entries_custom_fields"=>[{"_id"=>"535455c5247580c44600000a", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}, {"_id"=>"535455c5247580c44600000b", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Author", "type"=>"belongs_to", "class_name"=>"Locomotive::ContentEntry535455c5247580c446000007", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"author"}, {"_id"=>"535455c5247580c44600000c", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Stuff", "type"=>"text", "searchable"=>false, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"stuff"}]}] flags=[] (0.3679ms)
8505
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455c5247580c446000002", "_id"=>"535455c5247580c446000007"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6521ms)
8506
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455c5247580c446000009"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6840ms)
8507
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_type"=>{"$in"=>["Locomotive::ContentEntry535455c5247580c446000007"]}} update={"$set"=>{"_label_field_name"=>"fullname"}} flags=[:multi] (0.1550ms)
8508
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455c5247580c446000007"} update={"$set"=>{"updated_at"=>2014-04-20 23:18:29 UTC, "entries_custom_fields_version"=>1}, "$pushAll"=>{"entries_custom_fields"=>[{"_id"=>"535455c5247580c44600000d", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Examples", "type"=>"has_many", "class_name"=>"Locomotive::ContentEntry535455c5247580c446000009", "inverse_of"=>"author", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"examples", "order_by"=>nil}]}} flags=[] (0.1512ms)
8509
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455c5247580c446000007"} update={"$set"=>{"custom_fields_recipe.rules"=>[{"name"=>"fullname", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"examples", "type"=>"has_many", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455c5247580c446000009", "inverse_of"=>"author", "order_by"=>nil}], "custom_fields_recipe.version"=>1}, "$unset"=>{}, "$rename"=>{}} flags={:multi=>true} (0.1149ms)
8510
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455c5247580c44600000e"}, "_slug.en"=>"john-doe", "_type"=>{"$in"=>["Locomotive::ContentEntry535455c5247580c446000007"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4678ms)
8511
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455c5247580c446000007", "$or"=>[{"_slug.en"=>"john-doe"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4439ms)
8512
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455c5247580c446000007"]}}} (0.4821ms)
8513
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455c5247580c44600000e", "_position"=>0, "_visible"=>true, "fullname"=>"John Doe", "custom_fields_recipe"=>{"name"=>"ContentEntry535455c5247580c446000007", "rules"=>[{"name"=>"fullname", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"examples", "type"=>"has_many", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455c5247580c446000009", "inverse_of"=>"author", "order_by"=>nil}], "version"=>1, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry535455c5247580c446000007", "content_type_id"=>"535455c5247580c446000007", "_slug"=>{"en"=>"john-doe"}, "site_id"=>"535455c5247580c446000002", "_translated"=>{"en"=>true}, "_label_field_name"=>"fullname", "updated_at"=>2014-04-20 23:18:29 UTC, "created_at"=>2014-04-20 23:18:29 UTC}] flags=[] (0.2241ms)
8514
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::ContentEntry535455c5247580c446000007", "original_id"=>"535455c5247580c44600000e", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6208ms)
8515
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"author_id"=>"535455c5247580c44600000e", "_type"=>{"$in"=>["Locomotive::ContentEntry535455c5247580c446000009"]}}} (0.4489ms)
8516
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"author_id"=>"535455c5247580c44600000e", "_type"=>{"$in"=>["Locomotive::ContentEntry535455c5247580c446000009"]}}, "$orderby"=>{"position_in_author"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3769ms)
8517
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455c5247580c44600000f", "stored"=>{"fullname"=>"John Doe", :search_type=>"Authors", :label=>"John Doe", :_slug=>"john-doe", :site_id=>"535455c5247580c446000002", :content_type_slug=>"authors"}, "original_type"=>"Locomotive::ContentEntry535455c5247580c446000007", "original_id"=>"535455c5247580c44600000e", "locale"=>"en", "language"=>"english", "content"=>["John Doe"]}] flags=[] (0.1338ms)
8518
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455c5247580c446000010"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry535455c5247580c446000009"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5109ms)
8519
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455c5247580c446000009", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.8731ms)
8520
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455c5247580c446000009"]}}} (0.6187ms)
8521
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455c5247580c446000009"]}}} (0.7238ms)
8522
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455c5247580c446000010", "_position"=>0, "_visible"=>true, "position_in_author"=>1, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry535455c5247580c446000009", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"author", "type"=>"belongs_to", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455c5247580c446000007"}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "author_id"=>"535455c5247580c44600000e", "_type"=>"Locomotive::ContentEntry535455c5247580c446000009", "content_type_id"=>"535455c5247580c446000009", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"535455c5247580c446000002", "_translated"=>{"en"=>true}, "_label_field_name"=>"name", "updated_at"=>2014-04-20 23:18:29 UTC, "created_at"=>2014-04-20 23:18:29 UTC}] flags=[] (0.3510ms)
8523
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::ContentEntry535455c5247580c446000009", "original_id"=>"535455c5247580c446000010", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4129ms)
8524
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"author_id"=>"535455c5247580c44600000e", "_type"=>{"$in"=>["Locomotive::ContentEntry535455c5247580c446000009"]}}, "$orderby"=>{"position_in_author"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8440ms)
8525
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455c5247580c446000011", "stored"=>{"name"=>"Findable entry", "author"=>{"fullname"=>"John Doe", "examples"=>["Findable entry"]}, :search_type=>"Examples", :label=>"Findable entry", :_slug=>"findable-entry", :site_id=>"535455c5247580c446000002", :content_type_slug=>"examples"}, "original_type"=>"Locomotive::ContentEntry535455c5247580c446000009", "original_id"=>"535455c5247580c446000010", "locale"=>"en", "language"=>"english", "content"=>["Findable entry", "John Doe"]}] flags=[] (0.3231ms)
8526
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455c5247580c446000012"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry535455c5247580c446000009"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6249ms)
8527
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455c5247580c446000009", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5660ms)
8528
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455c5247580c446000009"]}}} (0.7420ms)
8529
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455c5247580c446000009"]}}} (0.3102ms)
8530
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455c5247580c446000009"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.4590ms)
8531
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455c5247580c446000009"]}}} (0.2308ms)
8532
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455c5247580c446000009"]}, "position_in_author"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"position_in_author", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$position_in_author"}, "min"=>{"$min"=>"$position_in_author"}, "sum"=>{"$sum"=>"$position_in_author"}, "avg"=>{"$avg"=>"$position_in_author"}}}]} (0.4861ms)
8533
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455c5247580c446000012", "_position"=>1, "_visible"=>true, "position_in_author"=>2, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry535455c5247580c446000009", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"author", "type"=>"belongs_to", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455c5247580c446000007"}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry535455c5247580c446000009", "content_type_id"=>"535455c5247580c446000009", "_slug"=>{"en"=>"hidden"}, "site_id"=>"535455c5247580c446000002", "_translated"=>{"en"=>true}, "_label_field_name"=>"name", "updated_at"=>2014-04-20 23:18:29 UTC, "created_at"=>2014-04-20 23:18:29 UTC}] flags=[] (0.2239ms)
8534
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::ContentEntry535455c5247580c446000009", "original_id"=>"535455c5247580c446000012", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4332ms)
8535
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455c5247580c446000013", "stored"=>{"name"=>"Hidden", :search_type=>"Examples", :label=>"Hidden", :_slug=>"hidden", :site_id=>"535455c5247580c446000002", :content_type_slug=>"examples"}, "original_type"=>"Locomotive::ContentEntry535455c5247580c446000009", "original_id"=>"535455c5247580c446000012", "locale"=>"en", "language"=>"english", "content"=>["Hidden"]}] flags=[] (0.3049ms)
8536
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.8330ms)
8537
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455c5247580c446000002", "parent_id"=>"535455c5247580c446000004", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5531ms)
8538
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c5247580c446000004", "site_id"=>"535455c5247580c446000002", "_id"=>{"$ne"=>"535455c5247580c446000014"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6969ms)
8539
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455c5247580c446000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8051ms)
8540
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455c5247580c446000014", "parent_ids"=>["535455c5247580c446000004"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>"535455c5247580c446000002", "parent_id"=>"535455c5247580c446000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:29 UTC, "created_at"=>2014-04-20 23:18:29 UTC}] flags=[] (0.3779ms)
8541
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c5247580c446000002", "template_dependencies.en"=>{"$in"=>["535455c5247580c446000014"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5713ms)
8542
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c5247580c446000014"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4077ms)
8543
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455c5247580c446000014"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1180ms)
8544
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455c5247580c446000014", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4730ms)
8545
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455c5247580c446000015", "stored"=>{:title=>"Please search for this findable page", :searchable_content=>"This is what you were looking for", :search_type=>"page", :label=>"Please search for this findable page", :site_id=>"535455c5247580c446000002", :fullpath=>"findable"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455c5247580c446000014", "locale"=>"en", "language"=>"english", "content"=>["Please search for this findable page", "This is what you were looking for"]}] flags=[] (0.2680ms)
8546
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6180ms)
8547
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455c5247580c446000002", "parent_id"=>"535455c5247580c446000004", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6068ms)
8548
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c5247580c446000004", "site_id"=>"535455c5247580c446000002", "_id"=>{"$ne"=>"535455c5247580c446000016"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (1.1342ms)
8549
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c5247580c446000004", "site_id"=>"535455c5247580c446000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6380ms)
8550
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455c5247580c446000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.9060ms)
8551
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455c5247580c446000016", "parent_ids"=>["535455c5247580c446000004"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>false, "raw_template"=>{"en"=>"Not published, so can't be found"}, "title"=>{"en"=>"Unpublished findable"}, "slug"=>{"en"=>"unpublished-findable"}, "site_id"=>"535455c5247580c446000002", "parent_id"=>"535455c5247580c446000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:30 UTC, "created_at"=>2014-04-20 23:18:30 UTC}] flags=[] (0.3483ms)
8552
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c5247580c446000002", "template_dependencies.en"=>{"$in"=>["535455c5247580c446000016"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3989ms)
8553
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c5247580c446000016"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3409ms)
8554
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455c5247580c446000016"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0939ms)
8555
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7751ms)
8556
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455c5247580c446000002", "parent_id"=>"535455c5247580c446000004", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5410ms)
8557
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c5247580c446000004", "site_id"=>"535455c5247580c446000002", "_id"=>{"$ne"=>"535455c6247580c446000017"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (1.2228ms)
8558
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c5247580c446000004", "site_id"=>"535455c5247580c446000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.8879ms)
8559
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455c5247580c446000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5629ms)
8560
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455c6247580c446000017", "parent_ids"=>["535455c5247580c446000004"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>false, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Even if it seems findable, it sound't be found because of the searchable flag"}, "title"=>{"en"=>"Seems findable"}, "slug"=>{"en"=>"seems-findable"}, "site_id"=>"535455c5247580c446000002", "parent_id"=>"535455c5247580c446000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:30 UTC, "created_at"=>2014-04-20 23:18:30 UTC}] flags=[] (0.1969ms)
8561
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c5247580c446000002", "template_dependencies.en"=>{"$in"=>["535455c6247580c446000017"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3471ms)
8562
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c6247580c446000017"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4740ms)
8563
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455c6247580c446000017"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1261ms)
8564
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (1.3351ms)
8565
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455c5247580c446000002", "parent_id"=>"535455c5247580c446000004", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5660ms)
8566
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c5247580c446000004", "site_id"=>"535455c5247580c446000002", "_id"=>{"$ne"=>"535455c6247580c446000018"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8650ms)
8567
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c5247580c446000004", "site_id"=>"535455c5247580c446000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5200ms)
8568
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455c5247580c446000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5519ms)
8569
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455c6247580c446000018", "parent_ids"=>["535455c5247580c446000004"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>" <html>\n <body>\n {% search_for params.search, page: params.page, per_page: 2 %}\n * Total entries: {{ search.total_entries }}\n * Search results:\n <ul>\n {% for result in search.results %}\n {% if result.content_type_slug == 'examples' %}\n <li><a href=\"/examples/{{result._slug}}\">{{ result.name }}</a></li>\n {% else %}\n <li><a href=\"/{{result.fullpath}}\">{{ result.title }}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n {% endsearch_for %}\n </body>\n </html>\n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"535455c5247580c446000002", "parent_id"=>"535455c5247580c446000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1786>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:30 UTC, "created_at"=>2014-04-20 23:18:30 UTC}] flags=[] (0.1791ms)
8570
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c5247580c446000002", "template_dependencies.en"=>{"$in"=>["535455c6247580c446000018"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3510ms)
8571
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c6247580c446000018"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3741ms)
8572
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455c6247580c446000018"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0961ms)
8573
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455c6247580c446000018", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3347ms)
8574
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={"text"=>"active_search_mongoid_indices", "search"=>nil, "language"=>"english", "filter"=>{"stored.site_id"=>"535455c5247580c446000002", "locale"=>"en"}} (0.5882ms)
8575
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={"text"=>"active_search_mongoid_indices", "search"=>nil, "language"=>"english", "filter"=>{"stored.site_id"=>"535455c5247580c446000002", "locale"=>"en"}} (0.5081ms)
8576
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455c6247580c446000019", "stored"=>{:title=>"search", :searchable_content=>" \n \n \n * Total entries: \n * Search results:\n \n \n \n \n \n \n", :search_type=>"page", :label=>"search", :site_id=>"535455c5247580c446000002", :fullpath=>"search"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455c6247580c446000018", "locale"=>"en", "language"=>"english", "content"=>["search", " \n \n \n * Total entries: \n * Search results:\n \n \n \n \n \n \n"]}] flags=[] (0.1469ms)
8577
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c5247580c446000002", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5279ms)
8578
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"535455c5247580c446000002"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3521ms)
8579
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"535455c5247580c446000004"} update={"$set"=>{"raw_template"=>{"en"=>"\n <form action=\"/{{ locale }}/search\" method=\"GET\">\n <label for=\"search\">Search</label>\n <input type=\"text\" name=\"search\" id=\"search\">\n <input type=\"submit\" value=\"Search\">\n </form>"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=371>}, "updated_at"=>2014-04-20 23:18:30 UTC}} flags=[] (0.1431ms)
8580
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c5247580c446000002", "template_dependencies.en"=>{"$in"=>["535455c5247580c446000004"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3669ms)
8581
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455c5247580c446000004", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5441ms)
8582
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_indices selector={"_id"=>"535455c5247580c446000005"} update={"$set"=>{"stored"=>{:title=>"Home page", :searchable_content=>"\n \n Search\n \n \n ", :search_type=>"page", :label=>"Home page", :site_id=>"535455c5247580c446000002", :fullpath=>"index"}, "content"=>["Home page", "\n \n Search\n \n \n "]}} flags=[] (0.1349ms)
8583
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5381ms)
8584
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test2"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3788ms)
8585
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"535455c6247580c44600001a", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2014-04-20 23:18:29 UTC, "updated_at"=>2014-04-20 23:18:30 UTC, "memberships"=>[{"_id"=>"535455c6247580c44600001b", "role"=>"admin", "account_id"=>"535455c5247580c446000001"}]}] flags=[] (0.1390ms)
8586
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455c6247580c44600001a", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4640ms)
8587
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455c6247580c44600001a", "_id"=>{"$ne"=>"535455c6247580c44600001c"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4268ms)
8588
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455c6247580c44600001c", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"535455c6247580c44600001a", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:30 UTC, "created_at"=>2014-04-20 23:18:30 UTC}] flags=[] (0.1829ms)
8589
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c6247580c44600001a", "template_dependencies.en"=>{"$in"=>["535455c6247580c44600001c"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3679ms)
8590
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c6247580c44600001c"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3450ms)
8591
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455c6247580c44600001c"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0942ms)
8592
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455c6247580c44600001c", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3040ms)
8593
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455c6247580c44600001d", "stored"=>{:title=>"Home page", :searchable_content=>"Content of the home page", :search_type=>"page", :label=>"Home page", :site_id=>"535455c6247580c44600001a", :fullpath=>"index"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455c6247580c44600001c", "locale"=>"en", "language"=>"english", "content"=>["Home page", "Content of the home page"]}] flags=[] (0.1540ms)
8594
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455c6247580c44600001a", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4630ms)
8595
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455c6247580c44600001a", "_id"=>{"$ne"=>"535455c6247580c44600001e"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6473ms)
8596
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455c6247580c44600001a"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4849ms)
8597
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455c6247580c44600001e", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"535455c6247580c44600001a", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:30 UTC, "created_at"=>2014-04-20 23:18:30 UTC}] flags=[] (0.1662ms)
8598
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c6247580c44600001a", "template_dependencies.en"=>{"$in"=>["535455c6247580c44600001e"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3200ms)
8599
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c6247580c44600001e"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3598ms)
8600
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455c6247580c44600001e"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0854ms)
8601
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455c6247580c44600001a", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4830ms)
8602
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455c6247580c44600001a", "_id"=>{"$ne"=>"535455c6247580c44600001f"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7069ms)
8603
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455c6247580c44600001a"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4818ms)
8604
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"_id"=>{"$in"=>[]}}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.2618ms)
8605
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455c6247580c44600001f", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Rickroll"}, "title"=>{"en"=>"This should never show up in the search, even if it would be findable"}, "slug"=>{"en"=>"rickroll"}, "site_id"=>"535455c6247580c44600001a", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:30 UTC, "created_at"=>2014-04-20 23:18:30 UTC}] flags=[] (0.1831ms)
8606
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c6247580c44600001a", "template_dependencies.en"=>{"$in"=>["535455c6247580c44600001f"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3319ms)
8607
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c6247580c44600001f"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3419ms)
8608
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455c6247580c44600001f"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0911ms)
8609
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455c6247580c44600001f", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3459ms)
8610
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455c6247580c446000020", "stored"=>{:title=>"This should never show up in the search, even if it would be findable", :searchable_content=>"Rickroll", :search_type=>"page", :label=>"This should never show up in the search, even if it would be findable", :site_id=>"535455c6247580c44600001a", :fullpath=>"rickroll"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455c6247580c44600001f", "locale"=>"en", "language"=>"english", "content"=>["This should never show up in the search, even if it would be findable", "Rickroll"]}] flags=[] (0.1478ms)
8611
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455c6247580c44600001a", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5069ms)
8612
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"535455c6247580c446000021", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"535455c6247580c44600001a", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"535455c6247580c446000022", "updated_at"=>2014-04-20 23:18:30 UTC, "created_at"=>2014-04-20 23:18:30 UTC, "entries_custom_fields"=>[{"_id"=>"535455c6247580c446000022", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}]}] flags=[] (0.1981ms)
8613
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455c6247580c446000023"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry535455c6247580c446000021"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5789ms)
8614
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455c6247580c446000021", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4869ms)
8615
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455c6247580c446000021"]}}} (0.5319ms)
8616
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455c6247580c446000023", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry535455c6247580c446000021", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry535455c6247580c446000021", "content_type_id"=>"535455c6247580c446000021", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"535455c6247580c44600001a", "_translated"=>{"en"=>true}, "_label_field_name"=>"name", "updated_at"=>2014-04-20 23:18:30 UTC, "created_at"=>2014-04-20 23:18:30 UTC}] flags=[] (0.1447ms)
8617
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::ContentEntry535455c6247580c446000021", "original_id"=>"535455c6247580c446000023", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4351ms)
8618
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455c6247580c446000024", "stored"=>{"name"=>"NOT Findable entry", :search_type=>"Examples", :label=>"NOT Findable entry", :_slug=>"not-findable-entry", :site_id=>"535455c6247580c44600001a", :content_type_slug=>"examples"}, "original_type"=>"Locomotive::ContentEntry535455c6247580c446000021", "original_id"=>"535455c6247580c446000023", "locale"=>"en", "language"=>"english", "content"=>["NOT Findable entry"]}] flags=[] (0.1752ms)
8619
+ Started GET "/locomotive" for 127.0.0.1 at 2014-04-21 01:18:31 +0200
8620
+ Processing by Locomotive::SessionsController#new as HTML
8621
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
8622
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9251ms)
8623
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5860ms)
8624
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>{"$in"=>["535455c5247580c446000001"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4764ms)
8625
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/sessions/new.html.haml within /locomotive/layouts/not_logged_in (16.0ms)
8626
+ Completed 200 OK in 34.6ms (Views: 28.5ms)
8627
+ Started GET "/assets/locomotive/not_logged_in.js" for 127.0.0.1 at 2014-04-21 01:18:31 +0200
8628
+ Served asset /locomotive/not_logged_in.js - 200 OK (8ms)
8629
+ Started GET "/assets/locomotive/not_logged_in.css" for 127.0.0.1 at 2014-04-21 01:18:31 +0200
8630
+ Served asset /locomotive/not_logged_in.css - 200 OK (7ms)
8631
+ Started GET "/assets/locomotive/background/body.png" for 127.0.0.1 at 2014-04-21 01:18:31 +0200
8632
+ Served asset /locomotive/background/body.png - 200 OK (2ms)
8633
+ Started POST "/locomotive/sign_in" for 127.0.0.1 at 2014-04-21 01:18:31 +0200
8634
+ Processing by Locomotive::SessionsController#create as HTML
8635
+ Parameters: {"utf8"=>"✓", "locomotive_account"=>{"remember_me"=>"true", "email"=>"admin@locomotiveapp.org", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
8636
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
8637
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6380ms)
8638
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>{"$in"=>["535455c5247580c446000001"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4051ms)
8639
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"email"=>"admin@locomotiveapp.org"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5951ms)
8640
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>"535455c5247580c446000001"} update={"$set"=>{"remember_created_at"=>2014-04-20 23:18:31 UTC, "updated_at"=>2014-04-20 23:18:31 UTC}} flags=[] (0.1559ms)
8641
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>"535455c5247580c446000001"} update={"$set"=>{"last_sign_in_at"=>2014-04-20 23:18:31 UTC, "current_sign_in_at"=>2014-04-20 23:18:31 UTC, "last_sign_in_ip"=>"127.0.0.1", "current_sign_in_ip"=>"127.0.0.1", "sign_in_count"=>1, "updated_at"=>2014-04-20 23:18:31 UTC}} flags=[] (0.1640ms)
8642
+ Redirected to http://test.example.com:7171/locomotive/pages
8643
+ Completed 302 Found in 20.2ms
8644
+ Started GET "/locomotive/pages" for 127.0.0.1 at 2014-04-21 01:18:31 +0200
8645
+ Processing by Locomotive::PagesController#index as HTML
8646
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
8647
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.8690ms)
8648
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>"535455c5247580c446000001"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4129ms)
8649
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>{"$in"=>["535455c5247580c446000001"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4342ms)
8650
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c5247580c446000002"}, "$orderby"=>{"depth"=>1, "position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"serialized_template.en"=>0, "template_dependencies.en"=>0, "snippet_dependencies.en"=>0, "templatized_from_parent"=>0, "redirect_url.en"=>0, "redirect_type"=>0, "seo_title.en"=>0, "meta_keywords.en"=>0, "meta_description.en"=>0, "handle"=>0, "raw_template.en"=>0, "locales"=>0, "cache_strategy"=>0, "searchable"=>0} (1.5469ms)
8651
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c5247580c446000002"}, "$orderby"=>{"position"=>1, "updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields={"serialized_template.en"=>0, "template_dependencies.en"=>0, "snippet_dependencies.en"=>0, "templatized_from_parent"=>0, "redirect_url.en"=>0, "redirect_type"=>0, "seo_title.en"=>0, "meta_keywords.en"=>0, "meta_description.en"=>0, "handle"=>0, "raw_template.en"=>0, "locales"=>0, "cache_strategy"=>0, "searchable"=>0} (1.2341ms)
8652
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"535455c5247580c446000002"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"site_id"=>1, "name"=>1, "slug"=>1, "label_field_name"=>1} (0.6011ms)
8653
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"535455c5247580c446000002"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"site_id"=>1, "name"=>1, "slug"=>1, "label_field_name"=>1} (0.3986ms)
8654
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"535455c5247580c446000007"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (0.5918ms)
8655
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"535455c5247580c446000009"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (0.7799ms)
8656
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/menu/_contents.html.haml (27.8ms)
8657
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/actions/_contents.html.haml (2.3ms)
8658
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/pages/_page.html.haml (4.0ms)
8659
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/pages/_page.html.haml (10.9ms)
8660
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/pages/index.html.haml within /locomotive/layouts/application (50.9ms)
8661
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_main_app_head_before_backbone.html.haml (1.7ms)
8662
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships"=>{"$elemMatch"=>{:account_id=>"535455c5247580c446000001", :role=>:admin}}}} (0.6902ms)
8663
+ Rendered locomotive/shared/_main_app_head.html.haml (2.7ms)
8664
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_head.html.haml (16.3ms)
8665
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships.account_id"=>"535455c5247580c446000001"}} (0.7308ms)
8666
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/cells/locomotive/global_actions/show.html.haml (2.5ms)
8667
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"memberships.account_id"=>"535455c5247580c446000001"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6580ms)
8668
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_site_picker.html.haml (5.4ms)
8669
+ Rendered /Users/didier/Documents/LocomotiveCMS/gems/search/app/views/locomotive/shared/_search_bar.html.haml (6.7ms)
8670
+ Rendered locomotive/shared/_main_app_header.html.haml (9.2ms)
8671
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_header.html.haml (38.9ms)
8672
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/cells/locomotive/main_menu/show.html.haml (2.9ms)
8673
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_footer.html.haml (1.8ms)
8674
+ Completed 200 OK in 149.9ms (Views: 131.7ms)
8675
+ Started GET "/assets/locomotive.css" for 127.0.0.1 at 2014-04-21 01:18:31 +0200
8676
+ Served asset /locomotive.css - 200 OK (58ms)
8677
+ Started GET "/assets/locomotive.js" for 127.0.0.1 at 2014-04-21 01:18:31 +0200
8678
+ Served asset /locomotive.js - 200 OK (150ms)
8679
+ Started GET "/assets/locomotive/search_bar.js" for 127.0.0.1 at 2014-04-21 01:18:31 +0200
8680
+ Served asset /locomotive/search_bar.js - 200 OK (7ms)
8681
+ Started GET "/assets/locomotive/search_bar.css" for 127.0.0.1 at 2014-04-21 01:18:31 +0200
8682
+ Served asset /locomotive/search_bar.css - 200 OK (4ms)
8683
+ Started GET "/assets/locomotive/list/item-left.png" for 127.0.0.1 at 2014-04-21 01:18:31 +0200
8684
+ Served asset /locomotive/list/item-left.png - 200 OK (2ms)
8685
+ Started GET "/assets/locomotive/nocoffee.png" for 127.0.0.1 at 2014-04-21 01:18:32 +0200
8686
+ Served asset /locomotive/nocoffee.png - 200 OK (1ms)
8687
+ Started GET "/assets/locomotive/plugins/sites_picker_top_arrow.png" for 127.0.0.1 at 2014-04-21 01:18:32 +0200
8688
+ Served asset /locomotive/plugins/sites_picker_top_arrow.png - 200 OK (2ms)
8689
+ Started GET "/locomotive/content_types/new" for 127.0.0.1 at 2014-04-21 01:18:32 +0200
8690
+ Processing by Locomotive::ContentTypesController#new as HTML
8691
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
8692
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (1.0750ms)
8693
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>"535455c5247580c446000001"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4311ms)
8694
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>{"$in"=>["535455c5247580c446000001"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6180ms)
8695
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c5247580c446000002"}, "$orderby"=>{"position"=>1, "updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields={"serialized_template.en"=>0, "template_dependencies.en"=>0, "snippet_dependencies.en"=>0, "templatized_from_parent"=>0, "redirect_url.en"=>0, "redirect_type"=>0, "seo_title.en"=>0, "meta_keywords.en"=>0, "meta_description.en"=>0, "handle"=>0, "raw_template.en"=>0, "locales"=>0, "cache_strategy"=>0, "searchable"=>0} (1.4660ms)
8696
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"535455c5247580c446000002"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"site_id"=>1, "name"=>1, "slug"=>1, "label_field_name"=>1} (0.6421ms)
8697
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"535455c5247580c446000002"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"site_id"=>1, "name"=>1, "slug"=>1, "label_field_name"=>1} (0.4978ms)
8698
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"535455c5247580c446000007"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (0.6878ms)
8699
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"535455c5247580c446000009"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (0.7901ms)
8700
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/menu/_contents.html.haml (19.5ms)
8701
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/actions/_contents.html.haml (0.6ms)
8702
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455c5247580c446000002"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8352ms)
8703
+ Rendered /Users/didier/Documents/LocomotiveCMS/gems/search/app/cells/locomotive/partials/searchable.html.haml (4.9ms)
8704
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/custom_fields/_select_templates.html.haml (3.6ms)
8705
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/custom_fields/_form.html.haml (62.4ms)
8706
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455c5247580c446000002", "entries_custom_fields.type"=>{"$in"=>["belongs_to", "many_to_many"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8483ms)
8707
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/content_types/_form.html.haml (84.6ms)
8708
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_form_actions.html.haml (2.5ms)
8709
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/content_types/new.html.haml within /locomotive/layouts/application (115.8ms)
8710
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_main_app_head_before_backbone.html.haml (0.0ms)
8711
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships"=>{"$elemMatch"=>{:account_id=>"535455c5247580c446000001", :role=>:admin}}}} (0.5651ms)
8712
+ Rendered locomotive/shared/_main_app_head.html.haml (0.6ms)
8713
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_head.html.haml (5.5ms)
8714
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships.account_id"=>"535455c5247580c446000001"}} (0.4461ms)
8715
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/cells/locomotive/global_actions/show.html.haml (0.8ms)
8716
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"memberships.account_id"=>"535455c5247580c446000001"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6051ms)
8717
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_site_picker.html.haml (1.7ms)
8718
+ Rendered /Users/didier/Documents/LocomotiveCMS/gems/search/app/views/locomotive/shared/_search_bar.html.haml (1.0ms)
8719
+ Rendered locomotive/shared/_main_app_header.html.haml (1.2ms)
8720
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_header.html.haml (8.2ms)
8721
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/cells/locomotive/main_menu/show.html.haml (0.6ms)
8722
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_footer.html.haml (0.2ms)
8723
+ Completed 200 OK in 157.5ms (Views: 138.1ms)
8724
+ Started GET "/assets/locomotive/form/input-sep.png" for 127.0.0.1 at 2014-04-21 01:18:32 +0200
8725
+ Served asset /locomotive/form/input-sep.png - 200 OK (2ms)
8726
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.9570ms)
8727
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"active_search_mongoid_indices"} (2.7230ms)
8728
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (1.4379ms)
8729
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (1.3950ms)
8730
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (1.5738ms)
8731
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (0.8380ms)
8732
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (0.6609ms)
8733
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5939ms)
8734
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=system.indexes documents=[{:ns=>"locomotive_search_test.active_search_mongoid_indices", :key=>{:content=>"text", :locale=>1}, :name=>"content_text_locale_1"}] flags=[] (0.2751ms)
8735
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=system.indexes documents=[{:unique=>true, :ns=>"locomotive_search_test.active_search_mongoid_indices", :key=>{:original_type=>1, :original_id=>1, :locale=>1}, :name=>"original_type_1_original_id_1_locale_1"}] flags=[] (0.3650ms)
8736
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (1.1928ms)
8737
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"email"=>"admin@locomotiveapp.org"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.7210ms)
8738
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"535455c8247580c446000026", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"4c10aa3c4a84dcf84c7a274ed4ff581e7c6b4d02", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"9TqcyKUJn3if6EpRKWUS", "api_key"=>"913cf9b8606e0acd3f70d9da236a5a29d895dd1e", "updated_at"=>2014-04-20 23:18:32 UTC, "created_at"=>2014-04-20 23:18:32 UTC}] flags=[] (0.2270ms)
8739
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (1.9751ms)
8740
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"535455c8247580c446000027", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2014-04-20 23:18:29 UTC, "updated_at"=>2014-04-20 23:18:32 UTC, "memberships"=>[{"_id"=>"535455c8247580c446000028", "role"=>"admin", "account_id"=>"535455c8247580c446000026"}]}] flags=[] (0.3071ms)
8741
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455c8247580c446000027", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.9820ms)
8742
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455c8247580c446000027", "_id"=>{"$ne"=>"535455c8247580c446000029"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (1.2290ms)
8743
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455c8247580c446000029", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"535455c8247580c446000027", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:32 UTC, "created_at"=>2014-04-20 23:18:32 UTC}] flags=[] (0.3009ms)
8744
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c8247580c446000027", "template_dependencies.en"=>{"$in"=>["535455c8247580c446000029"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5450ms)
8745
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c8247580c446000029"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8309ms)
8746
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455c8247580c446000029"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1180ms)
8747
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455c8247580c446000029", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3898ms)
8748
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455c8247580c44600002a", "stored"=>{:title=>"Home page", :searchable_content=>"Content of the home page", :search_type=>"page", :label=>"Home page", :site_id=>"535455c8247580c446000027", :fullpath=>"index"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455c8247580c446000029", "locale"=>"en", "language"=>"english", "content"=>["Home page", "Content of the home page"]}] flags=[] (0.1740ms)
8749
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455c8247580c446000027", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.7010ms)
8750
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455c8247580c446000027", "_id"=>{"$ne"=>"535455c8247580c44600002b"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (1.1609ms)
8751
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455c8247580c446000027"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.9630ms)
8752
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455c8247580c44600002b", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"535455c8247580c446000027", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:32 UTC, "created_at"=>2014-04-20 23:18:32 UTC}] flags=[] (0.6011ms)
8753
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c8247580c446000027", "template_dependencies.en"=>{"$in"=>["535455c8247580c44600002b"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.9310ms)
8754
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c8247580c44600002b"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8531ms)
8755
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455c8247580c44600002b"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1371ms)
8756
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455c8247580c446000027", "slug"=>"authors"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.7050ms)
8757
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"535455c8247580c44600002c", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Authors", "description"=>"The list of my projects", "site_id"=>"535455c8247580c446000027", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"authors", "order_by"=>"created_at", "label_field_name"=>"fullname", "label_field_id"=>"535455c8247580c44600002d", "updated_at"=>2014-04-20 23:18:32 UTC, "created_at"=>2014-04-20 23:18:32 UTC, "entries_custom_fields"=>[{"_id"=>"535455c8247580c44600002d", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Fullname", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"fullname"}]}] flags=[] (0.4590ms)
8758
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455c8247580c446000027", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5519ms)
8759
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455c8247580c44600002c"} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4990ms)
8760
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"535455c8247580c44600002e", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"535455c8247580c446000027", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"535455c8247580c44600002f", "updated_at"=>2014-04-20 23:18:32 UTC, "created_at"=>2014-04-20 23:18:32 UTC, "entries_custom_fields"=>[{"_id"=>"535455c8247580c44600002f", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}, {"_id"=>"535455c8247580c446000030", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Author", "type"=>"belongs_to", "class_name"=>"Locomotive::ContentEntry535455c8247580c44600002c", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"author"}, {"_id"=>"535455c8247580c446000031", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Stuff", "type"=>"text", "searchable"=>false, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"stuff"}]}] flags=[] (0.3388ms)
8761
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455c8247580c446000027", "_id"=>"535455c8247580c44600002c"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7632ms)
8762
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455c8247580c44600002e"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6151ms)
8763
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_type"=>{"$in"=>["Locomotive::ContentEntry535455c8247580c44600002c"]}} update={"$set"=>{"_label_field_name"=>"fullname"}} flags=[:multi] (0.1431ms)
8764
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"535455c8247580c44600002c"} update={"$set"=>{"updated_at"=>2014-04-20 23:18:32 UTC, "entries_custom_fields_version"=>1}, "$pushAll"=>{"entries_custom_fields"=>[{"_id"=>"535455c8247580c446000032", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Examples", "type"=>"has_many", "class_name"=>"Locomotive::ContentEntry535455c8247580c44600002e", "inverse_of"=>"author", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"examples", "order_by"=>nil}]}} flags=[] (0.1581ms)
8765
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455c8247580c44600002c"} update={"$set"=>{"custom_fields_recipe.rules"=>[{"name"=>"fullname", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"examples", "type"=>"has_many", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455c8247580c44600002e", "inverse_of"=>"author", "order_by"=>nil}], "custom_fields_recipe.version"=>1}, "$unset"=>{}, "$rename"=>{}} flags={:multi=>true} (0.2089ms)
8766
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455c8247580c446000033"}, "_slug.en"=>"john-doe", "_type"=>{"$in"=>["Locomotive::ContentEntry535455c8247580c44600002c"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4532ms)
8767
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455c8247580c44600002c", "$or"=>[{"_slug.en"=>"john-doe"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4821ms)
8768
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455c8247580c44600002c"]}}} (0.4191ms)
8769
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455c8247580c446000033", "_position"=>0, "_visible"=>true, "fullname"=>"John Doe", "custom_fields_recipe"=>{"name"=>"ContentEntry535455c8247580c44600002c", "rules"=>[{"name"=>"fullname", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"examples", "type"=>"has_many", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455c8247580c44600002e", "inverse_of"=>"author", "order_by"=>nil}], "version"=>1, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry535455c8247580c44600002c", "content_type_id"=>"535455c8247580c44600002c", "_slug"=>{"en"=>"john-doe"}, "site_id"=>"535455c8247580c446000027", "_translated"=>{"en"=>true}, "_label_field_name"=>"fullname", "updated_at"=>2014-04-20 23:18:32 UTC, "created_at"=>2014-04-20 23:18:32 UTC}] flags=[] (0.1800ms)
8770
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::ContentEntry535455c8247580c44600002c", "original_id"=>"535455c8247580c446000033", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4642ms)
8771
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"author_id"=>"535455c8247580c446000033", "_type"=>{"$in"=>["Locomotive::ContentEntry535455c8247580c44600002e"]}}} (0.4079ms)
8772
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"author_id"=>"535455c8247580c446000033", "_type"=>{"$in"=>["Locomotive::ContentEntry535455c8247580c44600002e"]}}, "$orderby"=>{"position_in_author"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4454ms)
8773
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455c8247580c446000034", "stored"=>{"fullname"=>"John Doe", :search_type=>"Authors", :label=>"John Doe", :_slug=>"john-doe", :site_id=>"535455c8247580c446000027", :content_type_slug=>"authors"}, "original_type"=>"Locomotive::ContentEntry535455c8247580c44600002c", "original_id"=>"535455c8247580c446000033", "locale"=>"en", "language"=>"english", "content"=>["John Doe"]}] flags=[] (0.1528ms)
8774
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455c8247580c446000035"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry535455c8247580c44600002e"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5479ms)
8775
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455c8247580c44600002e", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4520ms)
8776
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455c8247580c44600002e"]}}} (0.4511ms)
8777
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455c8247580c44600002e"]}}} (0.3169ms)
8778
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455c8247580c446000035", "_position"=>0, "_visible"=>true, "position_in_author"=>1, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry535455c8247580c44600002e", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"author", "type"=>"belongs_to", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455c8247580c44600002c"}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "author_id"=>"535455c8247580c446000033", "_type"=>"Locomotive::ContentEntry535455c8247580c44600002e", "content_type_id"=>"535455c8247580c44600002e", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"535455c8247580c446000027", "_translated"=>{"en"=>true}, "_label_field_name"=>"name", "updated_at"=>2014-04-20 23:18:32 UTC, "created_at"=>2014-04-20 23:18:32 UTC}] flags=[] (0.3011ms)
8779
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::ContentEntry535455c8247580c44600002e", "original_id"=>"535455c8247580c446000035", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4270ms)
8780
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"author_id"=>"535455c8247580c446000033", "_type"=>{"$in"=>["Locomotive::ContentEntry535455c8247580c44600002e"]}}, "$orderby"=>{"position_in_author"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5577ms)
8781
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455c8247580c446000036", "stored"=>{"name"=>"Findable entry", "author"=>{"fullname"=>"John Doe", "examples"=>["Findable entry"]}, :search_type=>"Examples", :label=>"Findable entry", :_slug=>"findable-entry", :site_id=>"535455c8247580c446000027", :content_type_slug=>"examples"}, "original_type"=>"Locomotive::ContentEntry535455c8247580c44600002e", "original_id"=>"535455c8247580c446000035", "locale"=>"en", "language"=>"english", "content"=>["Findable entry", "John Doe"]}] flags=[] (0.1609ms)
8782
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455c8247580c446000037"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry535455c8247580c44600002e"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4580ms)
8783
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455c8247580c44600002e", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3581ms)
8784
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455c8247580c44600002e"]}}} (0.3631ms)
8785
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455c8247580c44600002e"]}}} (0.2909ms)
8786
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455c8247580c44600002e"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.4330ms)
8787
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455c8247580c44600002e"]}}} (0.2289ms)
8788
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455c8247580c44600002e"]}, "position_in_author"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"position_in_author", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$position_in_author"}, "min"=>{"$min"=>"$position_in_author"}, "sum"=>{"$sum"=>"$position_in_author"}, "avg"=>{"$avg"=>"$position_in_author"}}}]} (0.3579ms)
8789
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455c8247580c446000037", "_position"=>1, "_visible"=>true, "position_in_author"=>2, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry535455c8247580c44600002e", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"author", "type"=>"belongs_to", "required"=>false, "unique"=>false, "localized"=>false, "class_name"=>"Locomotive::ContentEntry535455c8247580c44600002c"}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry535455c8247580c44600002e", "content_type_id"=>"535455c8247580c44600002e", "_slug"=>{"en"=>"hidden"}, "site_id"=>"535455c8247580c446000027", "_translated"=>{"en"=>true}, "_label_field_name"=>"name", "updated_at"=>2014-04-20 23:18:32 UTC, "created_at"=>2014-04-20 23:18:32 UTC}] flags=[] (0.1898ms)
8790
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::ContentEntry535455c8247580c44600002e", "original_id"=>"535455c8247580c446000037", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3631ms)
8791
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455c8247580c446000038", "stored"=>{"name"=>"Hidden", :search_type=>"Examples", :label=>"Hidden", :_slug=>"hidden", :site_id=>"535455c8247580c446000027", :content_type_slug=>"examples"}, "original_type"=>"Locomotive::ContentEntry535455c8247580c44600002e", "original_id"=>"535455c8247580c446000037", "locale"=>"en", "language"=>"english", "content"=>["Hidden"]}] flags=[] (0.1431ms)
8792
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5860ms)
8793
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455c8247580c446000027", "parent_id"=>"535455c8247580c446000029", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4561ms)
8794
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c8247580c446000029", "site_id"=>"535455c8247580c446000027", "_id"=>{"$ne"=>"535455c8247580c446000039"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4151ms)
8795
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455c8247580c446000029"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5100ms)
8796
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455c8247580c446000039", "parent_ids"=>["535455c8247580c446000029"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>"535455c8247580c446000027", "parent_id"=>"535455c8247580c446000029", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:32 UTC, "created_at"=>2014-04-20 23:18:32 UTC}] flags=[] (0.1972ms)
8797
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c8247580c446000027", "template_dependencies.en"=>{"$in"=>["535455c8247580c446000039"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3169ms)
8798
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c8247580c446000039"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4120ms)
8799
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455c8247580c446000039"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1080ms)
8800
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455c8247580c446000039", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3660ms)
8801
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455c8247580c44600003a", "stored"=>{:title=>"Please search for this findable page", :searchable_content=>"This is what you were looking for", :search_type=>"page", :label=>"Please search for this findable page", :site_id=>"535455c8247580c446000027", :fullpath=>"findable"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455c8247580c446000039", "locale"=>"en", "language"=>"english", "content"=>["Please search for this findable page", "This is what you were looking for"]}] flags=[] (0.1800ms)
8802
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6180ms)
8803
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455c8247580c446000027", "parent_id"=>"535455c8247580c446000029", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5181ms)
8804
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c8247580c446000029", "site_id"=>"535455c8247580c446000027", "_id"=>{"$ne"=>"535455c8247580c44600003b"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7591ms)
8805
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c8247580c446000029", "site_id"=>"535455c8247580c446000027"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4642ms)
8806
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455c8247580c446000029"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5200ms)
8807
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455c8247580c44600003b", "parent_ids"=>["535455c8247580c446000029"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>false, "raw_template"=>{"en"=>"Not published, so can't be found"}, "title"=>{"en"=>"Unpublished findable"}, "slug"=>{"en"=>"unpublished-findable"}, "site_id"=>"535455c8247580c446000027", "parent_id"=>"535455c8247580c446000029", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:32 UTC, "created_at"=>2014-04-20 23:18:32 UTC}] flags=[] (0.3622ms)
8808
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c8247580c446000027", "template_dependencies.en"=>{"$in"=>["535455c8247580c44600003b"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3431ms)
8809
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c8247580c44600003b"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4060ms)
8810
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455c8247580c44600003b"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0961ms)
8811
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5713ms)
8812
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455c8247580c446000027", "parent_id"=>"535455c8247580c446000029", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4599ms)
8813
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c8247580c446000029", "site_id"=>"535455c8247580c446000027", "_id"=>{"$ne"=>"535455c8247580c44600003c"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7429ms)
8814
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c8247580c446000029", "site_id"=>"535455c8247580c446000027"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5429ms)
8815
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455c8247580c446000029"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5350ms)
8816
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455c8247580c44600003c", "parent_ids"=>["535455c8247580c446000029"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>false, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Even if it seems findable, it sound't be found because of the searchable flag"}, "title"=>{"en"=>"Seems findable"}, "slug"=>{"en"=>"seems-findable"}, "site_id"=>"535455c8247580c446000027", "parent_id"=>"535455c8247580c446000029", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:32 UTC, "created_at"=>2014-04-20 23:18:32 UTC}] flags=[] (0.1950ms)
8817
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c8247580c446000027", "template_dependencies.en"=>{"$in"=>["535455c8247580c44600003c"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3841ms)
8818
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c8247580c44600003c"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3269ms)
8819
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455c8247580c44600003c"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0961ms)
8820
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5519ms)
8821
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455c8247580c446000027", "parent_id"=>"535455c8247580c446000029", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5062ms)
8822
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c8247580c446000029", "site_id"=>"535455c8247580c446000027", "_id"=>{"$ne"=>"535455c8247580c44600003d"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7823ms)
8823
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c8247580c446000029", "site_id"=>"535455c8247580c446000027"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5021ms)
8824
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"535455c8247580c446000029"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4721ms)
8825
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455c8247580c44600003d", "parent_ids"=>["535455c8247580c446000029"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>" <html>\n <body>\n {% search_for params.search, page: params.page, per_page: 2 %}\n * Total entries: {{ search.total_entries }}\n * Search results:\n <ul>\n {% for result in search.results %}\n {% if result.content_type_slug == 'examples' %}\n <li><a href=\"/examples/{{result._slug}}\">{{ result.name }}</a></li>\n {% else %}\n <li><a href=\"/{{result.fullpath}}\">{{ result.title }}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n {% endsearch_for %}\n </body>\n </html>\n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"535455c8247580c446000027", "parent_id"=>"535455c8247580c446000029", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1786>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:32 UTC, "created_at"=>2014-04-20 23:18:32 UTC}] flags=[] (0.3059ms)
8826
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c8247580c446000027", "template_dependencies.en"=>{"$in"=>["535455c8247580c44600003d"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3369ms)
8827
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c8247580c44600003d"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3300ms)
8828
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455c8247580c44600003d"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1111ms)
8829
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455c8247580c44600003d", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3111ms)
8830
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={"text"=>"active_search_mongoid_indices", "search"=>nil, "language"=>"english", "filter"=>{"stored.site_id"=>"535455c8247580c446000027", "locale"=>"en"}} (0.5970ms)
8831
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={"text"=>"active_search_mongoid_indices", "search"=>nil, "language"=>"english", "filter"=>{"stored.site_id"=>"535455c8247580c446000027", "locale"=>"en"}} (0.5817ms)
8832
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455c8247580c44600003e", "stored"=>{:title=>"search", :searchable_content=>" \n \n \n * Total entries: \n * Search results:\n \n \n \n \n \n \n", :search_type=>"page", :label=>"search", :site_id=>"535455c8247580c446000027", :fullpath=>"search"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455c8247580c44600003d", "locale"=>"en", "language"=>"english", "content"=>["search", " \n \n \n * Total entries: \n * Search results:\n \n \n \n \n \n \n"]}] flags=[] (0.1581ms)
8833
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c8247580c446000027", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5391ms)
8834
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"535455c8247580c446000027"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3040ms)
8835
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"535455c8247580c446000029"} update={"$set"=>{"raw_template"=>{"en"=>"\n <form action=\"/{{ locale }}/search\" method=\"GET\">\n <label for=\"search\">Search</label>\n <input type=\"text\" name=\"search\" id=\"search\">\n <input type=\"submit\" value=\"Search\">\n </form>"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=371>}, "updated_at"=>2014-04-20 23:18:32 UTC}} flags=[] (0.1700ms)
8836
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c8247580c446000027", "template_dependencies.en"=>{"$in"=>["535455c8247580c446000029"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3750ms)
8837
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455c8247580c446000029", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5741ms)
8838
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_indices selector={"_id"=>"535455c8247580c44600002a"} update={"$set"=>{"stored"=>{:title=>"Home page", :searchable_content=>"\n \n Search\n \n \n ", :search_type=>"page", :label=>"Home page", :site_id=>"535455c8247580c446000027", :fullpath=>"index"}, "content"=>["Home page", "\n \n Search\n \n \n "]}} flags=[] (0.1378ms)
8839
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4690ms)
8840
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test2"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3181ms)
8841
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"535455c8247580c44600003f", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2014-04-20 23:18:29 UTC, "updated_at"=>2014-04-20 23:18:32 UTC, "memberships"=>[{"_id"=>"535455c8247580c446000040", "role"=>"admin", "account_id"=>"535455c8247580c446000026"}]}] flags=[] (0.1369ms)
8842
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455c8247580c44600003f", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4520ms)
8843
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455c8247580c44600003f", "_id"=>{"$ne"=>"535455c8247580c446000041"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5209ms)
8844
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455c8247580c446000041", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"535455c8247580c44600003f", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:32 UTC, "created_at"=>2014-04-20 23:18:32 UTC}] flags=[] (0.2751ms)
8845
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c8247580c44600003f", "template_dependencies.en"=>{"$in"=>["535455c8247580c446000041"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4189ms)
8846
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c8247580c446000041"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3939ms)
8847
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455c8247580c446000041"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1338ms)
8848
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455c8247580c446000041", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4680ms)
8849
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455c8247580c446000042", "stored"=>{:title=>"Home page", :searchable_content=>"Content of the home page", :search_type=>"page", :label=>"Home page", :site_id=>"535455c8247580c44600003f", :fullpath=>"index"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455c8247580c446000041", "locale"=>"en", "language"=>"english", "content"=>["Home page", "Content of the home page"]}] flags=[] (0.2110ms)
8850
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455c8247580c44600003f", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5450ms)
8851
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455c8247580c44600003f", "_id"=>{"$ne"=>"535455c8247580c446000043"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8848ms)
8852
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455c8247580c44600003f"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5689ms)
8853
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455c8247580c446000043", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"535455c8247580c44600003f", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:32 UTC, "created_at"=>2014-04-20 23:18:32 UTC}] flags=[] (0.2272ms)
8854
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c8247580c44600003f", "template_dependencies.en"=>{"$in"=>["535455c8247580c446000043"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4380ms)
8855
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c8247580c446000043"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4389ms)
8856
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455c8247580c446000043"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1559ms)
8857
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"535455c8247580c44600003f", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4969ms)
8858
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455c8247580c44600003f", "_id"=>{"$ne"=>"535455c8247580c446000044"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6840ms)
8859
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"535455c8247580c44600003f"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4752ms)
8860
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"_id"=>{"$in"=>[]}}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.2568ms)
8861
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"535455c8247580c446000044", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Rickroll"}, "title"=>{"en"=>"This should never show up in the search, even if it would be findable"}, "slug"=>{"en"=>"rickroll"}, "site_id"=>"535455c8247580c44600003f", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2014-04-20 23:18:32 UTC, "created_at"=>2014-04-20 23:18:32 UTC}] flags=[] (0.1910ms)
8862
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c8247580c44600003f", "template_dependencies.en"=>{"$in"=>["535455c8247580c446000044"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3121ms)
8863
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"535455c8247580c446000044"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3698ms)
8864
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["535455c8247580c446000044"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0970ms)
8865
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::Page", "original_id"=>"535455c8247580c446000044", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3231ms)
8866
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455c8247580c446000045", "stored"=>{:title=>"This should never show up in the search, even if it would be findable", :searchable_content=>"Rickroll", :search_type=>"page", :label=>"This should never show up in the search, even if it would be findable", :site_id=>"535455c8247580c44600003f", :fullpath=>"rickroll"}, "original_type"=>"Locomotive::Page", "original_id"=>"535455c8247580c446000044", "locale"=>"en", "language"=>"english", "content"=>["This should never show up in the search, even if it would be findable", "Rickroll"]}] flags=[] (0.1669ms)
8867
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455c8247580c44600003f", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4218ms)
8868
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"535455c8247580c446000046", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"535455c8247580c44600003f", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"535455c8247580c446000047", "updated_at"=>2014-04-20 23:18:32 UTC, "created_at"=>2014-04-20 23:18:32 UTC, "entries_custom_fields"=>[{"_id"=>"535455c8247580c446000047", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}]}] flags=[] (0.2589ms)
8869
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"535455c8247580c446000048"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry535455c8247580c446000046"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5491ms)
8870
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"535455c8247580c446000046", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4449ms)
8871
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry535455c8247580c446000046"]}}} (0.4799ms)
8872
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"535455c8247580c446000048", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry535455c8247580c446000046", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry535455c8247580c446000046", "content_type_id"=>"535455c8247580c446000046", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"535455c8247580c44600003f", "_translated"=>{"en"=>true}, "_label_field_name"=>"name", "updated_at"=>2014-04-20 23:18:32 UTC, "created_at"=>2014-04-20 23:18:32 UTC}] flags=[] (0.2041ms)
8873
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_indices selector={"$query"=>{"original_type"=>"Locomotive::ContentEntry535455c8247580c446000046", "original_id"=>"535455c8247580c446000048", "locale"=>"en"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5283ms)
8874
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_indices documents=[{"_id"=>"535455c8247580c446000049", "stored"=>{"name"=>"NOT Findable entry", :search_type=>"Examples", :label=>"NOT Findable entry", :_slug=>"not-findable-entry", :site_id=>"535455c8247580c44600003f", :content_type_slug=>"examples"}, "original_type"=>"Locomotive::ContentEntry535455c8247580c446000046", "original_id"=>"535455c8247580c446000048", "locale"=>"en", "language"=>"english", "content"=>["NOT Findable entry"]}] flags=[] (0.1850ms)
8875
+ Started GET "/locomotive" for 127.0.0.1 at 2014-04-21 01:18:32 +0200
8876
+ Processing by Locomotive::SessionsController#new as HTML
8877
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
8878
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5720ms)
8879
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>{"$in"=>["535455c8247580c446000026"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4480ms)
8880
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/sessions/new.html.haml within /locomotive/layouts/not_logged_in (4.7ms)
8881
+ Completed 200 OK in 9.6ms (Views: 6.3ms)
8882
+ Started POST "/locomotive/sign_in" for 127.0.0.1 at 2014-04-21 01:18:32 +0200
8883
+ Processing by Locomotive::SessionsController#create as HTML
8884
+ Parameters: {"utf8"=>"✓", "locomotive_account"=>{"remember_me"=>"true", "email"=>"admin@locomotiveapp.org", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
8885
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
8886
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.8180ms)
8887
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>{"$in"=>["535455c8247580c446000026"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5703ms)
8888
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"email"=>"admin@locomotiveapp.org"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4077ms)
8889
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>"535455c8247580c446000026"} update={"$set"=>{"remember_created_at"=>2014-04-20 23:18:32 UTC, "updated_at"=>2014-04-20 23:18:32 UTC}} flags=[] (0.1569ms)
8890
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>"535455c8247580c446000026"} update={"$set"=>{"last_sign_in_at"=>2014-04-20 23:18:32 UTC, "current_sign_in_at"=>2014-04-20 23:18:32 UTC, "last_sign_in_ip"=>"127.0.0.1", "current_sign_in_ip"=>"127.0.0.1", "sign_in_count"=>1, "updated_at"=>2014-04-20 23:18:32 UTC}} flags=[] (0.1831ms)
8891
+ Redirected to http://test.example.com:7171/locomotive/pages
8892
+ Completed 302 Found in 9.3ms
8893
+ Started GET "/locomotive/pages" for 127.0.0.1 at 2014-04-21 01:18:32 +0200
8894
+ Processing by Locomotive::PagesController#index as HTML
8895
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
8896
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7188ms)
8897
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>"535455c8247580c446000026"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3221ms)
8898
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>{"$in"=>["535455c8247580c446000026"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4199ms)
8899
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c8247580c446000027"}, "$orderby"=>{"depth"=>1, "position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"serialized_template.en"=>0, "template_dependencies.en"=>0, "snippet_dependencies.en"=>0, "templatized_from_parent"=>0, "redirect_url.en"=>0, "redirect_type"=>0, "seo_title.en"=>0, "meta_keywords.en"=>0, "meta_description.en"=>0, "handle"=>0, "raw_template.en"=>0, "locales"=>0, "cache_strategy"=>0, "searchable"=>0} (1.1952ms)
8900
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c8247580c446000027"}, "$orderby"=>{"position"=>1, "updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields={"serialized_template.en"=>0, "template_dependencies.en"=>0, "snippet_dependencies.en"=>0, "templatized_from_parent"=>0, "redirect_url.en"=>0, "redirect_type"=>0, "seo_title.en"=>0, "meta_keywords.en"=>0, "meta_description.en"=>0, "handle"=>0, "raw_template.en"=>0, "locales"=>0, "cache_strategy"=>0, "searchable"=>0} (1.4279ms)
8901
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"535455c8247580c446000027"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"site_id"=>1, "name"=>1, "slug"=>1, "label_field_name"=>1} (0.5801ms)
8902
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"535455c8247580c446000027"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"site_id"=>1, "name"=>1, "slug"=>1, "label_field_name"=>1} (0.4301ms)
8903
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"535455c8247580c44600002c"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (0.7789ms)
8904
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"535455c8247580c44600002e"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (0.9952ms)
8905
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/menu/_contents.html.haml (19.5ms)
8906
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/actions/_contents.html.haml (0.6ms)
8907
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/pages/_page.html.haml (4.6ms)
8908
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/pages/_page.html.haml (7.0ms)
8909
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/pages/index.html.haml within /locomotive/layouts/application (28.9ms)
8910
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_main_app_head_before_backbone.html.haml (0.0ms)
8911
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships"=>{"$elemMatch"=>{:account_id=>"535455c8247580c446000026", :role=>:admin}}}} (0.6011ms)
8912
+ Rendered locomotive/shared/_main_app_head.html.haml (0.7ms)
8913
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_head.html.haml (5.5ms)
8914
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships.account_id"=>"535455c8247580c446000026"}} (0.4280ms)
8915
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/cells/locomotive/global_actions/show.html.haml (0.7ms)
8916
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"memberships.account_id"=>"535455c8247580c446000026"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5031ms)
8917
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_site_picker.html.haml (1.7ms)
8918
+ Rendered /Users/didier/Documents/LocomotiveCMS/gems/search/app/views/locomotive/shared/_search_bar.html.haml (1.0ms)
8919
+ Rendered locomotive/shared/_main_app_header.html.haml (1.2ms)
8920
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_header.html.haml (8.0ms)
8921
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/cells/locomotive/main_menu/show.html.haml (0.5ms)
8922
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_footer.html.haml (0.2ms)
8923
+ Completed 200 OK in 60.4ms (Views: 46.0ms)
8924
+ Started GET "/locomotive/pages/new" for 127.0.0.1 at 2014-04-21 01:18:33 +0200
8925
+ Processing by Locomotive::PagesController#new as HTML
8926
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
8927
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.9081ms)
8928
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>"535455c8247580c446000026"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5109ms)
8929
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>{"$in"=>["535455c8247580c446000026"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4950ms)
8930
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c8247580c446000027"}, "$orderby"=>{"position"=>1, "updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields={"serialized_template.en"=>0, "template_dependencies.en"=>0, "snippet_dependencies.en"=>0, "templatized_from_parent"=>0, "redirect_url.en"=>0, "redirect_type"=>0, "seo_title.en"=>0, "meta_keywords.en"=>0, "meta_description.en"=>0, "handle"=>0, "raw_template.en"=>0, "locales"=>0, "cache_strategy"=>0, "searchable"=>0} (1.3719ms)
8931
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"535455c8247580c446000027"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"site_id"=>1, "name"=>1, "slug"=>1, "label_field_name"=>1} (0.5567ms)
8932
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"535455c8247580c446000027"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"site_id"=>1, "name"=>1, "slug"=>1, "label_field_name"=>1} (0.3879ms)
8933
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"535455c8247580c44600002c"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (0.6759ms)
8934
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"535455c8247580c44600002e"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (0.7331ms)
8935
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/menu/_contents.html.haml (18.1ms)
8936
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/actions/_contents.html.haml (0.5ms)
8937
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/content_assets/_picker.html.haml (7.1ms)
8938
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/theme_assets/_picker.html.haml (5.0ms)
8939
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/pages/_editable_elements.html.haml (5.8ms)
8940
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"535455c8247580c446000027"}, "$orderby"=>{"depth"=>1, "position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"serialized_template.en"=>0, "template_dependencies.en"=>0, "snippet_dependencies.en"=>0, "templatized_from_parent"=>0, "redirect_url.en"=>0, "redirect_type"=>0, "seo_title.en"=>0, "meta_keywords.en"=>0, "meta_description.en"=>0, "handle"=>0, "raw_template.en"=>0, "locales"=>0, "cache_strategy"=>0, "searchable"=>0} (1.6260ms)
8941
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"535455c8247580c446000027"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7272ms)
8942
+ Rendered /Users/didier/Documents/LocomotiveCMS/gems/search/app/cells/locomotive/partials/searchable.html.haml (3.4ms)
8943
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/pages/_form.html.haml (113.4ms)
8944
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_form_actions.html.haml (0.3ms)
8945
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/pages/new.html.haml within /locomotive/layouts/application (142.1ms)
8946
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_main_app_head_before_backbone.html.haml (0.1ms)
8947
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships"=>{"$elemMatch"=>{:account_id=>"535455c8247580c446000026", :role=>:admin}}}} (0.6001ms)
8948
+ Rendered locomotive/shared/_main_app_head.html.haml (0.6ms)
8949
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_head.html.haml (5.1ms)
8950
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships.account_id"=>"535455c8247580c446000026"}} (0.4380ms)
8951
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/cells/locomotive/global_actions/show.html.haml (0.7ms)
8952
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"memberships.account_id"=>"535455c8247580c446000026"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5589ms)
8953
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_site_picker.html.haml (1.6ms)
8954
+ Rendered /Users/didier/Documents/LocomotiveCMS/gems/search/app/views/locomotive/shared/_search_bar.html.haml (0.9ms)
8955
+ Rendered locomotive/shared/_main_app_header.html.haml (1.1ms)
8956
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_header.html.haml (7.3ms)
8957
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/cells/locomotive/main_menu/show.html.haml (0.5ms)
8958
+ Rendered /Users/didier/Documents/LocomotiveCMS/engine/app/views/locomotive/shared/_footer.html.haml (0.2ms)
8959
+ Completed 200 OK in 179.6ms (Views: 162.7ms)
8960
+ Started GET "/assets/locomotive/jquery/images/ui-icons_222222_256x240.png" for 127.0.0.1 at 2014-04-21 01:18:33 +0200
8961
+ Served asset /locomotive/jquery/images/ui-icons_222222_256x240.png - 200 OK (2ms)
8962
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7360ms)
8963
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"active_search_mongoid_indices"} (0.7632ms)
8964
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (0.4599ms)
8965
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (0.5291ms)
8966
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (0.4530ms)
8967
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (0.3908ms)
8968
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (0.3920ms)