locomotivecms-search 0.2.6 → 0.2.7

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: c2ec7daac671914849a1368c8978ad04c759f178
4
- data.tar.gz: b38693be62162aa5a06b9ec80633d3483ff02483
3
+ metadata.gz: 8895f972c87838044212670163ca58749c2f8068
4
+ data.tar.gz: b2849c119c663c406a9a8aceccc49084a8151260
5
5
  SHA512:
6
- metadata.gz: 5f5fa08edf8ea5ad3f6f7c322cbe9d0b02f0db35c3be3d6375a37e22d9f83519cd431b71706b6be62b8b6f02395903dff55a7cd4d04390fb2aef1c2b85ef332d
7
- data.tar.gz: 58dcee31192fe7aae924037931a84fc942afcc55738e7c4bf8b87ba922aeac80767b0ebe871bb273986793a3772980c4134cf476f6dd801a87a766de442f9b68
6
+ metadata.gz: 6c6935a260dd2a32c4f81f7a607f83001086848bd29dc1f79761d2bf9b244fe14892a1d346f61aeb1895fff53e023d68b7f8f19a9f375dfeffbd799c85bbd0fa
7
+ data.tar.gz: 1e6f22dcb6c44c6a1f061907ed14b8fd135ecab3f9aa43d6f44397afab80cddb989b914799cc8692c08b562d804f19b4bec9d1d25f2c78b90b5be7b7c3bce6cf
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2013 YOURNAME
1
+ Copyright 2013 Rodrigo Alvarez
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -1 +1 @@
1
- = @g.input :searchable, as: :'Locomotive::Toggle', wrapper_html: { class: 'searchable' },input_html: { class: 'searchable simple-toggle' }
1
+ = @g.input :searchable, as: :'Locomotive::Toggle', wrapper_html: { class: 'toggle' }, input_html: { class: 'searchable' }
@@ -1,5 +1,5 @@
1
1
  module Locomotive
2
2
  module Search
3
- VERSION = "0.2.6"
3
+ VERSION = "0.2.7"
4
4
  end
5
5
  end
@@ -14739,3 +14739,2161 @@ Served asset /locomotive/jquery/images/ui-icons_222222_256x240.png - 200 OK (5ms
14739
14739
  MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"active_search_mongoid_models"} (0.6111ms)
14740
14740
  MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (0.5231ms)
14741
14741
  MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (0.4573ms)
14742
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5140ms)
14743
+ 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 (49.2899ms)
14744
+ Creating scope :root. Overwriting existing method Locomotive::Page.root.
14745
+ 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 (24.3549ms)
14746
+ 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 (7.5850ms)
14747
+ 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.4699ms)
14748
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"5295f0272475806ff6000001", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"7a634076722aff9d5dca499b20af4fda54a3c571", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"QSKAGi4eWcXjJGboppca", "api_key"=>"f3477360429d001ab6ff71205475f14ff4cfde58", "updated_at"=>2013-11-27 13:14:15 UTC, "created_at"=>2013-11-27 13:14:15 UTC}] flags=[] (0.1941ms)
14749
+ 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} (42.5642ms)
14750
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5295f0272475806ff6000002", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-11-27 13:14:14 UTC, "updated_at"=>2013-11-27 13:14:15 UTC, "memberships"=>[{"_id"=>"5295f0272475806ff6000003", "role"=>"admin", "account_id"=>"5295f0272475806ff6000001"}]}] flags=[] (0.2120ms)
14751
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f0272475806ff6000002", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (25.3062ms)
14752
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f0272475806ff6000002", "_id"=>{"$ne"=>"5295f0272475806ff6000004"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (1.1911ms)
14753
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f0272475806ff6000004", "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"=>"5295f0272475806ff6000002", "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"=>2013-11-27 13:14:15 UTC, "created_at"=>2013-11-27 13:14:15 UTC}] flags=[] (0.8447ms)
14754
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f0272475806ff6000004"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (5.8260ms)
14755
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f0272475806ff6000002", "template_dependencies.en"=>{"$in"=>["5295f0272475806ff6000004"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4239ms)
14756
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f0272475806ff6000004"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.4878ms)
14757
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f0272475806ff6000002", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (1.3881ms)
14758
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f0272475806ff6000002", "_id"=>{"$ne"=>"5295f0282475806ff6000005"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (1.1430ms)
14759
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f0272475806ff6000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6981ms)
14760
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f0282475806ff6000005", "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"=>"5295f0272475806ff6000002", "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"=>2013-11-27 13:14:16 UTC, "created_at"=>2013-11-27 13:14:16 UTC}] flags=[] (0.7191ms)
14761
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f0272475806ff6000002", "template_dependencies.en"=>{"$in"=>["5295f0282475806ff6000005"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5400ms)
14762
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f0282475806ff6000005"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (1.4620ms)
14763
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f0282475806ff6000005"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.6018ms)
14764
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f0272475806ff6000002", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6101ms)
14765
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5295f0282475806ff6000006", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5295f0272475806ff6000002", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5295f0282475806ff6000007", "updated_at"=>2013-11-27 13:14:16 UTC, "created_at"=>2013-11-27 13:14:16 UTC, "entries_custom_fields"=>[{"_id"=>"5295f0282475806ff6000007", "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.2418ms)
14766
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"5295f0282475806ff6000006"} update={"$push"=>{"entries_custom_fields"=>{"_id"=>"5295f0282475806ff6000008", "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", "updated_at"=>2013-11-27 13:14:16 UTC, "created_at"=>2013-11-27 13:14:16 UTC}}} flags=[] (0.1938ms)
14767
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f0282475806ff6000009"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f0282475806ff6000006"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (7.5588ms)
14768
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f0282475806ff6000006", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4680ms)
14769
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f0282475806ff6000006"]}}} (0.4470ms)
14770
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f0282475806ff6000009", "_position"=>0, "_visible"=>true, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f0282475806ff6000006", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f0282475806ff6000006", "content_type_id"=>"5295f0282475806ff6000006", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"5295f0272475806ff6000002", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:14:16 UTC, "created_at"=>2013-11-27 13:14:16 UTC}] flags=[] (0.1991ms)
14771
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f0292475806ff600000a"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f0282475806ff6000006"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5970ms)
14772
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f0282475806ff6000006", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.9930ms)
14773
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f0282475806ff6000006"]}}} (0.6022ms)
14774
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f0282475806ff6000006"]}}} (0.8011ms)
14775
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f0282475806ff6000006"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (7.7391ms)
14776
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f0292475806ff600000a", "_position"=>1, "_visible"=>true, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f0282475806ff6000006", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f0282475806ff6000006", "content_type_id"=>"5295f0282475806ff6000006", "_slug"=>{"en"=>"hidden"}, "site_id"=>"5295f0272475806ff6000002", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:14:17 UTC, "created_at"=>2013-11-27 13:14:17 UTC}] flags=[] (0.3603ms)
14777
+ 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.8562ms)
14778
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f0272475806ff6000002", "parent_id"=>"5295f0272475806ff6000004", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4778ms)
14779
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f0272475806ff6000004", "site_id"=>"5295f0272475806ff6000002", "_id"=>{"$ne"=>"5295f0292475806ff600000b"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4759ms)
14780
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f0272475806ff6000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5698ms)
14781
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f0292475806ff600000b", "parent_ids"=>["5295f0272475806ff6000004"], "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"=>"5295f0272475806ff6000002", "parent_id"=>"5295f0272475806ff6000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:17 UTC, "created_at"=>2013-11-27 13:14:17 UTC}] flags=[] (0.3321ms)
14782
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f0272475806ff6000002", "template_dependencies.en"=>{"$in"=>["5295f0292475806ff600000b"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4408ms)
14783
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f0292475806ff600000b"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4728ms)
14784
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f0292475806ff600000b"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.2072ms)
14785
+ 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.6239ms)
14786
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f0272475806ff6000002", "parent_id"=>"5295f0272475806ff6000004", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4830ms)
14787
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f0272475806ff6000004", "site_id"=>"5295f0272475806ff6000002", "_id"=>{"$ne"=>"5295f02a2475806ff600000c"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8860ms)
14788
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f0272475806ff6000004", "site_id"=>"5295f0272475806ff6000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (1.3587ms)
14789
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f0272475806ff6000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.9491ms)
14790
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f02a2475806ff600000c", "parent_ids"=>["5295f0272475806ff6000004"], "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"=>"5295f0272475806ff6000002", "parent_id"=>"5295f0272475806ff6000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:18 UTC, "created_at"=>2013-11-27 13:14:18 UTC}] flags=[] (0.4144ms)
14791
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f0272475806ff6000002", "template_dependencies.en"=>{"$in"=>["5295f02a2475806ff600000c"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4609ms)
14792
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f02a2475806ff600000c"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3409ms)
14793
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f02a2475806ff600000c"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0951ms)
14794
+ 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.6289ms)
14795
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f0272475806ff6000002", "parent_id"=>"5295f0272475806ff6000004", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4880ms)
14796
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f0272475806ff6000004", "site_id"=>"5295f0272475806ff6000002", "_id"=>{"$ne"=>"5295f02a2475806ff600000d"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8292ms)
14797
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f0272475806ff6000004", "site_id"=>"5295f0272475806ff6000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5910ms)
14798
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f0272475806ff6000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4990ms)
14799
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f02a2475806ff600000d", "parent_ids"=>["5295f0272475806ff6000004"], "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"=>"5295f0272475806ff6000002", "parent_id"=>"5295f0272475806ff6000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:18 UTC, "created_at"=>2013-11-27 13:14:18 UTC}] flags=[] (0.2139ms)
14800
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f0272475806ff6000002", "template_dependencies.en"=>{"$in"=>["5295f02a2475806ff600000d"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3550ms)
14801
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f02a2475806ff600000d"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3321ms)
14802
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f02a2475806ff600000d"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0930ms)
14803
+ 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.6528ms)
14804
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f0272475806ff6000002", "parent_id"=>"5295f0272475806ff6000004", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6280ms)
14805
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f0272475806ff6000004", "site_id"=>"5295f0272475806ff6000002", "_id"=>{"$ne"=>"5295f02a2475806ff600000e"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.9880ms)
14806
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f0272475806ff6000004", "site_id"=>"5295f0272475806ff6000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6161ms)
14807
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f0272475806ff6000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7551ms)
14808
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f02a2475806ff600000e", "parent_ids"=>["5295f0272475806ff6000004"], "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"=>" * Search results:\n <ul>\n {% for result in site.search %}\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"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"5295f0272475806ff6000002", "parent_id"=>"5295f0272475806ff6000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1072>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:18 UTC, "created_at"=>2013-11-27 13:14:18 UTC}] flags=[] (0.5581ms)
14809
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f0272475806ff6000002", "template_dependencies.en"=>{"$in"=>["5295f02a2475806ff600000e"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3631ms)
14810
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f02a2475806ff600000e"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3700ms)
14811
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f02a2475806ff600000e"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1061ms)
14812
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f0272475806ff6000002", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7441ms)
14813
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"5295f0272475806ff6000002"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4160ms)
14814
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"5295f0272475806ff6000004"} 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"=>2013-11-27 13:14:19 UTC}} flags=[] (0.1910ms)
14815
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f0272475806ff6000002", "template_dependencies.en"=>{"$in"=>["5295f0272475806ff6000004"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4113ms)
14816
+ 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.7000ms)
14817
+ 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.3903ms)
14818
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5295f02b2475806ff600000f", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-11-27 13:14:14 UTC, "updated_at"=>2013-11-27 13:14:19 UTC, "memberships"=>[{"_id"=>"5295f02b2475806ff6000010", "role"=>"admin", "account_id"=>"5295f0272475806ff6000001"}]}] flags=[] (0.2339ms)
14819
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f02b2475806ff600000f", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5219ms)
14820
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f02b2475806ff600000f", "_id"=>{"$ne"=>"5295f02b2475806ff6000011"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5090ms)
14821
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f02b2475806ff6000011", "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"=>"5295f02b2475806ff600000f", "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"=>2013-11-27 13:14:19 UTC, "created_at"=>2013-11-27 13:14:19 UTC}] flags=[] (0.3006ms)
14822
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f02b2475806ff600000f", "template_dependencies.en"=>{"$in"=>["5295f02b2475806ff6000011"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3693ms)
14823
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f02b2475806ff6000011"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3841ms)
14824
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f02b2475806ff6000011"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1321ms)
14825
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f02b2475806ff600000f", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5341ms)
14826
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f02b2475806ff600000f", "_id"=>{"$ne"=>"5295f02c2475806ff6000012"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7708ms)
14827
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f02b2475806ff600000f"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4940ms)
14828
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f02c2475806ff6000012", "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"=>"5295f02b2475806ff600000f", "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"=>2013-11-27 13:14:20 UTC, "created_at"=>2013-11-27 13:14:20 UTC}] flags=[] (0.2210ms)
14829
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f02b2475806ff600000f", "template_dependencies.en"=>{"$in"=>["5295f02c2475806ff6000012"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3772ms)
14830
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f02c2475806ff6000012"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4270ms)
14831
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f02c2475806ff6000012"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1309ms)
14832
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f02b2475806ff600000f", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5181ms)
14833
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f02b2475806ff600000f", "_id"=>{"$ne"=>"5295f02c2475806ff6000013"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8330ms)
14834
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f02b2475806ff600000f"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4818ms)
14835
+ 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.2420ms)
14836
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f02c2475806ff6000013", "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"=>"5295f02b2475806ff600000f", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:20 UTC, "created_at"=>2013-11-27 13:14:20 UTC}] flags=[] (0.2251ms)
14837
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f02b2475806ff600000f", "template_dependencies.en"=>{"$in"=>["5295f02c2475806ff6000013"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (1.6651ms)
14838
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f02c2475806ff6000013"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3939ms)
14839
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f02c2475806ff6000013"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1111ms)
14840
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f02b2475806ff600000f", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4213ms)
14841
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5295f02d2475806ff6000014", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5295f02b2475806ff600000f", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5295f02d2475806ff6000015", "updated_at"=>2013-11-27 13:14:21 UTC, "created_at"=>2013-11-27 13:14:21 UTC, "entries_custom_fields"=>[{"_id"=>"5295f02d2475806ff6000015", "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.5569ms)
14842
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f02d2475806ff6000016"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f02d2475806ff6000014"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6020ms)
14843
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f02d2475806ff6000014", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5429ms)
14844
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f02d2475806ff6000014"]}}} (0.4811ms)
14845
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f02d2475806ff6000016", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f02d2475806ff6000014", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f02d2475806ff6000014", "content_type_id"=>"5295f02d2475806ff6000014", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"5295f02b2475806ff600000f", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:14:21 UTC, "created_at"=>2013-11-27 13:14:21 UTC}] flags=[] (0.2828ms)
14846
+ Started GET "/" for 127.0.0.1 at 2013-11-27 14:14:21 +0100
14847
+ Processing by Locomotive::Public::PagesController#show as HTML
14848
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
14849
+ 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.5061ms)
14850
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f0272475806ff6000002", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (2.6588ms)
14851
+ Rendered text template (0.0ms)
14852
+ Completed 200 OK in 21.4ms (Views: 10.0ms)
14853
+ Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-11-27 14:14:21 +0100
14854
+ Processing by Locomotive::Public::PagesController#show as HTML
14855
+ Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"}
14856
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
14857
+ 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.6762ms)
14858
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f0272475806ff6000002", "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.7329ms)
14859
+ Rendered text template (0.0ms)
14860
+ Completed 200 OK in 519.5ms (Views: 0.5ms)
14861
+ Started GET "/findable" for 127.0.0.1 at 2013-11-27 14:14:22 +0100
14862
+ Processing by Locomotive::Public::PagesController#show as HTML
14863
+ Parameters: {"path"=>"findable"}
14864
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
14865
+ 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.6549ms)
14866
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f0272475806ff6000002", "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.6382ms)
14867
+ Rendered text template (0.0ms)
14868
+ Completed 200 OK in 4.9ms (Views: 0.4ms)
14869
+ Started GET "/" for 127.0.0.1 at 2013-11-27 14:14:22 +0100
14870
+ Processing by Locomotive::Public::PagesController#show as HTML
14871
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
14872
+ 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.5820ms)
14873
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f0272475806ff6000002", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5803ms)
14874
+ Rendered text template (0.0ms)
14875
+ Completed 200 OK in 3.8ms (Views: 0.4ms)
14876
+ Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-11-27 14:14:22 +0100
14877
+ Processing by Locomotive::Public::PagesController#show as HTML
14878
+ Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"}
14879
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
14880
+ 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.6437ms)
14881
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f0272475806ff6000002", "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.6051ms)
14882
+ Rendered text template (0.0ms)
14883
+ Completed 200 OK in 475.3ms (Views: 0.5ms)
14884
+ 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.6769ms)
14885
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (15.7251ms)
14886
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (8.7130ms)
14887
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (8.0011ms)
14888
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (7.4320ms)
14889
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (2.5642ms)
14890
+ 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.4358ms)
14891
+ 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.9060ms)
14892
+ 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.4089ms)
14893
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"5295f02f2475806ff6000017", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"b3c0fc051ad9c5975c27e247027610eaf688931b", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"wCPzSBpxy5cPmgP3Hzbu", "api_key"=>"49d472674cd9791655673b41543dd6d94c6248dd", "updated_at"=>2013-11-27 13:14:23 UTC, "created_at"=>2013-11-27 13:14:23 UTC}] flags=[] (0.1910ms)
14894
+ 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.3309ms)
14895
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5295f02f2475806ff6000018", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-11-27 13:14:14 UTC, "updated_at"=>2013-11-27 13:14:23 UTC, "memberships"=>[{"_id"=>"5295f02f2475806ff6000019", "role"=>"admin", "account_id"=>"5295f02f2475806ff6000017"}]}] flags=[] (0.2491ms)
14896
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f02f2475806ff6000018", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.8199ms)
14897
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f02f2475806ff6000018", "_id"=>{"$ne"=>"5295f02f2475806ff600001a"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4852ms)
14898
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f02f2475806ff600001a", "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"=>"5295f02f2475806ff6000018", "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"=>2013-11-27 13:14:23 UTC, "created_at"=>2013-11-27 13:14:23 UTC}] flags=[] (0.2151ms)
14899
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f02f2475806ff6000018", "template_dependencies.en"=>{"$in"=>["5295f02f2475806ff600001a"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4089ms)
14900
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f02f2475806ff600001a"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3278ms)
14901
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f02f2475806ff600001a"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0989ms)
14902
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f02f2475806ff6000018", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5209ms)
14903
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f02f2475806ff6000018", "_id"=>{"$ne"=>"5295f02f2475806ff600001b"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7150ms)
14904
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f02f2475806ff6000018"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5097ms)
14905
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f02f2475806ff600001b", "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"=>"5295f02f2475806ff6000018", "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"=>2013-11-27 13:14:23 UTC, "created_at"=>2013-11-27 13:14:23 UTC}] flags=[] (0.2840ms)
14906
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f02f2475806ff6000018", "template_dependencies.en"=>{"$in"=>["5295f02f2475806ff600001b"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3631ms)
14907
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f02f2475806ff600001b"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3331ms)
14908
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f02f2475806ff600001b"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0980ms)
14909
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f02f2475806ff6000018", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.7348ms)
14910
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5295f02f2475806ff600001c", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5295f02f2475806ff6000018", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5295f02f2475806ff600001d", "updated_at"=>2013-11-27 13:14:23 UTC, "created_at"=>2013-11-27 13:14:23 UTC, "entries_custom_fields"=>[{"_id"=>"5295f02f2475806ff600001d", "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.2749ms)
14911
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"5295f02f2475806ff600001c"} update={"$push"=>{"entries_custom_fields"=>{"_id"=>"5295f02f2475806ff600001e", "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", "updated_at"=>2013-11-27 13:14:23 UTC, "created_at"=>2013-11-27 13:14:23 UTC}}} flags=[] (0.1888ms)
14912
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f02f2475806ff600001f"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f02f2475806ff600001c"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4950ms)
14913
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f02f2475806ff600001c", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4218ms)
14914
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f02f2475806ff600001c"]}}} (0.3769ms)
14915
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f02f2475806ff600001f", "_position"=>0, "_visible"=>true, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f02f2475806ff600001c", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f02f2475806ff600001c", "content_type_id"=>"5295f02f2475806ff600001c", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"5295f02f2475806ff6000018", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:14:23 UTC, "created_at"=>2013-11-27 13:14:23 UTC}] flags=[] (0.1810ms)
14916
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f0302475806ff6000020"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f02f2475806ff600001c"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5400ms)
14917
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f02f2475806ff600001c", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5307ms)
14918
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f02f2475806ff600001c"]}}} (0.4301ms)
14919
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f02f2475806ff600001c"]}}} (0.4280ms)
14920
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f02f2475806ff600001c"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.5419ms)
14921
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f0302475806ff6000020", "_position"=>1, "_visible"=>true, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f02f2475806ff600001c", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f02f2475806ff600001c", "content_type_id"=>"5295f02f2475806ff600001c", "_slug"=>{"en"=>"hidden"}, "site_id"=>"5295f02f2475806ff6000018", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:14:24 UTC, "created_at"=>2013-11-27 13:14:24 UTC}] flags=[] (0.2549ms)
14922
+ 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.7050ms)
14923
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f02f2475806ff6000018", "parent_id"=>"5295f02f2475806ff600001a", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5569ms)
14924
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f02f2475806ff600001a", "site_id"=>"5295f02f2475806ff6000018", "_id"=>{"$ne"=>"5295f0312475806ff6000021"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5000ms)
14925
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f02f2475806ff600001a"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6340ms)
14926
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f0312475806ff6000021", "parent_ids"=>["5295f02f2475806ff600001a"], "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"=>"5295f02f2475806ff6000018", "parent_id"=>"5295f02f2475806ff600001a", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:25 UTC, "created_at"=>2013-11-27 13:14:25 UTC}] flags=[] (0.3040ms)
14927
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f02f2475806ff6000018", "template_dependencies.en"=>{"$in"=>["5295f0312475806ff6000021"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3572ms)
14928
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f0312475806ff6000021"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4022ms)
14929
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f0312475806ff6000021"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1130ms)
14930
+ 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.8430ms)
14931
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f02f2475806ff6000018", "parent_id"=>"5295f02f2475806ff600001a", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5319ms)
14932
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f02f2475806ff600001a", "site_id"=>"5295f02f2475806ff6000018", "_id"=>{"$ne"=>"5295f0312475806ff6000022"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7741ms)
14933
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f02f2475806ff600001a", "site_id"=>"5295f02f2475806ff6000018"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5131ms)
14934
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f02f2475806ff600001a"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5941ms)
14935
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f0312475806ff6000022", "parent_ids"=>["5295f02f2475806ff600001a"], "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"=>"5295f02f2475806ff6000018", "parent_id"=>"5295f02f2475806ff600001a", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:25 UTC, "created_at"=>2013-11-27 13:14:25 UTC}] flags=[] (0.2718ms)
14936
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f02f2475806ff6000018", "template_dependencies.en"=>{"$in"=>["5295f0312475806ff6000022"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3669ms)
14937
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f0312475806ff6000022"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4210ms)
14938
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f0312475806ff6000022"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1087ms)
14939
+ 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.5770ms)
14940
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f02f2475806ff6000018", "parent_id"=>"5295f02f2475806ff600001a", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4752ms)
14941
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f02f2475806ff600001a", "site_id"=>"5295f02f2475806ff6000018", "_id"=>{"$ne"=>"5295f0312475806ff6000023"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7629ms)
14942
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f02f2475806ff600001a", "site_id"=>"5295f02f2475806ff6000018"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4580ms)
14943
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f02f2475806ff600001a"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4358ms)
14944
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f0312475806ff6000023", "parent_ids"=>["5295f02f2475806ff600001a"], "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"=>"5295f02f2475806ff6000018", "parent_id"=>"5295f02f2475806ff600001a", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:25 UTC, "created_at"=>2013-11-27 13:14:25 UTC}] flags=[] (0.2623ms)
14945
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f02f2475806ff6000018", "template_dependencies.en"=>{"$in"=>["5295f0312475806ff6000023"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3002ms)
14946
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f0312475806ff6000023"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3221ms)
14947
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f0312475806ff6000023"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0920ms)
14948
+ 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.5901ms)
14949
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f02f2475806ff6000018", "parent_id"=>"5295f02f2475806ff600001a", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4251ms)
14950
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f02f2475806ff600001a", "site_id"=>"5295f02f2475806ff6000018", "_id"=>{"$ne"=>"5295f0312475806ff6000024"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8528ms)
14951
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f02f2475806ff600001a", "site_id"=>"5295f02f2475806ff6000018"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4449ms)
14952
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f02f2475806ff600001a"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5350ms)
14953
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f0312475806ff6000024", "parent_ids"=>["5295f02f2475806ff600001a"], "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"=>" * Search results:\n <ul>\n {% for result in site.search %}\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"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"5295f02f2475806ff6000018", "parent_id"=>"5295f02f2475806ff600001a", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1072>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:25 UTC, "created_at"=>2013-11-27 13:14:25 UTC}] flags=[] (0.2420ms)
14954
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f02f2475806ff6000018", "template_dependencies.en"=>{"$in"=>["5295f0312475806ff6000024"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3960ms)
14955
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f0312475806ff6000024"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3569ms)
14956
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f0312475806ff6000024"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0961ms)
14957
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f02f2475806ff6000018", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7370ms)
14958
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"5295f02f2475806ff6000018"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4110ms)
14959
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"5295f02f2475806ff600001a"} 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"=>2013-11-27 13:14:26 UTC}} flags=[] (0.2408ms)
14960
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f02f2475806ff6000018", "template_dependencies.en"=>{"$in"=>["5295f02f2475806ff600001a"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4020ms)
14961
+ 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.6859ms)
14962
+ 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.4029ms)
14963
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5295f0332475806ff6000025", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-11-27 13:14:14 UTC, "updated_at"=>2013-11-27 13:14:27 UTC, "memberships"=>[{"_id"=>"5295f0332475806ff6000026", "role"=>"admin", "account_id"=>"5295f02f2475806ff6000017"}]}] flags=[] (0.1900ms)
14964
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f0332475806ff6000025", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5391ms)
14965
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f0332475806ff6000025", "_id"=>{"$ne"=>"5295f0332475806ff6000027"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6609ms)
14966
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f0332475806ff6000027", "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"=>"5295f0332475806ff6000025", "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"=>2013-11-27 13:14:27 UTC, "created_at"=>2013-11-27 13:14:27 UTC}] flags=[] (0.2120ms)
14967
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f0332475806ff6000025", "template_dependencies.en"=>{"$in"=>["5295f0332475806ff6000027"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3881ms)
14968
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f0332475806ff6000027"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4401ms)
14969
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f0332475806ff6000027"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1118ms)
14970
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f0332475806ff6000025", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5918ms)
14971
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f0332475806ff6000025", "_id"=>{"$ne"=>"5295f0332475806ff6000028"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7091ms)
14972
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f0332475806ff6000025"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7312ms)
14973
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f0332475806ff6000028", "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"=>"5295f0332475806ff6000025", "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"=>2013-11-27 13:14:27 UTC, "created_at"=>2013-11-27 13:14:27 UTC}] flags=[] (0.2661ms)
14974
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f0332475806ff6000025", "template_dependencies.en"=>{"$in"=>["5295f0332475806ff6000028"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3920ms)
14975
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f0332475806ff6000028"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3908ms)
14976
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f0332475806ff6000028"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1159ms)
14977
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f0332475806ff6000025", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5069ms)
14978
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f0332475806ff6000025", "_id"=>{"$ne"=>"5295f0332475806ff6000029"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7889ms)
14979
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f0332475806ff6000025"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5209ms)
14980
+ 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.2580ms)
14981
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f0332475806ff6000029", "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"=>"5295f0332475806ff6000025", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:27 UTC, "created_at"=>2013-11-27 13:14:27 UTC}] flags=[] (0.2050ms)
14982
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f0332475806ff6000025", "template_dependencies.en"=>{"$in"=>["5295f0332475806ff6000029"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3140ms)
14983
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f0332475806ff6000029"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3619ms)
14984
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f0332475806ff6000029"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0989ms)
14985
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f0332475806ff6000025", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4830ms)
14986
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5295f0342475806ff600002a", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5295f0332475806ff6000025", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5295f0342475806ff600002b", "updated_at"=>2013-11-27 13:14:28 UTC, "created_at"=>2013-11-27 13:14:28 UTC, "entries_custom_fields"=>[{"_id"=>"5295f0342475806ff600002b", "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.2298ms)
14987
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f0342475806ff600002c"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f0342475806ff600002a"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5913ms)
14988
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f0342475806ff600002a", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5109ms)
14989
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f0342475806ff600002a"]}}} (0.6139ms)
14990
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f0342475806ff600002c", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f0342475806ff600002a", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f0342475806ff600002a", "content_type_id"=>"5295f0342475806ff600002a", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"5295f0332475806ff6000025", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:14:28 UTC, "created_at"=>2013-11-27 13:14:28 UTC}] flags=[] (0.2313ms)
14991
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f02f2475806ff600001f"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f02f2475806ff600001c"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6521ms)
14992
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f0302475806ff6000020"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f02f2475806ff600001c"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4859ms)
14993
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_type"=>{"$in"=>["Locomotive::ContentEntry5295f02f2475806ff600001c"]}} update={"$set"=>{"_label_field_name"=>"name"}} flags=[:multi] (0.1662ms)
14994
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"5295f02f2475806ff600001c"} update={"$set"=>{"updated_at"=>2013-11-27 13:14:29 UTC, "entries_custom_fields_version"=>1, "entries_custom_fields.1.searchable"=>true}} flags=[] (0.1080ms)
14995
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f02f2475806ff600001c"} update={"$set"=>{"custom_fields_recipe.rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "custom_fields_recipe.version"=>1}, "$unset"=>{}, "$rename"=>{}} flags={:multi=>true} (0.1450ms)
14996
+ Started GET "/" for 127.0.0.1 at 2013-11-27 14:14:29 +0100
14997
+ Processing by Locomotive::Public::PagesController#show as HTML
14998
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
14999
+ 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.6101ms)
15000
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f02f2475806ff6000018", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5682ms)
15001
+ Rendered text template (0.0ms)
15002
+ Completed 200 OK in 4.8ms (Views: 0.4ms)
15003
+ Started GET "/en/search?search=stuff" for 127.0.0.1 at 2013-11-27 14:14:29 +0100
15004
+ Processing by Locomotive::Public::PagesController#show as HTML
15005
+ Parameters: {"search"=>"stuff", "locale"=>"en", "path"=>"search"}
15006
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
15007
+ 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.8430ms)
15008
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f02f2475806ff6000018", "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.6781ms)
15009
+ Rendered text template (0.0ms)
15010
+ Completed 200 OK in 460.7ms (Views: 0.9ms)
15011
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"5295f02f2475806ff600001c"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (2.9831ms)
15012
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f02f2475806ff600001c", "updated_at"=>{"$lt"=>2013-11-27 13:14:29 UTC}, "_type"=>{"$in"=>["Locomotive::ContentEntry5295f02f2475806ff600001c"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (4.3442ms)
15013
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"5295f02f2475806ff6000018"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (1.5659ms)
15014
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"_id"=>"5295f02f2475806ff600001c"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.9651ms)
15015
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>"5295f02f2475806ff600001f"} update={"$set"=>{"updated_at"=>2013-11-27 13:14:29 UTC}} flags=[] (0.4170ms)
15016
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"5295f02f2475806ff6000018"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.9890ms)
15017
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"_id"=>"5295f02f2475806ff600001c"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6020ms)
15018
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>"5295f0302475806ff6000020"} update={"$set"=>{"updated_at"=>2013-11-27 13:14:30 UTC}} flags=[] (0.5438ms)
15019
+ Started GET "/en/" for 127.0.0.1 at 2013-11-27 14:14:30 +0100
15020
+ Started GET "/en" for 127.0.0.1 at 2013-11-27 14:14:30 +0100
15021
+ Processing by Locomotive::Public::PagesController#show as HTML
15022
+ Parameters: {"page_path"=>"index", "locale"=>"en"}
15023
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
15024
+ 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.7861ms)
15025
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f02f2475806ff6000018", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7000ms)
15026
+ Rendered text template (0.0ms)
15027
+ Completed 200 OK in 5.9ms (Views: 0.5ms)
15028
+ Started GET "/en/search?search=stuff" for 127.0.0.1 at 2013-11-27 14:14:31 +0100
15029
+ Processing by Locomotive::Public::PagesController#show as HTML
15030
+ Parameters: {"search"=>"stuff", "locale"=>"en", "path"=>"search"}
15031
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
15032
+ 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.5660ms)
15033
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f02f2475806ff6000018", "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.5639ms)
15034
+ Rendered text template (0.0ms)
15035
+ Completed 200 OK in 465.4ms (Views: 0.4ms)
15036
+ 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.6239ms)
15037
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (1.8880ms)
15038
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (1.6580ms)
15039
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (1.7049ms)
15040
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (1.0543ms)
15041
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (1.0140ms)
15042
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8988ms)
15043
+ 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.5391ms)
15044
+ Creating scope :root. Overwriting existing method Locomotive::Page.root.
15045
+ 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.6070ms)
15046
+ 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.8368ms)
15047
+ 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.4728ms)
15048
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"5295f03d2475803734000001", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"b87f53c1119fb1f8250396029d3110a572499344", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"xXhimXWxqpkvKP9tVEzh", "api_key"=>"f44c770b4855776cff9935df858ae27267851db8", "updated_at"=>2013-11-27 13:14:37 UTC, "created_at"=>2013-11-27 13:14:37 UTC}] flags=[] (0.1557ms)
15049
+ 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.7162ms)
15050
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5295f03d2475803734000002", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-11-27 13:14:37 UTC, "updated_at"=>2013-11-27 13:14:37 UTC, "memberships"=>[{"_id"=>"5295f03d2475803734000003", "role"=>"admin", "account_id"=>"5295f03d2475803734000001"}]}] flags=[] (0.2229ms)
15051
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f03d2475803734000002", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.8368ms)
15052
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f03d2475803734000002", "_id"=>{"$ne"=>"5295f03d2475803734000004"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4232ms)
15053
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f03d2475803734000004", "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"=>"5295f03d2475803734000002", "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"=>2013-11-27 13:14:37 UTC, "created_at"=>2013-11-27 13:14:37 UTC}] flags=[] (0.2031ms)
15054
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03d2475803734000004"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5350ms)
15055
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03d2475803734000002", "template_dependencies.en"=>{"$in"=>["5295f03d2475803734000004"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3769ms)
15056
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f03d2475803734000004"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1259ms)
15057
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f03d2475803734000004"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (3.6690ms)
15058
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f03d2475803734000005", "_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"5295f03d2475803734000002", :fullpath=>{"en"=>"index"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f03d2475803734000004", "_keywords"=>["en:home", "en:page"]}] flags=[] (0.2308ms)
15059
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f03d2475803734000002", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4911ms)
15060
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f03d2475803734000002", "_id"=>{"$ne"=>"5295f03d2475803734000006"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7029ms)
15061
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f03d2475803734000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4280ms)
15062
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f03d2475803734000006", "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"=>"5295f03d2475803734000002", "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"=>2013-11-27 13:14:37 UTC, "created_at"=>2013-11-27 13:14:37 UTC}] flags=[] (0.1721ms)
15063
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03d2475803734000002", "template_dependencies.en"=>{"$in"=>["5295f03d2475803734000006"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3183ms)
15064
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03d2475803734000006"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3529ms)
15065
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f03d2475803734000006"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0911ms)
15066
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f03d2475803734000002", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (1.0800ms)
15067
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5295f03d2475803734000007", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5295f03d2475803734000002", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5295f03d2475803734000008", "updated_at"=>2013-11-27 13:14:37 UTC, "created_at"=>2013-11-27 13:14:37 UTC, "entries_custom_fields"=>[{"_id"=>"5295f03d2475803734000008", "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.3331ms)
15068
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"5295f03d2475803734000007"} update={"$push"=>{"entries_custom_fields"=>{"_id"=>"5295f03d2475803734000009", "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", "updated_at"=>2013-11-27 13:14:37 UTC, "created_at"=>2013-11-27 13:14:37 UTC}}} flags=[] (0.1998ms)
15069
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f03d247580373400000a"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f03d2475803734000007"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8090ms)
15070
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f03d2475803734000007", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4358ms)
15071
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f03d2475803734000007"]}}} (0.4044ms)
15072
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f03d247580373400000a", "_position"=>0, "_visible"=>true, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f03d2475803734000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f03d2475803734000007", "content_type_id"=>"5295f03d2475803734000007", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"5295f03d2475803734000002", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:14:37 UTC, "created_at"=>2013-11-27 13:14:37 UTC}] flags=[] (0.1981ms)
15073
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f03d2475803734000007", "_original_id"=>"5295f03d247580373400000a"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (1.8651ms)
15074
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f03d247580373400000b", "_stored"=>{:_slug=>{"en"=>"findable-entry"}, "name"=>"Findable entry", :site_id=>"5295f03d2475803734000002", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry5295f03d2475803734000007", "_original_id"=>"5295f03d247580373400000a", "_keywords"=>["findable", "entry"]}] flags=[] (0.1402ms)
15075
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f03d247580373400000c"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f03d2475803734000007"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5059ms)
15076
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f03d2475803734000007", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3991ms)
15077
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f03d2475803734000007"]}}} (0.3800ms)
15078
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f03d2475803734000007"]}}} (0.2959ms)
15079
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f03d2475803734000007"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.4559ms)
15080
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f03d247580373400000c", "_position"=>1, "_visible"=>true, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f03d2475803734000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f03d2475803734000007", "content_type_id"=>"5295f03d2475803734000007", "_slug"=>{"en"=>"hidden"}, "site_id"=>"5295f03d2475803734000002", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:14:37 UTC, "created_at"=>2013-11-27 13:14:37 UTC}] flags=[] (0.1700ms)
15081
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f03d2475803734000007", "_original_id"=>"5295f03d247580373400000c"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3419ms)
15082
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f03d247580373400000d", "_stored"=>{:_slug=>{"en"=>"hidden"}, "name"=>"Hidden", :site_id=>"5295f03d2475803734000002", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry5295f03d2475803734000007", "_original_id"=>"5295f03d247580373400000c", "_keywords"=>["hidden"]}] flags=[] (0.1211ms)
15083
+ 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.5729ms)
15084
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f03d2475803734000002", "parent_id"=>"5295f03d2475803734000004", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4961ms)
15085
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03d2475803734000004", "site_id"=>"5295f03d2475803734000002", "_id"=>{"$ne"=>"5295f03d247580373400000e"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4132ms)
15086
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f03d2475803734000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5500ms)
15087
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f03d247580373400000e", "parent_ids"=>["5295f03d2475803734000004"], "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"=>"5295f03d2475803734000002", "parent_id"=>"5295f03d2475803734000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:37 UTC, "created_at"=>2013-11-27 13:14:37 UTC}] flags=[] (0.1848ms)
15088
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03d2475803734000002", "template_dependencies.en"=>{"$in"=>["5295f03d247580373400000e"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3641ms)
15089
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03d247580373400000e"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3281ms)
15090
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f03d247580373400000e"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0939ms)
15091
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f03d247580373400000e"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4041ms)
15092
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f03d247580373400000f", "_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :site_id=>"5295f03d2475803734000002", :fullpath=>{"en"=>"findable"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f03d247580373400000e", "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}] flags=[] (0.1340ms)
15093
+ 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.5939ms)
15094
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f03d2475803734000002", "parent_id"=>"5295f03d2475803734000004", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4449ms)
15095
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03d2475803734000004", "site_id"=>"5295f03d2475803734000002", "_id"=>{"$ne"=>"5295f03d2475803734000010"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6583ms)
15096
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03d2475803734000004", "site_id"=>"5295f03d2475803734000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4799ms)
15097
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f03d2475803734000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5162ms)
15098
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f03d2475803734000010", "parent_ids"=>["5295f03d2475803734000004"], "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"=>"5295f03d2475803734000002", "parent_id"=>"5295f03d2475803734000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:37 UTC, "created_at"=>2013-11-27 13:14:37 UTC}] flags=[] (0.2792ms)
15099
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03d2475803734000002", "template_dependencies.en"=>{"$in"=>["5295f03d2475803734000010"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3133ms)
15100
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03d2475803734000010"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3142ms)
15101
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f03d2475803734000010"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0939ms)
15102
+ 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.5403ms)
15103
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f03d2475803734000002", "parent_id"=>"5295f03d2475803734000004", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4909ms)
15104
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03d2475803734000004", "site_id"=>"5295f03d2475803734000002", "_id"=>{"$ne"=>"5295f03d2475803734000011"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.9491ms)
15105
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03d2475803734000004", "site_id"=>"5295f03d2475803734000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5720ms)
15106
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f03d2475803734000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4921ms)
15107
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f03d2475803734000011", "parent_ids"=>["5295f03d2475803734000004"], "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"=>"5295f03d2475803734000002", "parent_id"=>"5295f03d2475803734000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:37 UTC, "created_at"=>2013-11-27 13:14:37 UTC}] flags=[] (0.1771ms)
15108
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03d2475803734000002", "template_dependencies.en"=>{"$in"=>["5295f03d2475803734000011"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3922ms)
15109
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03d2475803734000011"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3703ms)
15110
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f03d2475803734000011"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1209ms)
15111
+ 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.6359ms)
15112
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f03d2475803734000002", "parent_id"=>"5295f03d2475803734000004", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4671ms)
15113
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03d2475803734000004", "site_id"=>"5295f03d2475803734000002", "_id"=>{"$ne"=>"5295f03d2475803734000012"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8278ms)
15114
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03d2475803734000004", "site_id"=>"5295f03d2475803734000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4852ms)
15115
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f03d2475803734000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5021ms)
15116
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f03d2475803734000012", "parent_ids"=>["5295f03d2475803734000004"], "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"=>" * Search results:\n <ul>\n {% for result in site.search %}\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"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"5295f03d2475803734000002", "parent_id"=>"5295f03d2475803734000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1072>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:37 UTC, "created_at"=>2013-11-27 13:14:37 UTC}] flags=[] (0.1910ms)
15117
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03d2475803734000002", "template_dependencies.en"=>{"$in"=>["5295f03d2475803734000012"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3431ms)
15118
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03d2475803734000012"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3581ms)
15119
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f03d2475803734000012"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1078ms)
15120
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f03d2475803734000012"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3452ms)
15121
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f03d2475803734000013", "_stored"=>{:title=>{"en"=>"search"}, :site_id=>"5295f03d2475803734000002", :fullpath=>{"en"=>"search"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f03d2475803734000012", "_keywords"=>["en:search"]}] flags=[] (0.1223ms)
15122
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03d2475803734000002", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5322ms)
15123
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"5295f03d2475803734000002"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5460ms)
15124
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"5295f03d2475803734000004"} 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"=>2013-11-27 13:14:37 UTC}} flags=[] (0.1600ms)
15125
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03d2475803734000002", "template_dependencies.en"=>{"$in"=>["5295f03d2475803734000004"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3829ms)
15126
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f03d2475803734000004"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5140ms)
15127
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_models selector={"_id"=>"5295f03d2475803734000005"} update={"$set"=>{"_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"5295f03d2475803734000002", :fullpath=>{"en"=>"index"}}}} flags=[] (0.1278ms)
15128
+ 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.5031ms)
15129
+ 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.2980ms)
15130
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5295f03d2475803734000014", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-11-27 13:14:37 UTC, "updated_at"=>2013-11-27 13:14:37 UTC, "memberships"=>[{"_id"=>"5295f03d2475803734000015", "role"=>"admin", "account_id"=>"5295f03d2475803734000001"}]}] flags=[] (0.1709ms)
15131
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f03d2475803734000014", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6132ms)
15132
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f03d2475803734000014", "_id"=>{"$ne"=>"5295f03d2475803734000016"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5300ms)
15133
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f03d2475803734000016", "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"=>"5295f03d2475803734000014", "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"=>2013-11-27 13:14:37 UTC, "created_at"=>2013-11-27 13:14:37 UTC}] flags=[] (0.3650ms)
15134
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03d2475803734000014", "template_dependencies.en"=>{"$in"=>["5295f03d2475803734000016"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4759ms)
15135
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03d2475803734000016"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4730ms)
15136
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f03d2475803734000016"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1352ms)
15137
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f03d2475803734000016"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4129ms)
15138
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f03d2475803734000017", "_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"5295f03d2475803734000014", :fullpath=>{"en"=>"index"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f03d2475803734000016", "_keywords"=>["en:home", "en:page"]}] flags=[] (0.1562ms)
15139
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f03d2475803734000014", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6561ms)
15140
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f03d2475803734000014", "_id"=>{"$ne"=>"5295f03d2475803734000018"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.9050ms)
15141
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f03d2475803734000014"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5519ms)
15142
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f03d2475803734000018", "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"=>"5295f03d2475803734000014", "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"=>2013-11-27 13:14:37 UTC, "created_at"=>2013-11-27 13:14:37 UTC}] flags=[] (0.3359ms)
15143
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03d2475803734000014", "template_dependencies.en"=>{"$in"=>["5295f03d2475803734000018"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6027ms)
15144
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03d2475803734000018"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6082ms)
15145
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f03d2475803734000018"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1509ms)
15146
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f03d2475803734000014", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6161ms)
15147
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f03d2475803734000014", "_id"=>{"$ne"=>"5295f03d2475803734000019"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8922ms)
15148
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f03d2475803734000014"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5059ms)
15149
+ 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.3788ms)
15150
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f03d2475803734000019", "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"=>"5295f03d2475803734000014", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:37 UTC, "created_at"=>2013-11-27 13:14:37 UTC}] flags=[] (0.1981ms)
15151
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03d2475803734000014", "template_dependencies.en"=>{"$in"=>["5295f03d2475803734000019"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3529ms)
15152
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03d2475803734000019"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3729ms)
15153
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f03d2475803734000019"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1001ms)
15154
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f03d2475803734000019"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3471ms)
15155
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f03d247580373400001a", "_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :site_id=>"5295f03d2475803734000014", :fullpath=>{"en"=>"rickroll"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f03d2475803734000019", "_keywords"=>["en:this", "en:should", "en:never", "en:show", "en:up", "en:in", "en:the", "en:search,", "en:even", "en:if", "en:it", "en:would", "en:be", "en:findable"]}] flags=[] (0.1628ms)
15156
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f03d2475803734000014", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3741ms)
15157
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5295f03d247580373400001b", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5295f03d2475803734000014", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5295f03d247580373400001c", "updated_at"=>2013-11-27 13:14:37 UTC, "created_at"=>2013-11-27 13:14:37 UTC, "entries_custom_fields"=>[{"_id"=>"5295f03d247580373400001c", "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.2053ms)
15158
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f03d247580373400001d"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f03d247580373400001b"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5920ms)
15159
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f03d247580373400001b", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4489ms)
15160
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f03d247580373400001b"]}}} (0.4671ms)
15161
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f03d247580373400001d", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f03d247580373400001b", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f03d247580373400001b", "content_type_id"=>"5295f03d247580373400001b", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"5295f03d2475803734000014", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:14:37 UTC, "created_at"=>2013-11-27 13:14:37 UTC}] flags=[] (0.1721ms)
15162
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f03d247580373400001b", "_original_id"=>"5295f03d247580373400001d"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3750ms)
15163
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f03d247580373400001e", "_stored"=>{:_slug=>{"en"=>"not-findable-entry"}, "name"=>"NOT Findable entry", :site_id=>"5295f03d2475803734000014", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry5295f03d247580373400001b", "_original_id"=>"5295f03d247580373400001d", "_keywords"=>["not", "findable", "entry"]}] flags=[] (0.1290ms)
15164
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f03d247580373400000a"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f03d2475803734000007"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4144ms)
15165
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f03d247580373400000c"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f03d2475803734000007"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3908ms)
15166
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_type"=>{"$in"=>["Locomotive::ContentEntry5295f03d2475803734000007"]}} update={"$set"=>{"_label_field_name"=>"name"}} flags=[:multi] (0.1459ms)
15167
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"5295f03d2475803734000007"} update={"$set"=>{"updated_at"=>2013-11-27 13:14:37 UTC, "entries_custom_fields_version"=>1, "entries_custom_fields.1.searchable"=>true}} flags=[] (0.1040ms)
15168
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f03d2475803734000007"} update={"$set"=>{"custom_fields_recipe.rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "custom_fields_recipe.version"=>1}, "$unset"=>{}, "$rename"=>{}} flags={:multi=>true} (0.1180ms)
15169
+ Started GET "/" for 127.0.0.1 at 2013-11-27 14:14:37 +0100
15170
+ Processing by Locomotive::Public::PagesController#show as HTML
15171
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
15172
+ 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.5901ms)
15173
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03d2475803734000002", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6151ms)
15174
+ Rendered text template (0.0ms)
15175
+ Completed 200 OK in 12.3ms (Views: 7.1ms)
15176
+ Started GET "/en/search?search=stuff" for 127.0.0.1 at 2013-11-27 14:14:37 +0100
15177
+ Processing by Locomotive::Public::PagesController#show as HTML
15178
+ Parameters: {"search"=>"stuff", "locale"=>"en", "path"=>"search"}
15179
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
15180
+ 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.8142ms)
15181
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03d2475803734000002", "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.6962ms)
15182
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"_stored.site_id"=>"5295f03d2475803734000002", "_keywords"=>{"$in"=>["stuff", "en:stuff"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3879ms)
15183
+ Rendered text template (0.0ms)
15184
+ Completed 200 OK in 7.1ms (Views: 0.5ms)
15185
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"5295f03d2475803734000007"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4590ms)
15186
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f03d2475803734000007", "updated_at"=>{"$lt"=>2013-11-27 13:14:37 UTC}, "_type"=>{"$in"=>["Locomotive::ContentEntry5295f03d2475803734000007"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6952ms)
15187
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"5295f03d2475803734000002"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3798ms)
15188
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"_id"=>"5295f03d2475803734000007"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4518ms)
15189
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>"5295f03d247580373400000a"} update={"$set"=>{"updated_at"=>2013-11-27 13:14:38 UTC}} flags=[] (0.1359ms)
15190
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f03d2475803734000007", "_original_id"=>"5295f03d247580373400000a"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5150ms)
15191
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_models selector={"_id"=>"5295f03d247580373400000b"} update={"$set"=>{"_stored"=>{:_slug=>{"en"=>"findable-entry"}, "name"=>"Findable entry", :site_id=>"5295f03d2475803734000002", :content_type_slug=>"examples"}, "_keywords"=>["findable", "entry", "some", "stuff"]}} flags=[] (0.1152ms)
15192
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"5295f03d2475803734000002"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3719ms)
15193
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"_id"=>"5295f03d2475803734000007"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6547ms)
15194
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>"5295f03d247580373400000c"} update={"$set"=>{"updated_at"=>2013-11-27 13:14:38 UTC}} flags=[] (0.2019ms)
15195
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f03d2475803734000007", "_original_id"=>"5295f03d247580373400000c"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5376ms)
15196
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_models selector={"_id"=>"5295f03d247580373400000d"} update={"$set"=>{"_stored"=>{:_slug=>{"en"=>"hidden"}, "name"=>"Hidden", :site_id=>"5295f03d2475803734000002", :content_type_slug=>"examples"}, "_keywords"=>["hidden", "not", "findable"]}} flags=[] (0.1171ms)
15197
+ Started GET "/en/" for 127.0.0.1 at 2013-11-27 14:14:38 +0100
15198
+ Started GET "/en" for 127.0.0.1 at 2013-11-27 14:14:38 +0100
15199
+ Processing by Locomotive::Public::PagesController#show as HTML
15200
+ Parameters: {"page_path"=>"index", "locale"=>"en"}
15201
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
15202
+ 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.5689ms)
15203
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03d2475803734000002", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5388ms)
15204
+ Rendered text template (0.0ms)
15205
+ Completed 200 OK in 4.7ms (Views: 0.4ms)
15206
+ Started GET "/en/search?search=stuff" for 127.0.0.1 at 2013-11-27 14:14:38 +0100
15207
+ Processing by Locomotive::Public::PagesController#show as HTML
15208
+ Parameters: {"search"=>"stuff", "locale"=>"en", "path"=>"search"}
15209
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
15210
+ 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.6280ms)
15211
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03d2475803734000002", "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.7291ms)
15212
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"_stored.site_id"=>"5295f03d2475803734000002", "_keywords"=>{"$in"=>["stuff", "en:stuff"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5262ms)
15213
+ Rendered text template (0.0ms)
15214
+ Completed 200 OK in 9.2ms (Views: 0.5ms)
15215
+ 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.7718ms)
15216
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (1.3492ms)
15217
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (1.2379ms)
15218
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (0.8569ms)
15219
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"active_search_mongoid_models"} (3.6290ms)
15220
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (0.9162ms)
15221
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (0.9851ms)
15222
+ 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.3309ms)
15223
+ 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.6359ms)
15224
+ 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.3109ms)
15225
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"5295f03e247580373400001f", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"08de209feb030172aa24d240fb0258544774c410", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"ndXxD1StmzmuyEt4QaLt", "api_key"=>"8aa1b9f307b3d1e675b6491894e282d1088a7aa6", "updated_at"=>2013-11-27 13:14:38 UTC, "created_at"=>2013-11-27 13:14:38 UTC}] flags=[] (0.1020ms)
15226
+ 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.4380ms)
15227
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5295f03e2475803734000020", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-11-27 13:14:37 UTC, "updated_at"=>2013-11-27 13:14:38 UTC, "memberships"=>[{"_id"=>"5295f03e2475803734000021", "role"=>"admin", "account_id"=>"5295f03e247580373400001f"}]}] flags=[] (0.2141ms)
15228
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f03e2475803734000020", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5038ms)
15229
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f03e2475803734000020", "_id"=>{"$ne"=>"5295f03e2475803734000022"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4077ms)
15230
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f03e2475803734000022", "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"=>"5295f03e2475803734000020", "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"=>2013-11-27 13:14:38 UTC, "created_at"=>2013-11-27 13:14:38 UTC}] flags=[] (0.1731ms)
15231
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03e2475803734000020", "template_dependencies.en"=>{"$in"=>["5295f03e2475803734000022"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4001ms)
15232
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03e2475803734000022"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3872ms)
15233
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f03e2475803734000022"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0930ms)
15234
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f03e2475803734000022"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.2942ms)
15235
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f03e2475803734000023", "_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"5295f03e2475803734000020", :fullpath=>{"en"=>"index"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f03e2475803734000022", "_keywords"=>["en:home", "en:page"]}] flags=[] (0.1211ms)
15236
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f03e2475803734000020", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4747ms)
15237
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f03e2475803734000020", "_id"=>{"$ne"=>"5295f03e2475803734000024"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8049ms)
15238
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f03e2475803734000020"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5109ms)
15239
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f03e2475803734000024", "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"=>"5295f03e2475803734000020", "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"=>2013-11-27 13:14:38 UTC, "created_at"=>2013-11-27 13:14:38 UTC}] flags=[] (0.2151ms)
15240
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03e2475803734000020", "template_dependencies.en"=>{"$in"=>["5295f03e2475803734000024"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3321ms)
15241
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03e2475803734000024"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3231ms)
15242
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f03e2475803734000024"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0989ms)
15243
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f03e2475803734000020", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5252ms)
15244
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5295f03e2475803734000025", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5295f03e2475803734000020", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5295f03e2475803734000026", "updated_at"=>2013-11-27 13:14:38 UTC, "created_at"=>2013-11-27 13:14:38 UTC, "entries_custom_fields"=>[{"_id"=>"5295f03e2475803734000026", "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.2639ms)
15245
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"5295f03e2475803734000025"} update={"$push"=>{"entries_custom_fields"=>{"_id"=>"5295f03e2475803734000027", "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", "updated_at"=>2013-11-27 13:14:38 UTC, "created_at"=>2013-11-27 13:14:38 UTC}}} flags=[] (0.2038ms)
15246
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f03e2475803734000028"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f03e2475803734000025"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5450ms)
15247
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f03e2475803734000025", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6092ms)
15248
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f03e2475803734000025"]}}} (0.5672ms)
15249
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f03e2475803734000028", "_position"=>0, "_visible"=>true, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f03e2475803734000025", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f03e2475803734000025", "content_type_id"=>"5295f03e2475803734000025", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"5295f03e2475803734000020", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:14:38 UTC, "created_at"=>2013-11-27 13:14:38 UTC}] flags=[] (0.1829ms)
15250
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f03e2475803734000025", "_original_id"=>"5295f03e2475803734000028"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (1.2150ms)
15251
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f03e2475803734000029", "_stored"=>{:_slug=>{"en"=>"findable-entry"}, "name"=>"Findable entry", :site_id=>"5295f03e2475803734000020", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry5295f03e2475803734000025", "_original_id"=>"5295f03e2475803734000028", "_keywords"=>["findable", "entry"]}] flags=[] (0.1678ms)
15252
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f03e247580373400002a"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f03e2475803734000025"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5012ms)
15253
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f03e2475803734000025", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4013ms)
15254
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f03e2475803734000025"]}}} (0.3939ms)
15255
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f03e2475803734000025"]}}} (0.2851ms)
15256
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f03e2475803734000025"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.4668ms)
15257
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f03e247580373400002a", "_position"=>1, "_visible"=>true, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f03e2475803734000025", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f03e2475803734000025", "content_type_id"=>"5295f03e2475803734000025", "_slug"=>{"en"=>"hidden"}, "site_id"=>"5295f03e2475803734000020", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:14:38 UTC, "created_at"=>2013-11-27 13:14:38 UTC}] flags=[] (0.1719ms)
15258
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f03e2475803734000025", "_original_id"=>"5295f03e247580373400002a"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3719ms)
15259
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f03e247580373400002b", "_stored"=>{:_slug=>{"en"=>"hidden"}, "name"=>"Hidden", :site_id=>"5295f03e2475803734000020", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry5295f03e2475803734000025", "_original_id"=>"5295f03e247580373400002a", "_keywords"=>["hidden"]}] flags=[] (0.1390ms)
15260
+ 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.5550ms)
15261
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f03e2475803734000020", "parent_id"=>"5295f03e2475803734000022", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5171ms)
15262
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03e2475803734000022", "site_id"=>"5295f03e2475803734000020", "_id"=>{"$ne"=>"5295f03e247580373400002c"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4339ms)
15263
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f03e2475803734000022"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5062ms)
15264
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f03e247580373400002c", "parent_ids"=>["5295f03e2475803734000022"], "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"=>"5295f03e2475803734000020", "parent_id"=>"5295f03e2475803734000022", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:38 UTC, "created_at"=>2013-11-27 13:14:38 UTC}] flags=[] (0.1872ms)
15265
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03e2475803734000020", "template_dependencies.en"=>{"$in"=>["5295f03e247580373400002c"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3920ms)
15266
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03e247580373400002c"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3493ms)
15267
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f03e247580373400002c"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0951ms)
15268
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f03e247580373400002c"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3071ms)
15269
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f03e247580373400002d", "_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :site_id=>"5295f03e2475803734000020", :fullpath=>{"en"=>"findable"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f03e247580373400002c", "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}] flags=[] (0.1369ms)
15270
+ 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.6709ms)
15271
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f03e2475803734000020", "parent_id"=>"5295f03e2475803734000022", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4201ms)
15272
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03e2475803734000022", "site_id"=>"5295f03e2475803734000020", "_id"=>{"$ne"=>"5295f03e247580373400002e"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5970ms)
15273
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03e2475803734000022", "site_id"=>"5295f03e2475803734000020"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4349ms)
15274
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f03e2475803734000022"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4420ms)
15275
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f03e247580373400002e", "parent_ids"=>["5295f03e2475803734000022"], "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"=>"5295f03e2475803734000020", "parent_id"=>"5295f03e2475803734000022", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:38 UTC, "created_at"=>2013-11-27 13:14:38 UTC}] flags=[] (0.1841ms)
15276
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03e2475803734000020", "template_dependencies.en"=>{"$in"=>["5295f03e247580373400002e"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3569ms)
15277
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03e247580373400002e"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3772ms)
15278
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f03e247580373400002e"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1101ms)
15279
+ 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.5150ms)
15280
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f03e2475803734000020", "parent_id"=>"5295f03e2475803734000022", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4549ms)
15281
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03e2475803734000022", "site_id"=>"5295f03e2475803734000020", "_id"=>{"$ne"=>"5295f03e247580373400002f"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6731ms)
15282
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03e2475803734000022", "site_id"=>"5295f03e2475803734000020"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4861ms)
15283
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f03e2475803734000022"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4518ms)
15284
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f03e247580373400002f", "parent_ids"=>["5295f03e2475803734000022"], "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"=>"5295f03e2475803734000020", "parent_id"=>"5295f03e2475803734000022", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:38 UTC, "created_at"=>2013-11-27 13:14:38 UTC}] flags=[] (0.2518ms)
15285
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03e2475803734000020", "template_dependencies.en"=>{"$in"=>["5295f03e247580373400002f"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3109ms)
15286
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03e247580373400002f"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4151ms)
15287
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f03e247580373400002f"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0978ms)
15288
+ 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.5302ms)
15289
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f03e2475803734000020", "parent_id"=>"5295f03e2475803734000022", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4690ms)
15290
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03e2475803734000022", "site_id"=>"5295f03e2475803734000020", "_id"=>{"$ne"=>"5295f03e2475803734000030"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8659ms)
15291
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03e2475803734000022", "site_id"=>"5295f03e2475803734000020"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5798ms)
15292
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f03e2475803734000022"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5209ms)
15293
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f03e2475803734000030", "parent_ids"=>["5295f03e2475803734000022"], "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"=>" * Search results:\n <ul>\n {% for result in site.search %}\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"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"5295f03e2475803734000020", "parent_id"=>"5295f03e2475803734000022", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1072>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:38 UTC, "created_at"=>2013-11-27 13:14:38 UTC}] flags=[] (0.1962ms)
15294
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03e2475803734000020", "template_dependencies.en"=>{"$in"=>["5295f03e2475803734000030"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3431ms)
15295
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03e2475803734000030"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3150ms)
15296
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f03e2475803734000030"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1030ms)
15297
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f03e2475803734000030"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3231ms)
15298
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f03e2475803734000031", "_stored"=>{:title=>{"en"=>"search"}, :site_id=>"5295f03e2475803734000020", :fullpath=>{"en"=>"search"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f03e2475803734000030", "_keywords"=>["en:search"]}] flags=[] (0.1571ms)
15299
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03e2475803734000020", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5462ms)
15300
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"5295f03e2475803734000020"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3269ms)
15301
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"5295f03e2475803734000022"} 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"=>2013-11-27 13:14:38 UTC}} flags=[] (0.1450ms)
15302
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03e2475803734000020", "template_dependencies.en"=>{"$in"=>["5295f03e2475803734000022"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3829ms)
15303
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f03e2475803734000022"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4470ms)
15304
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_models selector={"_id"=>"5295f03e2475803734000023"} update={"$set"=>{"_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"5295f03e2475803734000020", :fullpath=>{"en"=>"index"}}}} flags=[] (0.1180ms)
15305
+ 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.4940ms)
15306
+ 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.3190ms)
15307
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5295f03e2475803734000032", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-11-27 13:14:37 UTC, "updated_at"=>2013-11-27 13:14:38 UTC, "memberships"=>[{"_id"=>"5295f03e2475803734000033", "role"=>"admin", "account_id"=>"5295f03e247580373400001f"}]}] flags=[] (0.1550ms)
15308
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f03e2475803734000032", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5062ms)
15309
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f03e2475803734000032", "_id"=>{"$ne"=>"5295f03e2475803734000034"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4463ms)
15310
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f03e2475803734000034", "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"=>"5295f03e2475803734000032", "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"=>2013-11-27 13:14:38 UTC, "created_at"=>2013-11-27 13:14:38 UTC}] flags=[] (0.2060ms)
15311
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03e2475803734000032", "template_dependencies.en"=>{"$in"=>["5295f03e2475803734000034"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3290ms)
15312
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03e2475803734000034"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3891ms)
15313
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f03e2475803734000034"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1271ms)
15314
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f03e2475803734000034"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4017ms)
15315
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f03e2475803734000035", "_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"5295f03e2475803734000032", :fullpath=>{"en"=>"index"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f03e2475803734000034", "_keywords"=>["en:home", "en:page"]}] flags=[] (0.1421ms)
15316
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f03e2475803734000032", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5109ms)
15317
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f03e2475803734000032", "_id"=>{"$ne"=>"5295f03e2475803734000036"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7889ms)
15318
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f03e2475803734000032"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5291ms)
15319
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f03e2475803734000036", "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"=>"5295f03e2475803734000032", "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"=>2013-11-27 13:14:38 UTC, "created_at"=>2013-11-27 13:14:38 UTC}] flags=[] (0.2291ms)
15320
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03e2475803734000032", "template_dependencies.en"=>{"$in"=>["5295f03e2475803734000036"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4020ms)
15321
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03e2475803734000036"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3989ms)
15322
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f03e2475803734000036"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0970ms)
15323
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f03e2475803734000032", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4301ms)
15324
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f03e2475803734000032", "_id"=>{"$ne"=>"5295f03e2475803734000037"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8361ms)
15325
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f03e2475803734000032"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6502ms)
15326
+ 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.2911ms)
15327
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f03e2475803734000037", "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"=>"5295f03e2475803734000032", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:38 UTC, "created_at"=>2013-11-27 13:14:38 UTC}] flags=[] (0.2332ms)
15328
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03e2475803734000032", "template_dependencies.en"=>{"$in"=>["5295f03e2475803734000037"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3600ms)
15329
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f03e2475803734000037"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3788ms)
15330
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f03e2475803734000037"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1140ms)
15331
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f03e2475803734000037"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3440ms)
15332
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f03e2475803734000038", "_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :site_id=>"5295f03e2475803734000032", :fullpath=>{"en"=>"rickroll"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f03e2475803734000037", "_keywords"=>["en:this", "en:should", "en:never", "en:show", "en:up", "en:in", "en:the", "en:search,", "en:even", "en:if", "en:it", "en:would", "en:be", "en:findable"]}] flags=[] (0.1640ms)
15333
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f03e2475803734000032", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5260ms)
15334
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5295f03e2475803734000039", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5295f03e2475803734000032", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5295f03e247580373400003a", "updated_at"=>2013-11-27 13:14:38 UTC, "created_at"=>2013-11-27 13:14:38 UTC, "entries_custom_fields"=>[{"_id"=>"5295f03e247580373400003a", "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)
15335
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f03e247580373400003b"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f03e2475803734000039"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5291ms)
15336
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f03e2475803734000039", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4890ms)
15337
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f03e2475803734000039"]}}} (0.4568ms)
15338
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f03e247580373400003b", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f03e2475803734000039", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f03e2475803734000039", "content_type_id"=>"5295f03e2475803734000039", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"5295f03e2475803734000032", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:14:38 UTC, "created_at"=>2013-11-27 13:14:38 UTC}] flags=[] (0.1662ms)
15339
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f03e2475803734000039", "_original_id"=>"5295f03e247580373400003b"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3951ms)
15340
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f03e247580373400003c", "_stored"=>{:_slug=>{"en"=>"not-findable-entry"}, "name"=>"NOT Findable entry", :site_id=>"5295f03e2475803734000032", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry5295f03e2475803734000039", "_original_id"=>"5295f03e247580373400003b", "_keywords"=>["not", "findable", "entry"]}] flags=[] (0.1242ms)
15341
+ Started GET "/" for 127.0.0.1 at 2013-11-27 14:14:38 +0100
15342
+ Processing by Locomotive::Public::PagesController#show as HTML
15343
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
15344
+ 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.5960ms)
15345
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03e2475803734000020", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7820ms)
15346
+ Rendered text template (0.0ms)
15347
+ Completed 200 OK in 5.6ms (Views: 0.5ms)
15348
+ Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-11-27 14:14:38 +0100
15349
+ Processing by Locomotive::Public::PagesController#show as HTML
15350
+ Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"}
15351
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
15352
+ 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.6199ms)
15353
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03e2475803734000020", "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.6521ms)
15354
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"_stored.site_id"=>"5295f03e2475803734000020", "_keywords"=>{"$in"=>["findable", "en:findable"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5851ms)
15355
+ Rendered text template (0.0ms)
15356
+ Completed 200 OK in 12.7ms (Views: 0.6ms)
15357
+ Started GET "/findable" for 127.0.0.1 at 2013-11-27 14:14:38 +0100
15358
+ Processing by Locomotive::Public::PagesController#show as HTML
15359
+ Parameters: {"path"=>"findable"}
15360
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
15361
+ 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.7002ms)
15362
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03e2475803734000020", "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.6862ms)
15363
+ Rendered text template (0.0ms)
15364
+ Completed 200 OK in 4.9ms (Views: 0.4ms)
15365
+ Started GET "/" for 127.0.0.1 at 2013-11-27 14:14:38 +0100
15366
+ Processing by Locomotive::Public::PagesController#show as HTML
15367
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
15368
+ 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.5429ms)
15369
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03e2475803734000020", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5538ms)
15370
+ Rendered text template (0.0ms)
15371
+ Completed 200 OK in 3.9ms (Views: 0.3ms)
15372
+ Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-11-27 14:14:38 +0100
15373
+ Processing by Locomotive::Public::PagesController#show as HTML
15374
+ Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"}
15375
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
15376
+ 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.5610ms)
15377
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f03e2475803734000020", "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.5870ms)
15378
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"_stored.site_id"=>"5295f03e2475803734000020", "_keywords"=>{"$in"=>["not", "found", "en:not", "en:found"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3259ms)
15379
+ Rendered text template (0.0ms)
15380
+ Completed 200 OK in 4.9ms (Views: 0.3ms)
15381
+ 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.5250ms)
15382
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (0.5720ms)
15383
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (0.4699ms)
15384
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (0.4668ms)
15385
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"active_search_mongoid_models"} (0.5271ms)
15386
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (0.5209ms)
15387
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (0.4528ms)
15388
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3959ms)
15389
+ 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.9370ms)
15390
+ Creating scope :root. Overwriting existing method Locomotive::Page.root.
15391
+ 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.4911ms)
15392
+ 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.9191ms)
15393
+ 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.4849ms)
15394
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"5295f044247580f0c6000001", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"2caccc2e5eb2014c45b05322cb83baa1fed00293", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"tFPFFYz5yjxwAKoqQybd", "api_key"=>"717b28b93e56be91860fb53493c2997c2d1c98d9", "updated_at"=>2013-11-27 13:14:44 UTC, "created_at"=>2013-11-27 13:14:44 UTC}] flags=[] (0.2692ms)
15395
+ 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.8903ms)
15396
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5295f044247580f0c6000002", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-11-27 13:14:44 UTC, "updated_at"=>2013-11-27 13:14:44 UTC, "memberships"=>[{"_id"=>"5295f044247580f0c6000003", "role"=>"admin", "account_id"=>"5295f044247580f0c6000001"}]}] flags=[] (0.2069ms)
15397
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f044247580f0c6000002", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (1.1442ms)
15398
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f044247580f0c6000002", "_id"=>{"$ne"=>"5295f044247580f0c6000004"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4721ms)
15399
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f044247580f0c6000004", "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"=>"5295f044247580f0c6000002", "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"=>2013-11-27 13:14:44 UTC, "created_at"=>2013-11-27 13:14:44 UTC}] flags=[] (0.2742ms)
15400
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f044247580f0c6000004"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4580ms)
15401
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f044247580f0c6000002", "template_dependencies.en"=>{"$in"=>["5295f044247580f0c6000004"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3102ms)
15402
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f044247580f0c6000004"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1378ms)
15403
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f044247580f0c6000004"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6118ms)
15404
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f044247580f0c6000005", "_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"5295f044247580f0c6000002", :fullpath=>{"en"=>"index"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f044247580f0c6000004", "_keywords"=>["en:home", "en:page"]}] flags=[] (0.2880ms)
15405
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f044247580f0c6000002", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5651ms)
15406
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f044247580f0c6000002", "_id"=>{"$ne"=>"5295f044247580f0c6000006"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6421ms)
15407
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f044247580f0c6000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5178ms)
15408
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f044247580f0c6000006", "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"=>"5295f044247580f0c6000002", "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"=>2013-11-27 13:14:44 UTC, "created_at"=>2013-11-27 13:14:44 UTC}] flags=[] (0.1721ms)
15409
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f044247580f0c6000002", "template_dependencies.en"=>{"$in"=>["5295f044247580f0c6000006"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3200ms)
15410
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f044247580f0c6000006"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3271ms)
15411
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f044247580f0c6000006"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0939ms)
15412
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f044247580f0c6000002", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4900ms)
15413
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5295f044247580f0c6000007", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5295f044247580f0c6000002", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5295f044247580f0c6000008", "updated_at"=>2013-11-27 13:14:44 UTC, "created_at"=>2013-11-27 13:14:44 UTC, "entries_custom_fields"=>[{"_id"=>"5295f044247580f0c6000008", "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.2561ms)
15414
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"5295f044247580f0c6000007"} update={"$push"=>{"entries_custom_fields"=>{"_id"=>"5295f044247580f0c6000009", "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", "updated_at"=>2013-11-27 13:14:44 UTC, "created_at"=>2013-11-27 13:14:44 UTC}}} flags=[] (0.1810ms)
15415
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f044247580f0c600000a"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f044247580f0c6000007"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8252ms)
15416
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f044247580f0c6000007", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4590ms)
15417
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f044247580f0c6000007"]}}} (0.3588ms)
15418
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f044247580f0c600000a", "_position"=>0, "_visible"=>true, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f044247580f0c6000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f044247580f0c6000007", "content_type_id"=>"5295f044247580f0c6000007", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"5295f044247580f0c6000002", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:14:44 UTC, "created_at"=>2013-11-27 13:14:44 UTC}] flags=[] (0.2050ms)
15419
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f044247580f0c6000007", "_original_id"=>"5295f044247580f0c600000a"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4029ms)
15420
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f044247580f0c600000b", "_stored"=>{:_slug=>{"en"=>"findable-entry"}, "name"=>"Findable entry", :site_id=>"5295f044247580f0c6000002", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry5295f044247580f0c6000007", "_original_id"=>"5295f044247580f0c600000a", "_keywords"=>["findable", "entry"]}] flags=[] (0.1199ms)
15421
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f044247580f0c600000c"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f044247580f0c6000007"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4780ms)
15422
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f044247580f0c6000007", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3438ms)
15423
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f044247580f0c6000007"]}}} (0.3488ms)
15424
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f044247580f0c6000007"]}}} (0.3290ms)
15425
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f044247580f0c6000007"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.4508ms)
15426
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f044247580f0c600000c", "_position"=>1, "_visible"=>true, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f044247580f0c6000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f044247580f0c6000007", "content_type_id"=>"5295f044247580f0c6000007", "_slug"=>{"en"=>"hidden"}, "site_id"=>"5295f044247580f0c6000002", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:14:44 UTC, "created_at"=>2013-11-27 13:14:44 UTC}] flags=[] (0.1616ms)
15427
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f044247580f0c6000007", "_original_id"=>"5295f044247580f0c600000c"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3922ms)
15428
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f044247580f0c600000d", "_stored"=>{:_slug=>{"en"=>"hidden"}, "name"=>"Hidden", :site_id=>"5295f044247580f0c6000002", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry5295f044247580f0c6000007", "_original_id"=>"5295f044247580f0c600000c", "_keywords"=>["hidden"]}] flags=[] (0.1180ms)
15429
+ 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.5600ms)
15430
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f044247580f0c6000002", "parent_id"=>"5295f044247580f0c6000004", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5069ms)
15431
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f044247580f0c6000004", "site_id"=>"5295f044247580f0c6000002", "_id"=>{"$ne"=>"5295f044247580f0c600000e"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4561ms)
15432
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f044247580f0c6000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5341ms)
15433
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f044247580f0c600000e", "parent_ids"=>["5295f044247580f0c6000004"], "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"=>"5295f044247580f0c6000002", "parent_id"=>"5295f044247580f0c6000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:44 UTC, "created_at"=>2013-11-27 13:14:44 UTC}] flags=[] (0.2129ms)
15434
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f044247580f0c6000002", "template_dependencies.en"=>{"$in"=>["5295f044247580f0c600000e"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3080ms)
15435
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f044247580f0c600000e"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3338ms)
15436
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f044247580f0c600000e"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1278ms)
15437
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f044247580f0c600000e"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3080ms)
15438
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f044247580f0c600000f", "_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :site_id=>"5295f044247580f0c6000002", :fullpath=>{"en"=>"findable"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f044247580f0c600000e", "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}] flags=[] (0.1869ms)
15439
+ 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.5221ms)
15440
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f044247580f0c6000002", "parent_id"=>"5295f044247580f0c6000004", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4828ms)
15441
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f044247580f0c6000004", "site_id"=>"5295f044247580f0c6000002", "_id"=>{"$ne"=>"5295f044247580f0c6000010"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6900ms)
15442
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f044247580f0c6000004", "site_id"=>"5295f044247580f0c6000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5281ms)
15443
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f044247580f0c6000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5200ms)
15444
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f044247580f0c6000010", "parent_ids"=>["5295f044247580f0c6000004"], "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"=>"5295f044247580f0c6000002", "parent_id"=>"5295f044247580f0c6000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:44 UTC, "created_at"=>2013-11-27 13:14:44 UTC}] flags=[] (0.1900ms)
15445
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f044247580f0c6000002", "template_dependencies.en"=>{"$in"=>["5295f044247580f0c6000010"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4098ms)
15446
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f044247580f0c6000010"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3662ms)
15447
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f044247580f0c6000010"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1090ms)
15448
+ 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.6371ms)
15449
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f044247580f0c6000002", "parent_id"=>"5295f044247580f0c6000004", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4351ms)
15450
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f044247580f0c6000004", "site_id"=>"5295f044247580f0c6000002", "_id"=>{"$ne"=>"5295f044247580f0c6000011"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7889ms)
15451
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f044247580f0c6000004", "site_id"=>"5295f044247580f0c6000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4838ms)
15452
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f044247580f0c6000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4930ms)
15453
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f044247580f0c6000011", "parent_ids"=>["5295f044247580f0c6000004"], "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"=>"5295f044247580f0c6000002", "parent_id"=>"5295f044247580f0c6000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:44 UTC, "created_at"=>2013-11-27 13:14:44 UTC}] flags=[] (0.1760ms)
15454
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f044247580f0c6000002", "template_dependencies.en"=>{"$in"=>["5295f044247580f0c6000011"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3290ms)
15455
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f044247580f0c6000011"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3152ms)
15456
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f044247580f0c6000011"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1311ms)
15457
+ 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.5078ms)
15458
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f044247580f0c6000002", "parent_id"=>"5295f044247580f0c6000004", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4728ms)
15459
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f044247580f0c6000004", "site_id"=>"5295f044247580f0c6000002", "_id"=>{"$ne"=>"5295f044247580f0c6000012"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7319ms)
15460
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f044247580f0c6000004", "site_id"=>"5295f044247580f0c6000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5090ms)
15461
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f044247580f0c6000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4470ms)
15462
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f044247580f0c6000012", "parent_ids"=>["5295f044247580f0c6000004"], "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"=>" * Search results:\n <ul>\n {% for result in site.search %}\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"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"5295f044247580f0c6000002", "parent_id"=>"5295f044247580f0c6000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1072>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:44 UTC, "created_at"=>2013-11-27 13:14:44 UTC}] flags=[] (0.1862ms)
15463
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f044247580f0c6000002", "template_dependencies.en"=>{"$in"=>["5295f044247580f0c6000012"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3049ms)
15464
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f044247580f0c6000012"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3700ms)
15465
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f044247580f0c6000012"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0961ms)
15466
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f044247580f0c6000012"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3397ms)
15467
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f044247580f0c6000013", "_stored"=>{:title=>{"en"=>"search"}, :site_id=>"5295f044247580f0c6000002", :fullpath=>{"en"=>"search"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f044247580f0c6000012", "_keywords"=>["en:search"]}] flags=[] (0.1152ms)
15468
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f044247580f0c6000002", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5171ms)
15469
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"5295f044247580f0c6000002"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3247ms)
15470
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"5295f044247580f0c6000004"} 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"=>2013-11-27 13:14:44 UTC}} flags=[] (0.1390ms)
15471
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f044247580f0c6000002", "template_dependencies.en"=>{"$in"=>["5295f044247580f0c6000004"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4070ms)
15472
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f044247580f0c6000004"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5357ms)
15473
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_models selector={"_id"=>"5295f044247580f0c6000005"} update={"$set"=>{"_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"5295f044247580f0c6000002", :fullpath=>{"en"=>"index"}}}} flags=[] (0.1364ms)
15474
+ 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.5949ms)
15475
+ 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.4780ms)
15476
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5295f044247580f0c6000014", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-11-27 13:14:44 UTC, "updated_at"=>2013-11-27 13:14:44 UTC, "memberships"=>[{"_id"=>"5295f044247580f0c6000015", "role"=>"admin", "account_id"=>"5295f044247580f0c6000001"}]}] flags=[] (0.2320ms)
15477
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f044247580f0c6000014", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4652ms)
15478
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f044247580f0c6000014", "_id"=>{"$ne"=>"5295f044247580f0c6000016"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4511ms)
15479
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f044247580f0c6000016", "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"=>"5295f044247580f0c6000014", "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"=>2013-11-27 13:14:44 UTC, "created_at"=>2013-11-27 13:14:44 UTC}] flags=[] (0.1719ms)
15480
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f044247580f0c6000014", "template_dependencies.en"=>{"$in"=>["5295f044247580f0c6000016"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3932ms)
15481
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f044247580f0c6000016"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3531ms)
15482
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f044247580f0c6000016"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1500ms)
15483
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f044247580f0c6000016"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3059ms)
15484
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f044247580f0c6000017", "_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"5295f044247580f0c6000014", :fullpath=>{"en"=>"index"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f044247580f0c6000016", "_keywords"=>["en:home", "en:page"]}] flags=[] (0.1819ms)
15485
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f044247580f0c6000014", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4411ms)
15486
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f044247580f0c6000014", "_id"=>{"$ne"=>"5295f044247580f0c6000018"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7541ms)
15487
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f044247580f0c6000014"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5820ms)
15488
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f044247580f0c6000018", "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"=>"5295f044247580f0c6000014", "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"=>2013-11-27 13:14:44 UTC, "created_at"=>2013-11-27 13:14:44 UTC}] flags=[] (0.2120ms)
15489
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f044247580f0c6000014", "template_dependencies.en"=>{"$in"=>["5295f044247580f0c6000018"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3769ms)
15490
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f044247580f0c6000018"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3650ms)
15491
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f044247580f0c6000018"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1121ms)
15492
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f044247580f0c6000014", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4549ms)
15493
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f044247580f0c6000014", "_id"=>{"$ne"=>"5295f044247580f0c6000019"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6871ms)
15494
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f044247580f0c6000014"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4451ms)
15495
+ 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.2570ms)
15496
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f044247580f0c6000019", "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"=>"5295f044247580f0c6000014", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:44 UTC, "created_at"=>2013-11-27 13:14:44 UTC}] flags=[] (0.1709ms)
15497
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f044247580f0c6000014", "template_dependencies.en"=>{"$in"=>["5295f044247580f0c6000019"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3071ms)
15498
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f044247580f0c6000019"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3328ms)
15499
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f044247580f0c6000019"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1009ms)
15500
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f044247580f0c6000019"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3252ms)
15501
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f044247580f0c600001a", "_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :site_id=>"5295f044247580f0c6000014", :fullpath=>{"en"=>"rickroll"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f044247580f0c6000019", "_keywords"=>["en:this", "en:should", "en:never", "en:show", "en:up", "en:in", "en:the", "en:search,", "en:even", "en:if", "en:it", "en:would", "en:be", "en:findable"]}] flags=[] (0.1550ms)
15502
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f044247580f0c6000014", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5291ms)
15503
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5295f044247580f0c600001b", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5295f044247580f0c6000014", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5295f044247580f0c600001c", "updated_at"=>2013-11-27 13:14:44 UTC, "created_at"=>2013-11-27 13:14:44 UTC, "entries_custom_fields"=>[{"_id"=>"5295f044247580f0c600001c", "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.3121ms)
15504
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f044247580f0c600001d"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f044247580f0c600001b"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5388ms)
15505
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f044247580f0c600001b", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4890ms)
15506
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f044247580f0c600001b"]}}} (0.4461ms)
15507
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f044247580f0c600001d", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f044247580f0c600001b", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f044247580f0c600001b", "content_type_id"=>"5295f044247580f0c600001b", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"5295f044247580f0c6000014", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:14:44 UTC, "created_at"=>2013-11-27 13:14:44 UTC}] flags=[] (0.1988ms)
15508
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f044247580f0c600001b", "_original_id"=>"5295f044247580f0c600001d"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4191ms)
15509
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f044247580f0c600001e", "_stored"=>{:_slug=>{"en"=>"not-findable-entry"}, "name"=>"NOT Findable entry", :site_id=>"5295f044247580f0c6000014", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry5295f044247580f0c600001b", "_original_id"=>"5295f044247580f0c600001d", "_keywords"=>["not", "findable", "entry"]}] flags=[] (0.1161ms)
15510
+ Started GET "/locomotive" for 127.0.0.1 at 2013-11-27 14:14:46 +0100
15511
+ Processing by Locomotive::SessionsController#new as HTML
15512
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
15513
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8230ms)
15514
+ 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.6161ms)
15515
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>{"$in"=>["5295f044247580f0c6000001"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4020ms)
15516
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/sessions/new.html.haml within /locomotive/layouts/not_logged_in (20.3ms)
15517
+ Completed 200 OK in 41.5ms (Views: 35.6ms)
15518
+ Started GET "/assets/locomotive/not_logged_in.js" for 127.0.0.1 at 2013-11-27 14:14:46 +0100
15519
+ Served asset /locomotive/not_logged_in.js - 200 OK (11ms)
15520
+ Started GET "/assets/locomotive/not_logged_in.css" for 127.0.0.1 at 2013-11-27 14:14:46 +0100
15521
+ Served asset /locomotive/not_logged_in.css - 200 OK (13ms)
15522
+ Started GET "/assets/locomotive/background/body.png" for 127.0.0.1 at 2013-11-27 14:14:46 +0100
15523
+ Served asset /locomotive/background/body.png - 200 OK (1ms)
15524
+ Started POST "/locomotive/sign_in" for 127.0.0.1 at 2013-11-27 14:14:46 +0100
15525
+ Processing by Locomotive::SessionsController#create as HTML
15526
+ Parameters: {"utf8"=>"✓", "locomotive_account"=>{"remember_me"=>"true", "email"=>"admin@locomotiveapp.org", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
15527
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
15528
+ 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)
15529
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>{"$in"=>["5295f044247580f0c6000001"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4871ms)
15530
+ 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.7889ms)
15531
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>"5295f044247580f0c6000001"} update={"$set"=>{"remember_created_at"=>2013-11-27 13:14:46 UTC, "updated_at"=>2013-11-27 13:14:46 UTC}} flags=[] (0.2828ms)
15532
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>"5295f044247580f0c6000001"} update={"$set"=>{"last_sign_in_at"=>2013-11-27 13:14:46 UTC, "current_sign_in_at"=>2013-11-27 13:14:46 UTC, "last_sign_in_ip"=>"127.0.0.1", "current_sign_in_ip"=>"127.0.0.1", "sign_in_count"=>1, "updated_at"=>2013-11-27 13:14:46 UTC}} flags=[] (0.1769ms)
15533
+ Redirected to http://test.example.com:7171/locomotive/pages
15534
+ Completed 302 Found in 26.1ms
15535
+ Started GET "/locomotive/pages" for 127.0.0.1 at 2013-11-27 14:14:46 +0100
15536
+ Processing by Locomotive::PagesController#index as HTML
15537
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
15538
+ 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.6437ms)
15539
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>"5295f044247580f0c6000001"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3250ms)
15540
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>{"$in"=>["5295f044247580f0c6000001"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4721ms)
15541
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f044247580f0c6000002"}, "$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, "target_klass_name"=>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.2522ms)
15542
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f044247580f0c6000002"}, "$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, "target_klass_name"=>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.1079ms)
15543
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"5295f044247580f0c6000002"}, "$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.5610ms)
15544
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"5295f044247580f0c6000002"}, "$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.3631ms)
15545
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"5295f044247580f0c6000007"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (0.7598ms)
15546
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/menu/_contents.html.haml (21.7ms)
15547
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/actions/_contents.html.haml (2.3ms)
15548
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/_page.html.haml (3.9ms)
15549
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/_page.html.haml (10.4ms)
15550
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/index.html.haml within /locomotive/layouts/application (47.6ms)
15551
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_main_app_head_before_backbone.html.haml (1.0ms)
15552
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships"=>{"$elemMatch"=>{:account_id=>"5295f044247580f0c6000001", :role=>:admin}}}} (0.6728ms)
15553
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_main_app_head.html.haml (0.9ms)
15554
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_head.html.haml (14.6ms)
15555
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships.account_id"=>"5295f044247580f0c6000001"}} (0.5178ms)
15556
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/cells/locomotive/global_actions/show.html.haml (2.4ms)
15557
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"memberships.account_id"=>"5295f044247580f0c6000001"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5751ms)
15558
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_site_picker.html.haml (3.8ms)
15559
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_header.html.haml (22.7ms)
15560
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/cells/locomotive/main_menu/show.html.haml (2.7ms)
15561
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_footer.html.haml (1.8ms)
15562
+ Completed 200 OK in 127.9ms (Views: 111.7ms)
15563
+ Started GET "/assets/locomotive.css" for 127.0.0.1 at 2013-11-27 14:14:46 +0100
15564
+ Served asset /locomotive.css - 200 OK (69ms)
15565
+ Started GET "/assets/locomotive.js" for 127.0.0.1 at 2013-11-27 14:14:46 +0100
15566
+ Served asset /locomotive.js - 200 OK (214ms)
15567
+ Started GET "/assets/locomotive/list/item-left.png" for 127.0.0.1 at 2013-11-27 14:14:47 +0100
15568
+ Served asset /locomotive/list/item-left.png - 200 OK (2ms)
15569
+ Started GET "/assets/locomotive/plugins/sites_picker_top_arrow.png" for 127.0.0.1 at 2013-11-27 14:14:47 +0100
15570
+ Served asset /locomotive/plugins/sites_picker_top_arrow.png - 200 OK (2ms)
15571
+ Started GET "/assets/locomotive/nocoffee.png" for 127.0.0.1 at 2013-11-27 14:14:47 +0100
15572
+ Served asset /locomotive/nocoffee.png - 200 OK (2ms)
15573
+ Started GET "/locomotive/content_types/new" for 127.0.0.1 at 2013-11-27 14:14:47 +0100
15574
+ Processing by Locomotive::ContentTypesController#new as HTML
15575
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
15576
+ 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.7589ms)
15577
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>"5295f044247580f0c6000001"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4139ms)
15578
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>{"$in"=>["5295f044247580f0c6000001"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5140ms)
15579
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f044247580f0c6000002"}, "$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, "target_klass_name"=>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.1451ms)
15580
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"5295f044247580f0c6000002"}, "$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.6609ms)
15581
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"5295f044247580f0c6000002"}, "$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.5550ms)
15582
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"5295f044247580f0c6000007"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (0.6390ms)
15583
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/menu/_contents.html.haml (13.1ms)
15584
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/actions/_contents.html.haml (0.4ms)
15585
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f044247580f0c6000002"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6588ms)
15586
+ Rendered /Users/didier/Documents/LocomotiveCMS/gems/search/app/cells/locomotive/partials/searchable.html.haml (4.4ms)
15587
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/custom_fields/_select_templates.html.haml (2.5ms)
15588
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/custom_fields/_form.html.haml (58.3ms)
15589
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f044247580f0c6000002", "entries_custom_fields.type"=>{"$in"=>["belongs_to", "many_to_many"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4461ms)
15590
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/content_types/_form.html.haml (77.7ms)
15591
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_form_actions.html.haml (2.2ms)
15592
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/content_types/new.html.haml within /locomotive/layouts/application (100.9ms)
15593
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_main_app_head_before_backbone.html.haml (0.0ms)
15594
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships"=>{"$elemMatch"=>{:account_id=>"5295f044247580f0c6000001", :role=>:admin}}}} (0.5579ms)
15595
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_main_app_head.html.haml (0.0ms)
15596
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_head.html.haml (4.5ms)
15597
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships.account_id"=>"5295f044247580f0c6000001"}} (0.4380ms)
15598
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/cells/locomotive/global_actions/show.html.haml (0.7ms)
15599
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"memberships.account_id"=>"5295f044247580f0c6000001"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5050ms)
15600
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_site_picker.html.haml (1.6ms)
15601
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_header.html.haml (6.3ms)
15602
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/cells/locomotive/main_menu/show.html.haml (0.5ms)
15603
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_footer.html.haml (0.2ms)
15604
+ Completed 200 OK in 131.0ms (Views: 118.6ms)
15605
+ Started GET "/assets/locomotive/form/input-sep.png" for 127.0.0.1 at 2013-11-27 14:14:47 +0100
15606
+ Served asset /locomotive/form/input-sep.png - 200 OK (1ms)
15607
+ 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.6132ms)
15608
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (1.3921ms)
15609
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (1.2569ms)
15610
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (1.2012ms)
15611
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"active_search_mongoid_models"} (0.8531ms)
15612
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (0.9079ms)
15613
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (0.9532ms)
15614
+ 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.3719ms)
15615
+ 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.6719ms)
15616
+ 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.3469ms)
15617
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"5295f047247580f0c6000020", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"76489c87ef1adb5d2f88a65c83af47c542341c9d", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"UK8o6DsNrb3woi8hajPr", "api_key"=>"cadad1e5911e2deb0561ca4b9ce7dd9f8fe5b6da", "updated_at"=>2013-11-27 13:14:47 UTC, "created_at"=>2013-11-27 13:14:47 UTC}] flags=[] (0.1469ms)
15618
+ 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.4082ms)
15619
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5295f047247580f0c6000021", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-11-27 13:14:44 UTC, "updated_at"=>2013-11-27 13:14:47 UTC, "memberships"=>[{"_id"=>"5295f047247580f0c6000022", "role"=>"admin", "account_id"=>"5295f047247580f0c6000020"}]}] flags=[] (0.1688ms)
15620
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f047247580f0c6000021", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.7439ms)
15621
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f047247580f0c6000021", "_id"=>{"$ne"=>"5295f047247580f0c6000023"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4261ms)
15622
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f047247580f0c6000023", "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"=>"5295f047247580f0c6000021", "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"=>2013-11-27 13:14:47 UTC, "created_at"=>2013-11-27 13:14:47 UTC}] flags=[] (0.2251ms)
15623
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f047247580f0c6000021", "template_dependencies.en"=>{"$in"=>["5295f047247580f0c6000023"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3870ms)
15624
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f047247580f0c6000023"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4401ms)
15625
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f047247580f0c6000023"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1340ms)
15626
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f047247580f0c6000023"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4888ms)
15627
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f047247580f0c6000024", "_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"5295f047247580f0c6000021", :fullpath=>{"en"=>"index"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f047247580f0c6000023", "_keywords"=>["en:home", "en:page"]}] flags=[] (0.1371ms)
15628
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f047247580f0c6000021", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6549ms)
15629
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f047247580f0c6000021", "_id"=>{"$ne"=>"5295f047247580f0c6000025"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8328ms)
15630
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f047247580f0c6000021"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6206ms)
15631
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f047247580f0c6000025", "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"=>"5295f047247580f0c6000021", "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"=>2013-11-27 13:14:47 UTC, "created_at"=>2013-11-27 13:14:47 UTC}] flags=[] (0.1991ms)
15632
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f047247580f0c6000021", "template_dependencies.en"=>{"$in"=>["5295f047247580f0c6000025"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3080ms)
15633
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f047247580f0c6000025"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3071ms)
15634
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f047247580f0c6000025"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0970ms)
15635
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f047247580f0c6000021", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.7792ms)
15636
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5295f047247580f0c6000026", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5295f047247580f0c6000021", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5295f047247580f0c6000027", "updated_at"=>2013-11-27 13:14:47 UTC, "created_at"=>2013-11-27 13:14:47 UTC, "entries_custom_fields"=>[{"_id"=>"5295f047247580f0c6000027", "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.1969ms)
15637
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"5295f047247580f0c6000026"} update={"$push"=>{"entries_custom_fields"=>{"_id"=>"5295f047247580f0c6000028", "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", "updated_at"=>2013-11-27 13:14:47 UTC, "created_at"=>2013-11-27 13:14:47 UTC}}} flags=[] (0.2520ms)
15638
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f047247580f0c6000029"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f047247580f0c6000026"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4799ms)
15639
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f047247580f0c6000026", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6158ms)
15640
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f047247580f0c6000026"]}}} (0.4330ms)
15641
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f047247580f0c6000029", "_position"=>0, "_visible"=>true, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f047247580f0c6000026", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f047247580f0c6000026", "content_type_id"=>"5295f047247580f0c6000026", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"5295f047247580f0c6000021", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:14:47 UTC, "created_at"=>2013-11-27 13:14:47 UTC}] flags=[] (0.2389ms)
15642
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f047247580f0c6000026", "_original_id"=>"5295f047247580f0c6000029"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4230ms)
15643
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f047247580f0c600002a", "_stored"=>{:_slug=>{"en"=>"findable-entry"}, "name"=>"Findable entry", :site_id=>"5295f047247580f0c6000021", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry5295f047247580f0c6000026", "_original_id"=>"5295f047247580f0c6000029", "_keywords"=>["findable", "entry"]}] flags=[] (0.1287ms)
15644
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f047247580f0c600002b"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f047247580f0c6000026"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4878ms)
15645
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f047247580f0c6000026", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3519ms)
15646
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f047247580f0c6000026"]}}} (0.4089ms)
15647
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f047247580f0c6000026"]}}} (0.3080ms)
15648
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f047247580f0c6000026"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.5519ms)
15649
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f047247580f0c600002b", "_position"=>1, "_visible"=>true, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f047247580f0c6000026", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f047247580f0c6000026", "content_type_id"=>"5295f047247580f0c6000026", "_slug"=>{"en"=>"hidden"}, "site_id"=>"5295f047247580f0c6000021", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:14:47 UTC, "created_at"=>2013-11-27 13:14:47 UTC}] flags=[] (0.2460ms)
15650
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f047247580f0c6000026", "_original_id"=>"5295f047247580f0c600002b"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3641ms)
15651
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f047247580f0c600002c", "_stored"=>{:_slug=>{"en"=>"hidden"}, "name"=>"Hidden", :site_id=>"5295f047247580f0c6000021", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry5295f047247580f0c6000026", "_original_id"=>"5295f047247580f0c600002b", "_keywords"=>["hidden"]}] flags=[] (0.1631ms)
15652
+ 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.6530ms)
15653
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f047247580f0c6000021", "parent_id"=>"5295f047247580f0c6000023", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6120ms)
15654
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f047247580f0c6000023", "site_id"=>"5295f047247580f0c6000021", "_id"=>{"$ne"=>"5295f047247580f0c600002d"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4628ms)
15655
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f047247580f0c6000023"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5989ms)
15656
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f047247580f0c600002d", "parent_ids"=>["5295f047247580f0c6000023"], "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"=>"5295f047247580f0c6000021", "parent_id"=>"5295f047247580f0c6000023", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:47 UTC, "created_at"=>2013-11-27 13:14:47 UTC}] flags=[] (0.2570ms)
15657
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f047247580f0c6000021", "template_dependencies.en"=>{"$in"=>["5295f047247580f0c600002d"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4101ms)
15658
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f047247580f0c600002d"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3347ms)
15659
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f047247580f0c600002d"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1202ms)
15660
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f047247580f0c600002d"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4377ms)
15661
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f047247580f0c600002e", "_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :site_id=>"5295f047247580f0c6000021", :fullpath=>{"en"=>"findable"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f047247580f0c600002d", "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}] flags=[] (0.1740ms)
15662
+ 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.8299ms)
15663
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f047247580f0c6000021", "parent_id"=>"5295f047247580f0c6000023", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5507ms)
15664
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f047247580f0c6000023", "site_id"=>"5295f047247580f0c6000021", "_id"=>{"$ne"=>"5295f047247580f0c600002f"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8841ms)
15665
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f047247580f0c6000023", "site_id"=>"5295f047247580f0c6000021"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6297ms)
15666
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f047247580f0c6000023"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7343ms)
15667
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f047247580f0c600002f", "parent_ids"=>["5295f047247580f0c6000023"], "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"=>"5295f047247580f0c6000021", "parent_id"=>"5295f047247580f0c6000023", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:47 UTC, "created_at"=>2013-11-27 13:14:47 UTC}] flags=[] (0.2549ms)
15668
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f047247580f0c6000021", "template_dependencies.en"=>{"$in"=>["5295f047247580f0c600002f"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4001ms)
15669
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f047247580f0c600002f"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3681ms)
15670
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f047247580f0c600002f"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1190ms)
15671
+ 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.6862ms)
15672
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f047247580f0c6000021", "parent_id"=>"5295f047247580f0c6000023", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5078ms)
15673
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f047247580f0c6000023", "site_id"=>"5295f047247580f0c6000021", "_id"=>{"$ne"=>"5295f047247580f0c6000030"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7920ms)
15674
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f047247580f0c6000023", "site_id"=>"5295f047247580f0c6000021"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5851ms)
15675
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f047247580f0c6000023"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4609ms)
15676
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f047247580f0c6000030", "parent_ids"=>["5295f047247580f0c6000023"], "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"=>"5295f047247580f0c6000021", "parent_id"=>"5295f047247580f0c6000023", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:47 UTC, "created_at"=>2013-11-27 13:14:47 UTC}] flags=[] (0.2532ms)
15677
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f047247580f0c6000021", "template_dependencies.en"=>{"$in"=>["5295f047247580f0c6000030"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3638ms)
15678
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f047247580f0c6000030"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3450ms)
15679
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f047247580f0c6000030"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0951ms)
15680
+ 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.5779ms)
15681
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f047247580f0c6000021", "parent_id"=>"5295f047247580f0c6000023", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4671ms)
15682
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f047247580f0c6000023", "site_id"=>"5295f047247580f0c6000021", "_id"=>{"$ne"=>"5295f047247580f0c6000031"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (1.1630ms)
15683
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f047247580f0c6000023", "site_id"=>"5295f047247580f0c6000021"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7260ms)
15684
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f047247580f0c6000023"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5357ms)
15685
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f047247580f0c6000031", "parent_ids"=>["5295f047247580f0c6000023"], "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"=>" * Search results:\n <ul>\n {% for result in site.search %}\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"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"5295f047247580f0c6000021", "parent_id"=>"5295f047247580f0c6000023", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1072>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:47 UTC, "created_at"=>2013-11-27 13:14:47 UTC}] flags=[] (0.2270ms)
15686
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f047247580f0c6000021", "template_dependencies.en"=>{"$in"=>["5295f047247580f0c6000031"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3488ms)
15687
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f047247580f0c6000031"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3417ms)
15688
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f047247580f0c6000031"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0868ms)
15689
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f047247580f0c6000031"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3390ms)
15690
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f047247580f0c6000032", "_stored"=>{:title=>{"en"=>"search"}, :site_id=>"5295f047247580f0c6000021", :fullpath=>{"en"=>"search"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f047247580f0c6000031", "_keywords"=>["en:search"]}] flags=[] (0.1268ms)
15691
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f047247580f0c6000021", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.8159ms)
15692
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"5295f047247580f0c6000021"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3860ms)
15693
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"5295f047247580f0c6000023"} 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"=>2013-11-27 13:14:47 UTC}} flags=[] (0.1681ms)
15694
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f047247580f0c6000021", "template_dependencies.en"=>{"$in"=>["5295f047247580f0c6000023"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4480ms)
15695
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f047247580f0c6000023"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5760ms)
15696
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_models selector={"_id"=>"5295f047247580f0c6000024"} update={"$set"=>{"_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"5295f047247580f0c6000021", :fullpath=>{"en"=>"index"}}}} flags=[] (0.1092ms)
15697
+ 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.5162ms)
15698
+ 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.3741ms)
15699
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5295f047247580f0c6000033", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-11-27 13:14:44 UTC, "updated_at"=>2013-11-27 13:14:47 UTC, "memberships"=>[{"_id"=>"5295f047247580f0c6000034", "role"=>"admin", "account_id"=>"5295f047247580f0c6000020"}]}] flags=[] (0.2091ms)
15700
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f047247580f0c6000033", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4938ms)
15701
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f047247580f0c6000033", "_id"=>{"$ne"=>"5295f047247580f0c6000035"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5169ms)
15702
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f047247580f0c6000035", "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"=>"5295f047247580f0c6000033", "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"=>2013-11-27 13:14:47 UTC, "created_at"=>2013-11-27 13:14:47 UTC}] flags=[] (0.2382ms)
15703
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f047247580f0c6000033", "template_dependencies.en"=>{"$in"=>["5295f047247580f0c6000035"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3481ms)
15704
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f047247580f0c6000035"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3729ms)
15705
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f047247580f0c6000035"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0949ms)
15706
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f047247580f0c6000035"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3231ms)
15707
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f047247580f0c6000036", "_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"5295f047247580f0c6000033", :fullpath=>{"en"=>"index"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f047247580f0c6000035", "_keywords"=>["en:home", "en:page"]}] flags=[] (0.1318ms)
15708
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f047247580f0c6000033", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4911ms)
15709
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f047247580f0c6000033", "_id"=>{"$ne"=>"5295f047247580f0c6000037"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6909ms)
15710
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f047247580f0c6000033"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5143ms)
15711
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f047247580f0c6000037", "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"=>"5295f047247580f0c6000033", "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"=>2013-11-27 13:14:47 UTC, "created_at"=>2013-11-27 13:14:47 UTC}] flags=[] (0.3192ms)
15712
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f047247580f0c6000033", "template_dependencies.en"=>{"$in"=>["5295f047247580f0c6000037"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4618ms)
15713
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f047247580f0c6000037"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4969ms)
15714
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f047247580f0c6000037"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1590ms)
15715
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f047247580f0c6000033", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4592ms)
15716
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f047247580f0c6000033", "_id"=>{"$ne"=>"5295f047247580f0c6000038"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.9880ms)
15717
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f047247580f0c6000033"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5739ms)
15718
+ 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.3049ms)
15719
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f047247580f0c6000038", "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"=>"5295f047247580f0c6000033", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:14:47 UTC, "created_at"=>2013-11-27 13:14:47 UTC}] flags=[] (0.2470ms)
15720
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f047247580f0c6000033", "template_dependencies.en"=>{"$in"=>["5295f047247580f0c6000038"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4377ms)
15721
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f047247580f0c6000038"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4449ms)
15722
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f047247580f0c6000038"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1199ms)
15723
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f047247580f0c6000038"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3128ms)
15724
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f047247580f0c6000039", "_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :site_id=>"5295f047247580f0c6000033", :fullpath=>{"en"=>"rickroll"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f047247580f0c6000038", "_keywords"=>["en:this", "en:should", "en:never", "en:show", "en:up", "en:in", "en:the", "en:search,", "en:even", "en:if", "en:it", "en:would", "en:be", "en:findable"]}] flags=[] (0.2079ms)
15725
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f047247580f0c6000033", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3970ms)
15726
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5295f047247580f0c600003a", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5295f047247580f0c6000033", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5295f047247580f0c600003b", "updated_at"=>2013-11-27 13:14:47 UTC, "created_at"=>2013-11-27 13:14:47 UTC, "entries_custom_fields"=>[{"_id"=>"5295f047247580f0c600003b", "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.2089ms)
15727
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f047247580f0c600003c"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f047247580f0c600003a"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5059ms)
15728
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f047247580f0c600003a", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4177ms)
15729
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f047247580f0c600003a"]}}} (0.4263ms)
15730
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f047247580f0c600003c", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f047247580f0c600003a", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f047247580f0c600003a", "content_type_id"=>"5295f047247580f0c600003a", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"5295f047247580f0c6000033", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:14:47 UTC, "created_at"=>2013-11-27 13:14:47 UTC}] flags=[] (0.2129ms)
15731
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f047247580f0c600003a", "_original_id"=>"5295f047247580f0c600003c"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3550ms)
15732
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f047247580f0c600003d", "_stored"=>{:_slug=>{"en"=>"not-findable-entry"}, "name"=>"NOT Findable entry", :site_id=>"5295f047247580f0c6000033", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry5295f047247580f0c600003a", "_original_id"=>"5295f047247580f0c600003c", "_keywords"=>["not", "findable", "entry"]}] flags=[] (0.1211ms)
15733
+ Started GET "/locomotive" for 127.0.0.1 at 2013-11-27 14:14:47 +0100
15734
+ Processing by Locomotive::SessionsController#new as HTML
15735
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
15736
+ 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.6979ms)
15737
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>{"$in"=>["5295f047247580f0c6000020"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4599ms)
15738
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/sessions/new.html.haml within /locomotive/layouts/not_logged_in (4.4ms)
15739
+ Completed 200 OK in 9.4ms (Views: 6.1ms)
15740
+ Started POST "/locomotive/sign_in" for 127.0.0.1 at 2013-11-27 14:14:47 +0100
15741
+ Processing by Locomotive::SessionsController#create as HTML
15742
+ Parameters: {"utf8"=>"✓", "locomotive_account"=>{"remember_me"=>"true", "email"=>"admin@locomotiveapp.org", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
15743
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
15744
+ 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.6270ms)
15745
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>{"$in"=>["5295f047247580f0c6000020"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4549ms)
15746
+ 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.5810ms)
15747
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>"5295f047247580f0c6000020"} update={"$set"=>{"remember_created_at"=>2013-11-27 13:14:47 UTC, "updated_at"=>2013-11-27 13:14:47 UTC}} flags=[] (0.1752ms)
15748
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>"5295f047247580f0c6000020"} update={"$set"=>{"last_sign_in_at"=>2013-11-27 13:14:47 UTC, "current_sign_in_at"=>2013-11-27 13:14:47 UTC, "last_sign_in_ip"=>"127.0.0.1", "current_sign_in_ip"=>"127.0.0.1", "sign_in_count"=>1, "updated_at"=>2013-11-27 13:14:47 UTC}} flags=[] (0.1740ms)
15749
+ Redirected to http://test.example.com:7171/locomotive/pages
15750
+ Completed 302 Found in 9.5ms
15751
+ Started GET "/locomotive/pages" for 127.0.0.1 at 2013-11-27 14:14:47 +0100
15752
+ Processing by Locomotive::PagesController#index as HTML
15753
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
15754
+ 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.8950ms)
15755
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>"5295f047247580f0c6000020"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4628ms)
15756
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>{"$in"=>["5295f047247580f0c6000020"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5083ms)
15757
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f047247580f0c6000021"}, "$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, "target_klass_name"=>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.1220ms)
15758
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f047247580f0c6000021"}, "$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, "target_klass_name"=>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} (0.9742ms)
15759
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"5295f047247580f0c6000021"}, "$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.4530ms)
15760
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"5295f047247580f0c6000021"}, "$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.5000ms)
15761
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"5295f047247580f0c6000026"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (0.7949ms)
15762
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/menu/_contents.html.haml (13.0ms)
15763
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/actions/_contents.html.haml (0.5ms)
15764
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/_page.html.haml (4.0ms)
15765
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/_page.html.haml (6.3ms)
15766
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/index.html.haml within /locomotive/layouts/application (21.5ms)
15767
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_main_app_head_before_backbone.html.haml (0.0ms)
15768
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships"=>{"$elemMatch"=>{:account_id=>"5295f047247580f0c6000020", :role=>:admin}}}} (0.5009ms)
15769
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_main_app_head.html.haml (0.0ms)
15770
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_head.html.haml (3.8ms)
15771
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships.account_id"=>"5295f047247580f0c6000020"}} (0.4091ms)
15772
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/cells/locomotive/global_actions/show.html.haml (0.6ms)
15773
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"memberships.account_id"=>"5295f047247580f0c6000020"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6678ms)
15774
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_site_picker.html.haml (2.0ms)
15775
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_header.html.haml (6.9ms)
15776
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/cells/locomotive/main_menu/show.html.haml (0.6ms)
15777
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_footer.html.haml (0.2ms)
15778
+ Completed 200 OK in 50.7ms (Views: 35.9ms)
15779
+ Started GET "/locomotive/pages/new" for 127.0.0.1 at 2013-11-27 14:14:48 +0100
15780
+ Processing by Locomotive::PagesController#new as HTML
15781
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
15782
+ 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.6068ms)
15783
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>"5295f047247580f0c6000020"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4270ms)
15784
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>{"$in"=>["5295f047247580f0c6000020"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4649ms)
15785
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f047247580f0c6000021"}, "$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, "target_klass_name"=>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} (0.9890ms)
15786
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"5295f047247580f0c6000021"}, "$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.4673ms)
15787
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"5295f047247580f0c6000021"}, "$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.3908ms)
15788
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"5295f047247580f0c6000026"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (0.8340ms)
15789
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/menu/_contents.html.haml (12.5ms)
15790
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/actions/_contents.html.haml (0.6ms)
15791
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/content_assets/_picker.html.haml (4.8ms)
15792
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/theme_assets/_picker.html.haml (4.8ms)
15793
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/_editable_elements.html.haml (5.4ms)
15794
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f047247580f0c6000021"}, "$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, "target_klass_name"=>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.2310ms)
15795
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f047247580f0c6000021"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7350ms)
15796
+ Rendered /Users/didier/Documents/LocomotiveCMS/gems/search/app/cells/locomotive/partials/searchable.html.haml (3.0ms)
15797
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/_form.html.haml (91.8ms)
15798
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_form_actions.html.haml (0.3ms)
15799
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/new.html.haml within /locomotive/layouts/application (113.8ms)
15800
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_main_app_head_before_backbone.html.haml (0.0ms)
15801
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships"=>{"$elemMatch"=>{:account_id=>"5295f047247580f0c6000020", :role=>:admin}}}} (0.5760ms)
15802
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_main_app_head.html.haml (0.1ms)
15803
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_head.html.haml (4.8ms)
15804
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships.account_id"=>"5295f047247580f0c6000020"}} (0.5271ms)
15805
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/cells/locomotive/global_actions/show.html.haml (0.7ms)
15806
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"memberships.account_id"=>"5295f047247580f0c6000020"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5410ms)
15807
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_site_picker.html.haml (1.9ms)
15808
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_header.html.haml (6.9ms)
15809
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/cells/locomotive/main_menu/show.html.haml (0.6ms)
15810
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_footer.html.haml (0.2ms)
15811
+ Completed 200 OK in 146.1ms (Views: 133.2ms)
15812
+ Started GET "/assets/locomotive/jquery/images/ui-icons_222222_256x240.png" for 127.0.0.1 at 2013-11-27 14:14:48 +0100
15813
+ Served asset /locomotive/jquery/images/ui-icons_222222_256x240.png - 200 OK (5ms)
15814
+ 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.6318ms)
15815
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (0.5200ms)
15816
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (0.4718ms)
15817
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (0.4351ms)
15818
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"active_search_mongoid_models"} (0.4518ms)
15819
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (0.3898ms)
15820
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (0.4048ms)
15821
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4129ms)
15822
+ 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.6900ms)
15823
+ Creating scope :root. Overwriting existing method Locomotive::Page.root.
15824
+ 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.6671ms)
15825
+ 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.7749ms)
15826
+ 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.4511ms)
15827
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"5295f1282475800ed6000001", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"eddc305d9890c1a5edc3a3a5f6cf5c44f0d8017c", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"7d84aVDiHoWHPWrizhee", "api_key"=>"38d54dad21c1626e5f32c8dde953077cffbfde48", "updated_at"=>2013-11-27 13:18:32 UTC, "created_at"=>2013-11-27 13:18:32 UTC}] flags=[] (0.1450ms)
15828
+ 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.8171ms)
15829
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5295f1282475800ed6000002", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-11-27 13:18:31 UTC, "updated_at"=>2013-11-27 13:18:32 UTC, "memberships"=>[{"_id"=>"5295f1282475800ed6000003", "role"=>"admin", "account_id"=>"5295f1282475800ed6000001"}]}] flags=[] (0.1860ms)
15830
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f1282475800ed6000002", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.8531ms)
15831
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f1282475800ed6000002", "_id"=>{"$ne"=>"5295f1292475800ed6000004"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4458ms)
15832
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f1292475800ed6000004", "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"=>"5295f1282475800ed6000002", "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"=>2013-11-27 13:18:33 UTC, "created_at"=>2013-11-27 13:18:33 UTC}] flags=[] (0.1991ms)
15833
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1292475800ed6000004"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3772ms)
15834
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1282475800ed6000002", "template_dependencies.en"=>{"$in"=>["5295f1292475800ed6000004"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3150ms)
15835
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f1292475800ed6000004"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1252ms)
15836
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f1282475800ed6000002", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5188ms)
15837
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f1282475800ed6000002", "_id"=>{"$ne"=>"5295f1292475800ed6000005"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8590ms)
15838
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f1282475800ed6000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5820ms)
15839
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f1292475800ed6000005", "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"=>"5295f1282475800ed6000002", "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"=>2013-11-27 13:18:33 UTC, "created_at"=>2013-11-27 13:18:33 UTC}] flags=[] (0.4132ms)
15840
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1282475800ed6000002", "template_dependencies.en"=>{"$in"=>["5295f1292475800ed6000005"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6683ms)
15841
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1292475800ed6000005"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4461ms)
15842
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f1292475800ed6000005"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1190ms)
15843
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f1282475800ed6000002", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4492ms)
15844
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5295f1292475800ed6000006", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5295f1282475800ed6000002", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5295f1292475800ed6000007", "updated_at"=>2013-11-27 13:18:33 UTC, "created_at"=>2013-11-27 13:18:33 UTC, "entries_custom_fields"=>[{"_id"=>"5295f1292475800ed6000007", "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.3200ms)
15845
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"5295f1292475800ed6000006"} update={"$push"=>{"entries_custom_fields"=>{"_id"=>"5295f1292475800ed6000008", "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", "updated_at"=>2013-11-27 13:18:33 UTC, "created_at"=>2013-11-27 13:18:33 UTC}}} flags=[] (0.2561ms)
15846
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f1292475800ed6000009"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f1292475800ed6000006"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7870ms)
15847
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f1292475800ed6000006", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4542ms)
15848
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f1292475800ed6000006"]}}} (0.3779ms)
15849
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f1292475800ed6000009", "_position"=>0, "_visible"=>true, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f1292475800ed6000006", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f1292475800ed6000006", "content_type_id"=>"5295f1292475800ed6000006", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"5295f1282475800ed6000002", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:18:33 UTC, "created_at"=>2013-11-27 13:18:33 UTC}] flags=[] (0.2360ms)
15850
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f12a2475800ed600000a"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f1292475800ed6000006"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5271ms)
15851
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f1292475800ed6000006", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3788ms)
15852
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f1292475800ed6000006"]}}} (0.3798ms)
15853
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f1292475800ed6000006"]}}} (0.3080ms)
15854
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f1292475800ed6000006"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.4880ms)
15855
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f12a2475800ed600000a", "_position"=>1, "_visible"=>true, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f1292475800ed6000006", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f1292475800ed6000006", "content_type_id"=>"5295f1292475800ed6000006", "_slug"=>{"en"=>"hidden"}, "site_id"=>"5295f1282475800ed6000002", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:18:34 UTC, "created_at"=>2013-11-27 13:18:34 UTC}] flags=[] (0.2580ms)
15856
+ 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.7780ms)
15857
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f1282475800ed6000002", "parent_id"=>"5295f1292475800ed6000004", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5777ms)
15858
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1292475800ed6000004", "site_id"=>"5295f1282475800ed6000002", "_id"=>{"$ne"=>"5295f12b2475800ed600000b"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5760ms)
15859
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f1292475800ed6000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8037ms)
15860
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f12b2475800ed600000b", "parent_ids"=>["5295f1292475800ed6000004"], "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"=>"5295f1282475800ed6000002", "parent_id"=>"5295f1292475800ed6000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:18:35 UTC, "created_at"=>2013-11-27 13:18:35 UTC}] flags=[] (0.2451ms)
15861
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1282475800ed6000002", "template_dependencies.en"=>{"$in"=>["5295f12b2475800ed600000b"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4580ms)
15862
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f12b2475800ed600000b"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5140ms)
15863
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f12b2475800ed600000b"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1309ms)
15864
+ 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.7129ms)
15865
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f1282475800ed6000002", "parent_id"=>"5295f1292475800ed6000004", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5152ms)
15866
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1292475800ed6000004", "site_id"=>"5295f1282475800ed6000002", "_id"=>{"$ne"=>"5295f12b2475800ed600000c"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7417ms)
15867
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1292475800ed6000004", "site_id"=>"5295f1282475800ed6000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5019ms)
15868
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f1292475800ed6000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5500ms)
15869
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f12b2475800ed600000c", "parent_ids"=>["5295f1292475800ed6000004"], "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"=>"5295f1282475800ed6000002", "parent_id"=>"5295f1292475800ed6000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:18:35 UTC, "created_at"=>2013-11-27 13:18:35 UTC}] flags=[] (0.2201ms)
15870
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1282475800ed6000002", "template_dependencies.en"=>{"$in"=>["5295f12b2475800ed600000c"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4332ms)
15871
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f12b2475800ed600000c"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3521ms)
15872
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f12b2475800ed600000c"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1070ms)
15873
+ 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.5951ms)
15874
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f1282475800ed6000002", "parent_id"=>"5295f1292475800ed6000004", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4911ms)
15875
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1292475800ed6000004", "site_id"=>"5295f1282475800ed6000002", "_id"=>{"$ne"=>"5295f12b2475800ed600000d"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8521ms)
15876
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1292475800ed6000004", "site_id"=>"5295f1282475800ed6000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5131ms)
15877
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f1292475800ed6000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6161ms)
15878
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f12b2475800ed600000d", "parent_ids"=>["5295f1292475800ed6000004"], "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"=>"5295f1282475800ed6000002", "parent_id"=>"5295f1292475800ed6000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:18:35 UTC, "created_at"=>2013-11-27 13:18:35 UTC}] flags=[] (0.2861ms)
15879
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1282475800ed6000002", "template_dependencies.en"=>{"$in"=>["5295f12b2475800ed600000d"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3631ms)
15880
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f12b2475800ed600000d"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3538ms)
15881
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f12b2475800ed600000d"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0880ms)
15882
+ 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.6137ms)
15883
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f1282475800ed6000002", "parent_id"=>"5295f1292475800ed6000004", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6363ms)
15884
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1292475800ed6000004", "site_id"=>"5295f1282475800ed6000002", "_id"=>{"$ne"=>"5295f12b2475800ed600000e"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (1.1752ms)
15885
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1292475800ed6000004", "site_id"=>"5295f1282475800ed6000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5379ms)
15886
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f1292475800ed6000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5281ms)
15887
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f12b2475800ed600000e", "parent_ids"=>["5295f1292475800ed6000004"], "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"=>" * Search results:\n <ul>\n {% for result in site.search %}\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"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"5295f1282475800ed6000002", "parent_id"=>"5295f1292475800ed6000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1072>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:18:35 UTC, "created_at"=>2013-11-27 13:18:35 UTC}] flags=[] (0.2508ms)
15888
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1282475800ed6000002", "template_dependencies.en"=>{"$in"=>["5295f12b2475800ed600000e"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3140ms)
15889
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f12b2475800ed600000e"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3562ms)
15890
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f12b2475800ed600000e"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0932ms)
15891
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1282475800ed6000002", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (1.5659ms)
15892
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"5295f1282475800ed6000002"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (2.2283ms)
15893
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"5295f1292475800ed6000004"} 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"=>2013-11-27 13:18:36 UTC}} flags=[] (0.3650ms)
15894
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1282475800ed6000002", "template_dependencies.en"=>{"$in"=>["5295f1292475800ed6000004"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (1.3340ms)
15895
+ 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.8059ms)
15896
+ 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.4680ms)
15897
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5295f12d2475800ed600000f", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-11-27 13:18:31 UTC, "updated_at"=>2013-11-27 13:18:37 UTC, "memberships"=>[{"_id"=>"5295f12d2475800ed6000010", "role"=>"admin", "account_id"=>"5295f1282475800ed6000001"}]}] flags=[] (0.2661ms)
15898
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f12d2475800ed600000f", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5441ms)
15899
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f12d2475800ed600000f", "_id"=>{"$ne"=>"5295f12d2475800ed6000011"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5338ms)
15900
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f12d2475800ed6000011", "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"=>"5295f12d2475800ed600000f", "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"=>2013-11-27 13:18:37 UTC, "created_at"=>2013-11-27 13:18:37 UTC}] flags=[] (0.3531ms)
15901
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f12d2475800ed600000f", "template_dependencies.en"=>{"$in"=>["5295f12d2475800ed6000011"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5200ms)
15902
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f12d2475800ed6000011"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4480ms)
15903
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f12d2475800ed6000011"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1137ms)
15904
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f12d2475800ed600000f", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4618ms)
15905
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f12d2475800ed600000f", "_id"=>{"$ne"=>"5295f12d2475800ed6000012"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8578ms)
15906
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f12d2475800ed600000f"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7229ms)
15907
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f12d2475800ed6000012", "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"=>"5295f12d2475800ed600000f", "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"=>2013-11-27 13:18:37 UTC, "created_at"=>2013-11-27 13:18:37 UTC}] flags=[] (0.2992ms)
15908
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f12d2475800ed600000f", "template_dependencies.en"=>{"$in"=>["5295f12d2475800ed6000012"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4640ms)
15909
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f12d2475800ed6000012"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5100ms)
15910
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f12d2475800ed6000012"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.2570ms)
15911
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f12d2475800ed600000f", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4902ms)
15912
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f12d2475800ed600000f", "_id"=>{"$ne"=>"5295f12d2475800ed6000013"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (1.3561ms)
15913
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f12d2475800ed600000f"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6242ms)
15914
+ 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.3130ms)
15915
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f12d2475800ed6000013", "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"=>"5295f12d2475800ed600000f", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:18:37 UTC, "created_at"=>2013-11-27 13:18:37 UTC}] flags=[] (0.3939ms)
15916
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f12d2475800ed600000f", "template_dependencies.en"=>{"$in"=>["5295f12d2475800ed6000013"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5300ms)
15917
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f12d2475800ed6000013"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5252ms)
15918
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f12d2475800ed6000013"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1779ms)
15919
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f12d2475800ed600000f", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.7880ms)
15920
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5295f12e2475800ed6000014", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5295f12d2475800ed600000f", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5295f12e2475800ed6000015", "updated_at"=>2013-11-27 13:18:38 UTC, "created_at"=>2013-11-27 13:18:38 UTC, "entries_custom_fields"=>[{"_id"=>"5295f12e2475800ed6000015", "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.2670ms)
15921
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f12e2475800ed6000016"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f12e2475800ed6000014"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6318ms)
15922
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f12e2475800ed6000014", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4699ms)
15923
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f12e2475800ed6000014"]}}} (0.4590ms)
15924
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f12e2475800ed6000016", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f12e2475800ed6000014", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f12e2475800ed6000014", "content_type_id"=>"5295f12e2475800ed6000014", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"5295f12d2475800ed600000f", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:18:38 UTC, "created_at"=>2013-11-27 13:18:38 UTC}] flags=[] (0.1719ms)
15925
+ Started GET "/" for 127.0.0.1 at 2013-11-27 14:18:39 +0100
15926
+ Processing by Locomotive::Public::PagesController#show as HTML
15927
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
15928
+ 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.7250ms)
15929
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1282475800ed6000002", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7348ms)
15930
+ Rendered text template (0.0ms)
15931
+ Completed 200 OK in 16.8ms (Views: 10.8ms)
15932
+ Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-11-27 14:18:39 +0100
15933
+ Processing by Locomotive::Public::PagesController#show as HTML
15934
+ Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"}
15935
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
15936
+ 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.7331ms)
15937
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1282475800ed6000002", "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.7310ms)
15938
+ Rendered text template (0.0ms)
15939
+ Completed 200 OK in 483.6ms (Views: 0.8ms)
15940
+ Started GET "/findable" for 127.0.0.1 at 2013-11-27 14:18:39 +0100
15941
+ Processing by Locomotive::Public::PagesController#show as HTML
15942
+ Parameters: {"path"=>"findable"}
15943
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
15944
+ 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.7079ms)
15945
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1282475800ed6000002", "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.6292ms)
15946
+ Rendered text template (0.0ms)
15947
+ Completed 200 OK in 5.3ms (Views: 0.3ms)
15948
+ Started GET "/" for 127.0.0.1 at 2013-11-27 14:18:39 +0100
15949
+ Processing by Locomotive::Public::PagesController#show as HTML
15950
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
15951
+ 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.5550ms)
15952
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1282475800ed6000002", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5360ms)
15953
+ Rendered text template (0.0ms)
15954
+ Completed 200 OK in 3.8ms (Views: 0.3ms)
15955
+ Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-11-27 14:18:39 +0100
15956
+ Processing by Locomotive::Public::PagesController#show as HTML
15957
+ Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"}
15958
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
15959
+ 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.5722ms)
15960
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1282475800ed6000002", "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.7429ms)
15961
+ Rendered text template (0.0ms)
15962
+ Completed 200 OK in 470.5ms (Views: 0.6ms)
15963
+ 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.6502ms)
15964
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (1.8971ms)
15965
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (1.3232ms)
15966
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (1.4248ms)
15967
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (1.6987ms)
15968
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (1.6983ms)
15969
+ 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.6063ms)
15970
+ 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.8471ms)
15971
+ 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.4179ms)
15972
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"5295f1302475800ed6000017", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"14a0535d14e1822421823c8416ffe4ca5f962f20", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"FxJ1egS2sQCBvFgGhWoL", "api_key"=>"5a13d4ec7f2b1381717d62eaa55fe2114153db7a", "updated_at"=>2013-11-27 13:18:40 UTC, "created_at"=>2013-11-27 13:18:40 UTC}] flags=[] (0.1249ms)
15973
+ 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.9441ms)
15974
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5295f1302475800ed6000018", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-11-27 13:18:31 UTC, "updated_at"=>2013-11-27 13:18:40 UTC, "memberships"=>[{"_id"=>"5295f1302475800ed6000019", "role"=>"admin", "account_id"=>"5295f1302475800ed6000017"}]}] flags=[] (0.1810ms)
15975
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f1302475800ed6000018", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (1.0419ms)
15976
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f1302475800ed6000018", "_id"=>{"$ne"=>"5295f1302475800ed600001a"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5131ms)
15977
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f1302475800ed600001a", "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"=>"5295f1302475800ed6000018", "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"=>2013-11-27 13:18:40 UTC, "created_at"=>2013-11-27 13:18:40 UTC}] flags=[] (0.2391ms)
15978
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1302475800ed6000018", "template_dependencies.en"=>{"$in"=>["5295f1302475800ed600001a"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6390ms)
15979
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1302475800ed600001a"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5608ms)
15980
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f1302475800ed600001a"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.2451ms)
15981
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f1302475800ed6000018", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5250ms)
15982
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f1302475800ed6000018", "_id"=>{"$ne"=>"5295f1312475800ed600001b"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7579ms)
15983
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f1302475800ed6000018"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5832ms)
15984
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f1312475800ed600001b", "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"=>"5295f1302475800ed6000018", "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"=>2013-11-27 13:18:41 UTC, "created_at"=>2013-11-27 13:18:41 UTC}] flags=[] (0.2971ms)
15985
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1302475800ed6000018", "template_dependencies.en"=>{"$in"=>["5295f1312475800ed600001b"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5631ms)
15986
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1312475800ed600001b"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3891ms)
15987
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f1312475800ed600001b"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1118ms)
15988
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f1302475800ed6000018", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.8070ms)
15989
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5295f1312475800ed600001c", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5295f1302475800ed6000018", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5295f1312475800ed600001d", "updated_at"=>2013-11-27 13:18:41 UTC, "created_at"=>2013-11-27 13:18:41 UTC, "entries_custom_fields"=>[{"_id"=>"5295f1312475800ed600001d", "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.2091ms)
15990
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"5295f1312475800ed600001c"} update={"$push"=>{"entries_custom_fields"=>{"_id"=>"5295f1312475800ed600001e", "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", "updated_at"=>2013-11-27 13:18:41 UTC, "created_at"=>2013-11-27 13:18:41 UTC}}} flags=[] (0.2038ms)
15991
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f1312475800ed600001f"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f1312475800ed600001c"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4590ms)
15992
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f1312475800ed600001c", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4287ms)
15993
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f1312475800ed600001c"]}}} (0.4148ms)
15994
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f1312475800ed600001f", "_position"=>0, "_visible"=>true, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f1312475800ed600001c", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f1312475800ed600001c", "content_type_id"=>"5295f1312475800ed600001c", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"5295f1302475800ed6000018", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:18:41 UTC, "created_at"=>2013-11-27 13:18:41 UTC}] flags=[] (0.1826ms)
15995
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f1322475800ed6000020"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f1312475800ed600001c"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5472ms)
15996
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f1312475800ed600001c", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3831ms)
15997
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f1312475800ed600001c"]}}} (0.3400ms)
15998
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f1312475800ed600001c"]}}} (0.2561ms)
15999
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f1312475800ed600001c"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.4561ms)
16000
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f1322475800ed6000020", "_position"=>1, "_visible"=>true, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f1312475800ed600001c", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f1312475800ed600001c", "content_type_id"=>"5295f1312475800ed600001c", "_slug"=>{"en"=>"hidden"}, "site_id"=>"5295f1302475800ed6000018", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:18:42 UTC, "created_at"=>2013-11-27 13:18:42 UTC}] flags=[] (0.1731ms)
16001
+ 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.2701ms)
16002
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f1302475800ed6000018", "parent_id"=>"5295f1302475800ed600001a", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.7000ms)
16003
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1302475800ed600001a", "site_id"=>"5295f1302475800ed6000018", "_id"=>{"$ne"=>"5295f1322475800ed6000021"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (1.3859ms)
16004
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f1302475800ed600001a"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6580ms)
16005
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f1322475800ed6000021", "parent_ids"=>["5295f1302475800ed600001a"], "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"=>"5295f1302475800ed6000018", "parent_id"=>"5295f1302475800ed600001a", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:18:42 UTC, "created_at"=>2013-11-27 13:18:42 UTC}] flags=[] (0.3052ms)
16006
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1302475800ed6000018", "template_dependencies.en"=>{"$in"=>["5295f1322475800ed6000021"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4790ms)
16007
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1322475800ed6000021"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5760ms)
16008
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f1322475800ed6000021"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1180ms)
16009
+ 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.6709ms)
16010
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f1302475800ed6000018", "parent_id"=>"5295f1302475800ed600001a", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5140ms)
16011
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1302475800ed600001a", "site_id"=>"5295f1302475800ed6000018", "_id"=>{"$ne"=>"5295f1332475800ed6000022"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (1.2093ms)
16012
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1302475800ed600001a", "site_id"=>"5295f1302475800ed6000018"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7229ms)
16013
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f1302475800ed600001a"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6678ms)
16014
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f1332475800ed6000022", "parent_ids"=>["5295f1302475800ed600001a"], "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"=>"5295f1302475800ed6000018", "parent_id"=>"5295f1302475800ed600001a", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:18:43 UTC, "created_at"=>2013-11-27 13:18:43 UTC}] flags=[] (0.2680ms)
16015
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1302475800ed6000018", "template_dependencies.en"=>{"$in"=>["5295f1332475800ed6000022"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4301ms)
16016
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1332475800ed6000022"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4609ms)
16017
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f1332475800ed6000022"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1249ms)
16018
+ 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.0149ms)
16019
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f1302475800ed6000018", "parent_id"=>"5295f1302475800ed600001a", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5643ms)
16020
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1302475800ed600001a", "site_id"=>"5295f1302475800ed6000018", "_id"=>{"$ne"=>"5295f1332475800ed6000023"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.9222ms)
16021
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1302475800ed600001a", "site_id"=>"5295f1302475800ed6000018"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5713ms)
16022
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f1302475800ed600001a"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5410ms)
16023
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f1332475800ed6000023", "parent_ids"=>["5295f1302475800ed600001a"], "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"=>"5295f1302475800ed6000018", "parent_id"=>"5295f1302475800ed600001a", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:18:43 UTC, "created_at"=>2013-11-27 13:18:43 UTC}] flags=[] (0.2832ms)
16024
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1302475800ed6000018", "template_dependencies.en"=>{"$in"=>["5295f1332475800ed6000023"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3741ms)
16025
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1332475800ed6000023"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4191ms)
16026
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f1332475800ed6000023"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1101ms)
16027
+ 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.5660ms)
16028
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f1302475800ed6000018", "parent_id"=>"5295f1302475800ed600001a", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5219ms)
16029
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1302475800ed600001a", "site_id"=>"5295f1302475800ed6000018", "_id"=>{"$ne"=>"5295f1332475800ed6000024"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (1.9021ms)
16030
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1302475800ed600001a", "site_id"=>"5295f1302475800ed6000018"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7288ms)
16031
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f1302475800ed600001a"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7272ms)
16032
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f1332475800ed6000024", "parent_ids"=>["5295f1302475800ed600001a"], "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"=>" * Search results:\n <ul>\n {% for result in site.search %}\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"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"5295f1302475800ed6000018", "parent_id"=>"5295f1302475800ed600001a", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1072>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:18:43 UTC, "created_at"=>2013-11-27 13:18:43 UTC}] flags=[] (0.3042ms)
16033
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1302475800ed6000018", "template_dependencies.en"=>{"$in"=>["5295f1332475800ed6000024"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4382ms)
16034
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1332475800ed6000024"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6521ms)
16035
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f1332475800ed6000024"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.2728ms)
16036
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1302475800ed6000018", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (1.1790ms)
16037
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"5295f1302475800ed6000018"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.8340ms)
16038
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"5295f1302475800ed600001a"} 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"=>2013-11-27 13:18:43 UTC}} flags=[] (0.3510ms)
16039
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1302475800ed6000018", "template_dependencies.en"=>{"$in"=>["5295f1302475800ed600001a"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6800ms)
16040
+ 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.7000ms)
16041
+ 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.5550ms)
16042
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5295f1342475800ed6000025", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-11-27 13:18:31 UTC, "updated_at"=>2013-11-27 13:18:44 UTC, "memberships"=>[{"_id"=>"5295f1342475800ed6000026", "role"=>"admin", "account_id"=>"5295f1302475800ed6000017"}]}] flags=[] (0.2038ms)
16043
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f1342475800ed6000025", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.7911ms)
16044
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f1342475800ed6000025", "_id"=>{"$ne"=>"5295f1342475800ed6000027"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4480ms)
16045
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f1342475800ed6000027", "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"=>"5295f1342475800ed6000025", "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"=>2013-11-27 13:18:44 UTC, "created_at"=>2013-11-27 13:18:44 UTC}] flags=[] (0.2489ms)
16046
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1342475800ed6000025", "template_dependencies.en"=>{"$in"=>["5295f1342475800ed6000027"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3192ms)
16047
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1342475800ed6000027"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3779ms)
16048
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f1342475800ed6000027"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1619ms)
16049
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f1342475800ed6000025", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5341ms)
16050
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f1342475800ed6000025", "_id"=>{"$ne"=>"5295f1352475800ed6000028"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6902ms)
16051
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f1342475800ed6000025"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7422ms)
16052
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f1352475800ed6000028", "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"=>"5295f1342475800ed6000025", "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"=>2013-11-27 13:18:45 UTC, "created_at"=>2013-11-27 13:18:45 UTC}] flags=[] (0.3068ms)
16053
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1342475800ed6000025", "template_dependencies.en"=>{"$in"=>["5295f1352475800ed6000028"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4811ms)
16054
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1352475800ed6000028"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5341ms)
16055
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f1352475800ed6000028"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.2310ms)
16056
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f1342475800ed6000025", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5000ms)
16057
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f1342475800ed6000025", "_id"=>{"$ne"=>"5295f1352475800ed6000029"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7880ms)
16058
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f1342475800ed6000025"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4952ms)
16059
+ 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.3021ms)
16060
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f1352475800ed6000029", "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"=>"5295f1342475800ed6000025", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:18:45 UTC, "created_at"=>2013-11-27 13:18:45 UTC}] flags=[] (0.1912ms)
16061
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1342475800ed6000025", "template_dependencies.en"=>{"$in"=>["5295f1352475800ed6000029"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3679ms)
16062
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f1352475800ed6000029"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3679ms)
16063
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f1352475800ed6000029"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0997ms)
16064
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f1342475800ed6000025", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5493ms)
16065
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5295f1352475800ed600002a", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5295f1342475800ed6000025", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5295f1352475800ed600002b", "updated_at"=>2013-11-27 13:18:45 UTC, "created_at"=>2013-11-27 13:18:45 UTC, "entries_custom_fields"=>[{"_id"=>"5295f1352475800ed600002b", "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.3159ms)
16066
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f1352475800ed600002c"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f1352475800ed600002a"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7381ms)
16067
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f1352475800ed600002a", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6070ms)
16068
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f1352475800ed600002a"]}}} (0.6061ms)
16069
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f1352475800ed600002c", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f1352475800ed600002a", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f1352475800ed600002a", "content_type_id"=>"5295f1352475800ed600002a", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"5295f1342475800ed6000025", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:18:45 UTC, "created_at"=>2013-11-27 13:18:45 UTC}] flags=[] (0.1979ms)
16070
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f1312475800ed600001f"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f1312475800ed600001c"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5529ms)
16071
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f1322475800ed6000020"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f1312475800ed600001c"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4451ms)
16072
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_type"=>{"$in"=>["Locomotive::ContentEntry5295f1312475800ed600001c"]}} update={"$set"=>{"_label_field_name"=>"name"}} flags=[:multi] (0.1690ms)
16073
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"5295f1312475800ed600001c"} update={"$set"=>{"updated_at"=>2013-11-27 13:18:46 UTC, "entries_custom_fields_version"=>1, "entries_custom_fields.1.searchable"=>true}} flags=[] (0.1171ms)
16074
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f1312475800ed600001c"} update={"$set"=>{"custom_fields_recipe.rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "custom_fields_recipe.version"=>1}, "$unset"=>{}, "$rename"=>{}} flags={:multi=>true} (0.1709ms)
16075
+ Started GET "/" for 127.0.0.1 at 2013-11-27 14:18:46 +0100
16076
+ Processing by Locomotive::Public::PagesController#show as HTML
16077
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
16078
+ 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.6208ms)
16079
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1302475800ed6000018", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5679ms)
16080
+ Rendered text template (0.0ms)
16081
+ Completed 200 OK in 4.9ms (Views: 0.5ms)
16082
+ Started GET "/en/search?search=stuff" for 127.0.0.1 at 2013-11-27 14:18:46 +0100
16083
+ Processing by Locomotive::Public::PagesController#show as HTML
16084
+ Parameters: {"search"=>"stuff", "locale"=>"en", "path"=>"search"}
16085
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
16086
+ 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.5691ms)
16087
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1302475800ed6000018", "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.5379ms)
16088
+ Rendered text template (0.0ms)
16089
+ Completed 200 OK in 454.2ms (Views: 0.5ms)
16090
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"5295f1312475800ed600001c"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5100ms)
16091
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f1312475800ed600001c", "updated_at"=>{"$lt"=>2013-11-27 13:18:46 UTC}, "_type"=>{"$in"=>["Locomotive::ContentEntry5295f1312475800ed600001c"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8161ms)
16092
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"5295f1302475800ed6000018"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4210ms)
16093
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"_id"=>"5295f1312475800ed600001c"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4930ms)
16094
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>"5295f1312475800ed600001f"} update={"$set"=>{"updated_at"=>2013-11-27 13:18:47 UTC}} flags=[] (0.1500ms)
16095
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"5295f1302475800ed6000018"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5119ms)
16096
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"_id"=>"5295f1312475800ed600001c"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5879ms)
16097
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>"5295f1322475800ed6000020"} update={"$set"=>{"updated_at"=>2013-11-27 13:18:47 UTC}} flags=[] (0.1459ms)
16098
+ Started GET "/en/" for 127.0.0.1 at 2013-11-27 14:18:48 +0100
16099
+ Started GET "/en" for 127.0.0.1 at 2013-11-27 14:18:48 +0100
16100
+ Processing by Locomotive::Public::PagesController#show as HTML
16101
+ Parameters: {"page_path"=>"index", "locale"=>"en"}
16102
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
16103
+ 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.7210ms)
16104
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1302475800ed6000018", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6461ms)
16105
+ Rendered text template (0.0ms)
16106
+ Completed 200 OK in 5.2ms (Views: 0.5ms)
16107
+ Started GET "/en/search?search=stuff" for 127.0.0.1 at 2013-11-27 14:18:48 +0100
16108
+ Processing by Locomotive::Public::PagesController#show as HTML
16109
+ Parameters: {"search"=>"stuff", "locale"=>"en", "path"=>"search"}
16110
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
16111
+ 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.5119ms)
16112
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f1302475800ed6000018", "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.7961ms)
16113
+ Rendered text template (0.0ms)
16114
+ Completed 200 OK in 455.2ms (Views: 0.4ms)
16115
+ 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.6547ms)
16116
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (1.4930ms)
16117
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (1.5700ms)
16118
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (1.3990ms)
16119
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (0.8824ms)
16120
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (1.0500ms)
16121
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0152ms)
16122
+ 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.7167ms)
16123
+ Creating scope :root. Overwriting existing method Locomotive::Page.root.
16124
+ 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.5147ms)
16125
+ 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.6940ms)
16126
+ 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.4189ms)
16127
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"5295f13e247580e779000001", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"471cec63d9e56e3fb9e6b1bd3c7df920633d3e2d", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"9Yqn1gzsMRKHsqYoSJns", "api_key"=>"df7197e41e84511d64c7e8176fc82387013ea8b5", "updated_at"=>2013-11-27 13:18:54 UTC, "created_at"=>2013-11-27 13:18:54 UTC}] flags=[] (0.1409ms)
16128
+ 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.8740ms)
16129
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5295f13e247580e779000002", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-11-27 13:18:54 UTC, "updated_at"=>2013-11-27 13:18:54 UTC, "memberships"=>[{"_id"=>"5295f13e247580e779000003", "role"=>"admin", "account_id"=>"5295f13e247580e779000001"}]}] flags=[] (0.1731ms)
16130
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f13e247580e779000002", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (1.0941ms)
16131
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f13e247580e779000002", "_id"=>{"$ne"=>"5295f13e247580e779000004"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5541ms)
16132
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f13e247580e779000004", "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"=>"5295f13e247580e779000002", "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"=>2013-11-27 13:18:54 UTC, "created_at"=>2013-11-27 13:18:54 UTC}] flags=[] (0.3660ms)
16133
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e779000004"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5083ms)
16134
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000002", "template_dependencies.en"=>{"$in"=>["5295f13e247580e779000004"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4048ms)
16135
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f13e247580e779000004"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1862ms)
16136
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f13e247580e779000004"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5980ms)
16137
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f13e247580e779000005", "_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"5295f13e247580e779000002", :fullpath=>{"en"=>"index"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f13e247580e779000004", "_keywords"=>["en:home", "en:page"]}] flags=[] (0.1533ms)
16138
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f13e247580e779000002", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5071ms)
16139
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f13e247580e779000002", "_id"=>{"$ne"=>"5295f13e247580e779000006"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7138ms)
16140
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f13e247580e779000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4528ms)
16141
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f13e247580e779000006", "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"=>"5295f13e247580e779000002", "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"=>2013-11-27 13:18:54 UTC, "created_at"=>2013-11-27 13:18:54 UTC}] flags=[] (0.1853ms)
16142
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000002", "template_dependencies.en"=>{"$in"=>["5295f13e247580e779000006"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3169ms)
16143
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e779000006"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3300ms)
16144
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f13e247580e779000006"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0970ms)
16145
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f13e247580e779000002", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4699ms)
16146
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5295f13e247580e779000007", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5295f13e247580e779000002", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5295f13e247580e779000008", "updated_at"=>2013-11-27 13:18:54 UTC, "created_at"=>2013-11-27 13:18:54 UTC, "entries_custom_fields"=>[{"_id"=>"5295f13e247580e779000008", "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.2549ms)
16147
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"5295f13e247580e779000007"} update={"$push"=>{"entries_custom_fields"=>{"_id"=>"5295f13e247580e779000009", "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", "updated_at"=>2013-11-27 13:18:54 UTC, "created_at"=>2013-11-27 13:18:54 UTC}}} flags=[] (0.1929ms)
16148
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f13e247580e77900000a"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f13e247580e779000007"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (1.2112ms)
16149
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f13e247580e779000007", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4921ms)
16150
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f13e247580e779000007"]}}} (0.4363ms)
16151
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f13e247580e77900000a", "_position"=>0, "_visible"=>true, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f13e247580e779000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f13e247580e779000007", "content_type_id"=>"5295f13e247580e779000007", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"5295f13e247580e779000002", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:18:54 UTC, "created_at"=>2013-11-27 13:18:54 UTC}] flags=[] (0.1872ms)
16152
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f13e247580e779000007", "_original_id"=>"5295f13e247580e77900000a"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (1.5719ms)
16153
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f13e247580e77900000b", "_stored"=>{:_slug=>{"en"=>"findable-entry"}, "name"=>"Findable entry", :site_id=>"5295f13e247580e779000002", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry5295f13e247580e779000007", "_original_id"=>"5295f13e247580e77900000a", "_keywords"=>["findable", "entry"]}] flags=[] (0.1528ms)
16154
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f13e247580e77900000c"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f13e247580e779000007"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5429ms)
16155
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f13e247580e779000007", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3650ms)
16156
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f13e247580e779000007"]}}} (0.4241ms)
16157
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f13e247580e779000007"]}}} (0.3042ms)
16158
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f13e247580e779000007"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.5372ms)
16159
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f13e247580e77900000c", "_position"=>1, "_visible"=>true, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f13e247580e779000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f13e247580e779000007", "content_type_id"=>"5295f13e247580e779000007", "_slug"=>{"en"=>"hidden"}, "site_id"=>"5295f13e247580e779000002", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:18:54 UTC, "created_at"=>2013-11-27 13:18:54 UTC}] flags=[] (0.1740ms)
16160
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f13e247580e779000007", "_original_id"=>"5295f13e247580e77900000c"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3798ms)
16161
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f13e247580e77900000d", "_stored"=>{:_slug=>{"en"=>"hidden"}, "name"=>"Hidden", :site_id=>"5295f13e247580e779000002", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry5295f13e247580e779000007", "_original_id"=>"5295f13e247580e77900000c", "_keywords"=>["hidden"]}] flags=[] (0.1149ms)
16162
+ 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.5991ms)
16163
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f13e247580e779000002", "parent_id"=>"5295f13e247580e779000004", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4809ms)
16164
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e779000004", "site_id"=>"5295f13e247580e779000002", "_id"=>{"$ne"=>"5295f13e247580e77900000e"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4213ms)
16165
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f13e247580e779000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6678ms)
16166
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f13e247580e77900000e", "parent_ids"=>["5295f13e247580e779000004"], "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"=>"5295f13e247580e779000002", "parent_id"=>"5295f13e247580e779000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:18:54 UTC, "created_at"=>2013-11-27 13:18:54 UTC}] flags=[] (0.1841ms)
16167
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000002", "template_dependencies.en"=>{"$in"=>["5295f13e247580e77900000e"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3340ms)
16168
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e77900000e"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3779ms)
16169
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f13e247580e77900000e"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0880ms)
16170
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f13e247580e77900000e"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3037ms)
16171
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f13e247580e77900000f", "_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :site_id=>"5295f13e247580e779000002", :fullpath=>{"en"=>"findable"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f13e247580e77900000e", "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}] flags=[] (0.1297ms)
16172
+ 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.6149ms)
16173
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f13e247580e779000002", "parent_id"=>"5295f13e247580e779000004", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4900ms)
16174
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e779000004", "site_id"=>"5295f13e247580e779000002", "_id"=>{"$ne"=>"5295f13e247580e779000010"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6592ms)
16175
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e779000004", "site_id"=>"5295f13e247580e779000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4649ms)
16176
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f13e247580e779000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4969ms)
16177
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f13e247580e779000010", "parent_ids"=>["5295f13e247580e779000004"], "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"=>"5295f13e247580e779000002", "parent_id"=>"5295f13e247580e779000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:18:54 UTC, "created_at"=>2013-11-27 13:18:54 UTC}] flags=[] (0.2649ms)
16178
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000002", "template_dependencies.en"=>{"$in"=>["5295f13e247580e779000010"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3719ms)
16179
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e779000010"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4790ms)
16180
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f13e247580e779000010"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1202ms)
16181
+ 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.6719ms)
16182
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f13e247580e779000002", "parent_id"=>"5295f13e247580e779000004", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5600ms)
16183
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e779000004", "site_id"=>"5295f13e247580e779000002", "_id"=>{"$ne"=>"5295f13e247580e779000011"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8547ms)
16184
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e779000004", "site_id"=>"5295f13e247580e779000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5300ms)
16185
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f13e247580e779000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6471ms)
16186
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f13e247580e779000011", "parent_ids"=>["5295f13e247580e779000004"], "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"=>"5295f13e247580e779000002", "parent_id"=>"5295f13e247580e779000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:18:54 UTC, "created_at"=>2013-11-27 13:18:54 UTC}] flags=[] (0.2990ms)
16187
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000002", "template_dependencies.en"=>{"$in"=>["5295f13e247580e779000011"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3791ms)
16188
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e779000011"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4601ms)
16189
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f13e247580e779000011"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1318ms)
16190
+ 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.6132ms)
16191
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f13e247580e779000002", "parent_id"=>"5295f13e247580e779000004", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5059ms)
16192
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e779000004", "site_id"=>"5295f13e247580e779000002", "_id"=>{"$ne"=>"5295f13e247580e779000012"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8910ms)
16193
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e779000004", "site_id"=>"5295f13e247580e779000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5159ms)
16194
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f13e247580e779000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5450ms)
16195
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f13e247580e779000012", "parent_ids"=>["5295f13e247580e779000004"], "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"=>" * Search results:\n <ul>\n {% for result in site.search %}\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"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"5295f13e247580e779000002", "parent_id"=>"5295f13e247580e779000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1072>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:18:54 UTC, "created_at"=>2013-11-27 13:18:54 UTC}] flags=[] (0.2401ms)
16196
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000002", "template_dependencies.en"=>{"$in"=>["5295f13e247580e779000012"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3960ms)
16197
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e779000012"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4640ms)
16198
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f13e247580e779000012"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1230ms)
16199
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f13e247580e779000012"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4110ms)
16200
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f13e247580e779000013", "_stored"=>{:title=>{"en"=>"search"}, :site_id=>"5295f13e247580e779000002", :fullpath=>{"en"=>"search"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f13e247580e779000012", "_keywords"=>["en:search"]}] flags=[] (0.2019ms)
16201
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000002", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7989ms)
16202
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"5295f13e247580e779000002"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4342ms)
16203
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"5295f13e247580e779000004"} 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"=>2013-11-27 13:18:54 UTC}} flags=[] (0.1788ms)
16204
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000002", "template_dependencies.en"=>{"$in"=>["5295f13e247580e779000004"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4859ms)
16205
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f13e247580e779000004"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5500ms)
16206
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_models selector={"_id"=>"5295f13e247580e779000005"} update={"$set"=>{"_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"5295f13e247580e779000002", :fullpath=>{"en"=>"index"}}}} flags=[] (0.1979ms)
16207
+ 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.6049ms)
16208
+ 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.3111ms)
16209
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5295f13e247580e779000014", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-11-27 13:18:54 UTC, "updated_at"=>2013-11-27 13:18:54 UTC, "memberships"=>[{"_id"=>"5295f13e247580e779000015", "role"=>"admin", "account_id"=>"5295f13e247580e779000001"}]}] flags=[] (0.1490ms)
16210
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f13e247580e779000014", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4420ms)
16211
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f13e247580e779000014", "_id"=>{"$ne"=>"5295f13e247580e779000016"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4354ms)
16212
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f13e247580e779000016", "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"=>"5295f13e247580e779000014", "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"=>2013-11-27 13:18:54 UTC, "created_at"=>2013-11-27 13:18:54 UTC}] flags=[] (0.1938ms)
16213
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000014", "template_dependencies.en"=>{"$in"=>["5295f13e247580e779000016"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3738ms)
16214
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e779000016"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4241ms)
16215
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f13e247580e779000016"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1869ms)
16216
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f13e247580e779000016"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3378ms)
16217
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f13e247580e779000017", "_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"5295f13e247580e779000014", :fullpath=>{"en"=>"index"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f13e247580e779000016", "_keywords"=>["en:home", "en:page"]}] flags=[] (0.1941ms)
16218
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f13e247580e779000014", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4771ms)
16219
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f13e247580e779000014", "_id"=>{"$ne"=>"5295f13e247580e779000018"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6762ms)
16220
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f13e247580e779000014"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4892ms)
16221
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f13e247580e779000018", "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"=>"5295f13e247580e779000014", "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"=>2013-11-27 13:18:54 UTC, "created_at"=>2013-11-27 13:18:54 UTC}] flags=[] (0.1872ms)
16222
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000014", "template_dependencies.en"=>{"$in"=>["5295f13e247580e779000018"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3409ms)
16223
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e779000018"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4830ms)
16224
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f13e247580e779000018"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1140ms)
16225
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f13e247580e779000014", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5510ms)
16226
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f13e247580e779000014", "_id"=>{"$ne"=>"5295f13e247580e779000019"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8948ms)
16227
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f13e247580e779000014"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6380ms)
16228
+ 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.3629ms)
16229
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f13e247580e779000019", "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"=>"5295f13e247580e779000014", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:18:54 UTC, "created_at"=>2013-11-27 13:18:54 UTC}] flags=[] (0.1862ms)
16230
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000014", "template_dependencies.en"=>{"$in"=>["5295f13e247580e779000019"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3860ms)
16231
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e779000019"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4351ms)
16232
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f13e247580e779000019"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1891ms)
16233
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f13e247580e779000019"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4749ms)
16234
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f13e247580e77900001a", "_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :site_id=>"5295f13e247580e779000014", :fullpath=>{"en"=>"rickroll"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f13e247580e779000019", "_keywords"=>["en:this", "en:should", "en:never", "en:show", "en:up", "en:in", "en:the", "en:search,", "en:even", "en:if", "en:it", "en:would", "en:be", "en:findable"]}] flags=[] (0.3090ms)
16235
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f13e247580e779000014", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6359ms)
16236
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5295f13e247580e77900001b", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5295f13e247580e779000014", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5295f13e247580e77900001c", "updated_at"=>2013-11-27 13:18:54 UTC, "created_at"=>2013-11-27 13:18:54 UTC, "entries_custom_fields"=>[{"_id"=>"5295f13e247580e77900001c", "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.2451ms)
16237
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f13e247580e77900001d"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f13e247580e77900001b"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5100ms)
16238
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f13e247580e77900001b", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4292ms)
16239
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f13e247580e77900001b"]}}} (0.4973ms)
16240
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f13e247580e77900001d", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f13e247580e77900001b", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f13e247580e77900001b", "content_type_id"=>"5295f13e247580e77900001b", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"5295f13e247580e779000014", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:18:54 UTC, "created_at"=>2013-11-27 13:18:54 UTC}] flags=[] (0.1521ms)
16241
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f13e247580e77900001b", "_original_id"=>"5295f13e247580e77900001d"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4029ms)
16242
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f13e247580e77900001e", "_stored"=>{:_slug=>{"en"=>"not-findable-entry"}, "name"=>"NOT Findable entry", :site_id=>"5295f13e247580e779000014", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry5295f13e247580e77900001b", "_original_id"=>"5295f13e247580e77900001d", "_keywords"=>["not", "findable", "entry"]}] flags=[] (0.1421ms)
16243
+ Started GET "/" for 127.0.0.1 at 2013-11-27 14:18:54 +0100
16244
+ Processing by Locomotive::Public::PagesController#show as HTML
16245
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
16246
+ 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)
16247
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000002", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6323ms)
16248
+ Rendered text template (0.0ms)
16249
+ Completed 200 OK in 14.7ms (Views: 8.8ms)
16250
+ Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-11-27 14:18:54 +0100
16251
+ Processing by Locomotive::Public::PagesController#show as HTML
16252
+ Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"}
16253
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
16254
+ 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.6092ms)
16255
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000002", "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.5841ms)
16256
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"_stored.site_id"=>"5295f13e247580e779000002", "_keywords"=>{"$in"=>["findable", "en:findable"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4358ms)
16257
+ Rendered text template (0.0ms)
16258
+ Completed 200 OK in 13.8ms (Views: 0.5ms)
16259
+ Started GET "/findable" for 127.0.0.1 at 2013-11-27 14:18:54 +0100
16260
+ Processing by Locomotive::Public::PagesController#show as HTML
16261
+ Parameters: {"path"=>"findable"}
16262
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
16263
+ 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.8321ms)
16264
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000002", "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.6731ms)
16265
+ Rendered text template (0.0ms)
16266
+ Completed 200 OK in 5.5ms (Views: 0.4ms)
16267
+ Started GET "/" for 127.0.0.1 at 2013-11-27 14:18:54 +0100
16268
+ Processing by Locomotive::Public::PagesController#show as HTML
16269
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
16270
+ 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.5698ms)
16271
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000002", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6320ms)
16272
+ Rendered text template (0.0ms)
16273
+ Completed 200 OK in 4.4ms (Views: 0.4ms)
16274
+ Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-11-27 14:18:54 +0100
16275
+ Processing by Locomotive::Public::PagesController#show as HTML
16276
+ Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"}
16277
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
16278
+ 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.5791ms)
16279
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000002", "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.6549ms)
16280
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"_stored.site_id"=>"5295f13e247580e779000002", "_keywords"=>{"$in"=>["not", "found", "en:not", "en:found"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3850ms)
16281
+ Rendered text template (0.0ms)
16282
+ Completed 200 OK in 5.2ms (Views: 0.3ms)
16283
+ 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.6611ms)
16284
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (1.1268ms)
16285
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (1.1930ms)
16286
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (0.8719ms)
16287
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"active_search_mongoid_models"} (0.5119ms)
16288
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (0.6630ms)
16289
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (0.5422ms)
16290
+ 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.3331ms)
16291
+ 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.3619ms)
16292
+ 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.2940ms)
16293
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"5295f13e247580e77900001f", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"8a950beb71c1290aad9255fc4699d0a8f498334b", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"BsFSoLsmFJz4QGuehsvf", "api_key"=>"5a4b62eb5b664c5ed39b72994989b223f6857742", "updated_at"=>2013-11-27 13:18:54 UTC, "created_at"=>2013-11-27 13:18:54 UTC}] flags=[] (0.1469ms)
16294
+ 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.4358ms)
16295
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5295f13e247580e779000020", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-11-27 13:18:54 UTC, "updated_at"=>2013-11-27 13:18:54 UTC, "memberships"=>[{"_id"=>"5295f13e247580e779000021", "role"=>"admin", "account_id"=>"5295f13e247580e77900001f"}]}] flags=[] (0.1452ms)
16296
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f13e247580e779000020", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4880ms)
16297
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f13e247580e779000020", "_id"=>{"$ne"=>"5295f13e247580e779000022"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.3960ms)
16298
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f13e247580e779000022", "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"=>"5295f13e247580e779000020", "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"=>2013-11-27 13:18:54 UTC, "created_at"=>2013-11-27 13:18:54 UTC}] flags=[] (0.1731ms)
16299
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000020", "template_dependencies.en"=>{"$in"=>["5295f13e247580e779000022"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3729ms)
16300
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e779000022"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3550ms)
16301
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f13e247580e779000022"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0889ms)
16302
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f13e247580e779000022"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3037ms)
16303
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f13e247580e779000023", "_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"5295f13e247580e779000020", :fullpath=>{"en"=>"index"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f13e247580e779000022", "_keywords"=>["en:home", "en:page"]}] flags=[] (0.1268ms)
16304
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f13e247580e779000020", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5229ms)
16305
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f13e247580e779000020", "_id"=>{"$ne"=>"5295f13e247580e779000024"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6263ms)
16306
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f13e247580e779000020"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4539ms)
16307
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f13e247580e779000024", "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"=>"5295f13e247580e779000020", "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"=>2013-11-27 13:18:54 UTC, "created_at"=>2013-11-27 13:18:54 UTC}] flags=[] (0.1721ms)
16308
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000020", "template_dependencies.en"=>{"$in"=>["5295f13e247580e779000024"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3357ms)
16309
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e779000024"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3641ms)
16310
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f13e247580e779000024"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0980ms)
16311
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f13e247580e779000020", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4108ms)
16312
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5295f13e247580e779000025", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5295f13e247580e779000020", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5295f13e247580e779000026", "updated_at"=>2013-11-27 13:18:54 UTC, "created_at"=>2013-11-27 13:18:54 UTC, "entries_custom_fields"=>[{"_id"=>"5295f13e247580e779000026", "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.2334ms)
16313
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"5295f13e247580e779000025"} update={"$push"=>{"entries_custom_fields"=>{"_id"=>"5295f13e247580e779000027", "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", "updated_at"=>2013-11-27 13:18:54 UTC, "created_at"=>2013-11-27 13:18:54 UTC}}} flags=[] (0.1910ms)
16314
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f13e247580e779000028"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f13e247580e779000025"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4420ms)
16315
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f13e247580e779000025", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4795ms)
16316
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f13e247580e779000025"]}}} (0.3850ms)
16317
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f13e247580e779000028", "_position"=>0, "_visible"=>true, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f13e247580e779000025", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f13e247580e779000025", "content_type_id"=>"5295f13e247580e779000025", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"5295f13e247580e779000020", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:18:54 UTC, "created_at"=>2013-11-27 13:18:54 UTC}] flags=[] (0.2203ms)
16318
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f13e247580e779000025", "_original_id"=>"5295f13e247580e779000028"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3750ms)
16319
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f13e247580e779000029", "_stored"=>{:_slug=>{"en"=>"findable-entry"}, "name"=>"Findable entry", :site_id=>"5295f13e247580e779000020", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry5295f13e247580e779000025", "_original_id"=>"5295f13e247580e779000028", "_keywords"=>["findable", "entry"]}] flags=[] (0.1669ms)
16320
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f13e247580e77900002a"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f13e247580e779000025"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4690ms)
16321
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f13e247580e779000025", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4060ms)
16322
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f13e247580e779000025"]}}} (0.3614ms)
16323
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f13e247580e779000025"]}}} (0.3831ms)
16324
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f13e247580e779000025"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.5050ms)
16325
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f13e247580e77900002a", "_position"=>1, "_visible"=>true, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f13e247580e779000025", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f13e247580e779000025", "content_type_id"=>"5295f13e247580e779000025", "_slug"=>{"en"=>"hidden"}, "site_id"=>"5295f13e247580e779000020", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:18:54 UTC, "created_at"=>2013-11-27 13:18:54 UTC}] flags=[] (0.2239ms)
16326
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f13e247580e779000025", "_original_id"=>"5295f13e247580e77900002a"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3631ms)
16327
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f13f247580e77900002b", "_stored"=>{:_slug=>{"en"=>"hidden"}, "name"=>"Hidden", :site_id=>"5295f13e247580e779000020", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry5295f13e247580e779000025", "_original_id"=>"5295f13e247580e77900002a", "_keywords"=>["hidden"]}] flags=[] (0.1521ms)
16328
+ 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.5851ms)
16329
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f13e247580e779000020", "parent_id"=>"5295f13e247580e779000022", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4396ms)
16330
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e779000022", "site_id"=>"5295f13e247580e779000020", "_id"=>{"$ne"=>"5295f13f247580e77900002c"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4618ms)
16331
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f13e247580e779000022"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6030ms)
16332
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f13f247580e77900002c", "parent_ids"=>["5295f13e247580e779000022"], "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"=>"5295f13e247580e779000020", "parent_id"=>"5295f13e247580e779000022", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:18:55 UTC, "created_at"=>2013-11-27 13:18:55 UTC}] flags=[] (0.1884ms)
16333
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000020", "template_dependencies.en"=>{"$in"=>["5295f13f247580e77900002c"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3140ms)
16334
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13f247580e77900002c"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3481ms)
16335
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f13f247580e77900002c"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0961ms)
16336
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f13f247580e77900002c"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3030ms)
16337
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f13f247580e77900002d", "_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :site_id=>"5295f13e247580e779000020", :fullpath=>{"en"=>"findable"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f13f247580e77900002c", "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}] flags=[] (0.1359ms)
16338
+ 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.6018ms)
16339
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f13e247580e779000020", "parent_id"=>"5295f13e247580e779000022", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4652ms)
16340
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e779000022", "site_id"=>"5295f13e247580e779000020", "_id"=>{"$ne"=>"5295f13f247580e77900002e"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6518ms)
16341
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e779000022", "site_id"=>"5295f13e247580e779000020"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6967ms)
16342
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f13e247580e779000022"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5310ms)
16343
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f13f247580e77900002e", "parent_ids"=>["5295f13e247580e779000022"], "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"=>"5295f13e247580e779000020", "parent_id"=>"5295f13e247580e779000022", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:18:55 UTC, "created_at"=>2013-11-27 13:18:55 UTC}] flags=[] (0.1822ms)
16344
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000020", "template_dependencies.en"=>{"$in"=>["5295f13f247580e77900002e"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3383ms)
16345
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13f247580e77900002e"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3772ms)
16346
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f13f247580e77900002e"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1371ms)
16347
+ 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.5569ms)
16348
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f13e247580e779000020", "parent_id"=>"5295f13e247580e779000022", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5069ms)
16349
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e779000022", "site_id"=>"5295f13e247580e779000020", "_id"=>{"$ne"=>"5295f13f247580e77900002f"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7439ms)
16350
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e779000022", "site_id"=>"5295f13e247580e779000020"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4959ms)
16351
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f13e247580e779000022"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5078ms)
16352
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f13f247580e77900002f", "parent_ids"=>["5295f13e247580e779000022"], "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"=>"5295f13e247580e779000020", "parent_id"=>"5295f13e247580e779000022", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:18:55 UTC, "created_at"=>2013-11-27 13:18:55 UTC}] flags=[] (0.1879ms)
16353
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000020", "template_dependencies.en"=>{"$in"=>["5295f13f247580e77900002f"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3378ms)
16354
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13f247580e77900002f"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3500ms)
16355
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f13f247580e77900002f"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0992ms)
16356
+ 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.5922ms)
16357
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f13e247580e779000020", "parent_id"=>"5295f13e247580e779000022", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4439ms)
16358
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e779000022", "site_id"=>"5295f13e247580e779000020", "_id"=>{"$ne"=>"5295f13f247580e779000030"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (1.0312ms)
16359
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13e247580e779000022", "site_id"=>"5295f13e247580e779000020"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5431ms)
16360
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f13e247580e779000022"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5267ms)
16361
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f13f247580e779000030", "parent_ids"=>["5295f13e247580e779000022"], "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"=>" * Search results:\n <ul>\n {% for result in site.search %}\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"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"5295f13e247580e779000020", "parent_id"=>"5295f13e247580e779000022", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1072>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:18:55 UTC, "created_at"=>2013-11-27 13:18:55 UTC}] flags=[] (0.2449ms)
16362
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000020", "template_dependencies.en"=>{"$in"=>["5295f13f247580e779000030"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3450ms)
16363
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13f247580e779000030"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3619ms)
16364
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f13f247580e779000030"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1149ms)
16365
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f13f247580e779000030"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3321ms)
16366
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f13f247580e779000031", "_stored"=>{:title=>{"en"=>"search"}, :site_id=>"5295f13e247580e779000020", :fullpath=>{"en"=>"search"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f13f247580e779000030", "_keywords"=>["en:search"]}] flags=[] (0.1621ms)
16367
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000020", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6299ms)
16368
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"5295f13e247580e779000020"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3679ms)
16369
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"5295f13e247580e779000022"} 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"=>2013-11-27 13:18:55 UTC}} flags=[] (0.1409ms)
16370
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000020", "template_dependencies.en"=>{"$in"=>["5295f13e247580e779000022"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3760ms)
16371
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f13e247580e779000022"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4971ms)
16372
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_models selector={"_id"=>"5295f13e247580e779000023"} update={"$set"=>{"_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"5295f13e247580e779000020", :fullpath=>{"en"=>"index"}}}} flags=[] (0.1030ms)
16373
+ 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.4640ms)
16374
+ 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.3061ms)
16375
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5295f13f247580e779000032", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-11-27 13:18:54 UTC, "updated_at"=>2013-11-27 13:18:55 UTC, "memberships"=>[{"_id"=>"5295f13f247580e779000033", "role"=>"admin", "account_id"=>"5295f13e247580e77900001f"}]}] flags=[] (0.1922ms)
16376
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f13f247580e779000032", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4082ms)
16377
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f13f247580e779000032", "_id"=>{"$ne"=>"5295f13f247580e779000034"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4401ms)
16378
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f13f247580e779000034", "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"=>"5295f13f247580e779000032", "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"=>2013-11-27 13:18:55 UTC, "created_at"=>2013-11-27 13:18:55 UTC}] flags=[] (0.1788ms)
16379
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13f247580e779000032", "template_dependencies.en"=>{"$in"=>["5295f13f247580e779000034"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3231ms)
16380
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13f247580e779000034"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3440ms)
16381
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f13f247580e779000034"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0982ms)
16382
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f13f247580e779000034"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3121ms)
16383
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f13f247580e779000035", "_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"5295f13f247580e779000032", :fullpath=>{"en"=>"index"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f13f247580e779000034", "_keywords"=>["en:home", "en:page"]}] flags=[] (0.1259ms)
16384
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f13f247580e779000032", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4170ms)
16385
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f13f247580e779000032", "_id"=>{"$ne"=>"5295f13f247580e779000036"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6280ms)
16386
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f13f247580e779000032"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4821ms)
16387
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f13f247580e779000036", "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"=>"5295f13f247580e779000032", "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"=>2013-11-27 13:18:55 UTC, "created_at"=>2013-11-27 13:18:55 UTC}] flags=[] (0.2019ms)
16388
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13f247580e779000032", "template_dependencies.en"=>{"$in"=>["5295f13f247580e779000036"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3636ms)
16389
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13f247580e779000036"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3400ms)
16390
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f13f247580e779000036"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0913ms)
16391
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f13f247580e779000032", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4358ms)
16392
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f13f247580e779000032", "_id"=>{"$ne"=>"5295f13f247580e779000037"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7610ms)
16393
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f13f247580e779000032"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4759ms)
16394
+ 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.3340ms)
16395
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f13f247580e779000037", "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"=>"5295f13f247580e779000032", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:18:55 UTC, "created_at"=>2013-11-27 13:18:55 UTC}] flags=[] (0.2429ms)
16396
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13f247580e779000032", "template_dependencies.en"=>{"$in"=>["5295f13f247580e779000037"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4311ms)
16397
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f13f247580e779000037"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3810ms)
16398
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f13f247580e779000037"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0980ms)
16399
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f13f247580e779000037"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3459ms)
16400
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f13f247580e779000038", "_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :site_id=>"5295f13f247580e779000032", :fullpath=>{"en"=>"rickroll"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f13f247580e779000037", "_keywords"=>["en:this", "en:should", "en:never", "en:show", "en:up", "en:in", "en:the", "en:search,", "en:even", "en:if", "en:it", "en:would", "en:be", "en:findable"]}] flags=[] (0.2160ms)
16401
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f13f247580e779000032", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3819ms)
16402
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5295f13f247580e779000039", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5295f13f247580e779000032", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5295f13f247580e77900003a", "updated_at"=>2013-11-27 13:18:55 UTC, "created_at"=>2013-11-27 13:18:55 UTC, "entries_custom_fields"=>[{"_id"=>"5295f13f247580e77900003a", "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.2241ms)
16403
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f13f247580e77900003b"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f13f247580e779000039"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5460ms)
16404
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f13f247580e779000039", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4251ms)
16405
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f13f247580e779000039"]}}} (0.4492ms)
16406
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f13f247580e77900003b", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f13f247580e779000039", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f13f247580e779000039", "content_type_id"=>"5295f13f247580e779000039", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"5295f13f247580e779000032", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:18:55 UTC, "created_at"=>2013-11-27 13:18:55 UTC}] flags=[] (0.1781ms)
16407
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f13f247580e779000039", "_original_id"=>"5295f13f247580e77900003b"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5519ms)
16408
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f13f247580e77900003c", "_stored"=>{:_slug=>{"en"=>"not-findable-entry"}, "name"=>"NOT Findable entry", :site_id=>"5295f13f247580e779000032", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry5295f13f247580e779000039", "_original_id"=>"5295f13f247580e77900003b", "_keywords"=>["not", "findable", "entry"]}] flags=[] (0.2329ms)
16409
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f13e247580e779000028"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f13e247580e779000025"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4790ms)
16410
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f13e247580e77900002a"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f13e247580e779000025"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4141ms)
16411
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_type"=>{"$in"=>["Locomotive::ContentEntry5295f13e247580e779000025"]}} update={"$set"=>{"_label_field_name"=>"name"}} flags=[:multi] (0.1447ms)
16412
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"5295f13e247580e779000025"} update={"$set"=>{"updated_at"=>2013-11-27 13:18:55 UTC, "entries_custom_fields_version"=>1, "entries_custom_fields.1.searchable"=>true}} flags=[] (0.0920ms)
16413
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f13e247580e779000025"} update={"$set"=>{"custom_fields_recipe.rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "custom_fields_recipe.version"=>1}, "$unset"=>{}, "$rename"=>{}} flags={:multi=>true} (0.1502ms)
16414
+ Started GET "/" for 127.0.0.1 at 2013-11-27 14:18:55 +0100
16415
+ Processing by Locomotive::Public::PagesController#show as HTML
16416
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
16417
+ 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)
16418
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000020", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.9110ms)
16419
+ Rendered text template (0.0ms)
16420
+ Completed 200 OK in 5.4ms (Views: 0.5ms)
16421
+ Started GET "/en/search?search=stuff" for 127.0.0.1 at 2013-11-27 14:18:55 +0100
16422
+ Processing by Locomotive::Public::PagesController#show as HTML
16423
+ Parameters: {"search"=>"stuff", "locale"=>"en", "path"=>"search"}
16424
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
16425
+ 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)
16426
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000020", "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.5848ms)
16427
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"_stored.site_id"=>"5295f13e247580e779000020", "_keywords"=>{"$in"=>["stuff", "en:stuff"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3538ms)
16428
+ Rendered text template (0.0ms)
16429
+ Completed 200 OK in 5.1ms (Views: 0.3ms)
16430
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"5295f13e247580e779000025"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5057ms)
16431
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f13e247580e779000025", "updated_at"=>{"$lt"=>2013-11-27 13:18:55 UTC}, "_type"=>{"$in"=>["Locomotive::ContentEntry5295f13e247580e779000025"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6251ms)
16432
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"5295f13e247580e779000020"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3769ms)
16433
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"_id"=>"5295f13e247580e779000025"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3910ms)
16434
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>"5295f13e247580e779000028"} update={"$set"=>{"updated_at"=>2013-11-27 13:18:55 UTC}} flags=[] (0.1621ms)
16435
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f13e247580e779000025", "_original_id"=>"5295f13e247580e779000028"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6340ms)
16436
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_models selector={"_id"=>"5295f13e247580e779000029"} update={"$set"=>{"_stored"=>{:_slug=>{"en"=>"findable-entry"}, "name"=>"Findable entry", :site_id=>"5295f13e247580e779000020", :content_type_slug=>"examples"}, "_keywords"=>["findable", "entry", "some", "stuff"]}} flags=[] (0.1211ms)
16437
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"5295f13e247580e779000020"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4492ms)
16438
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"_id"=>"5295f13e247580e779000025"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4840ms)
16439
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>"5295f13e247580e77900002a"} update={"$set"=>{"updated_at"=>2013-11-27 13:18:55 UTC}} flags=[] (0.1247ms)
16440
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f13e247580e779000025", "_original_id"=>"5295f13e247580e77900002a"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5131ms)
16441
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_models selector={"_id"=>"5295f13f247580e77900002b"} update={"$set"=>{"_stored"=>{:_slug=>{"en"=>"hidden"}, "name"=>"Hidden", :site_id=>"5295f13e247580e779000020", :content_type_slug=>"examples"}, "_keywords"=>["hidden", "not", "findable"]}} flags=[] (0.1132ms)
16442
+ Started GET "/en/" for 127.0.0.1 at 2013-11-27 14:18:55 +0100
16443
+ Started GET "/en" for 127.0.0.1 at 2013-11-27 14:18:55 +0100
16444
+ Processing by Locomotive::Public::PagesController#show as HTML
16445
+ Parameters: {"page_path"=>"index", "locale"=>"en"}
16446
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
16447
+ 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.5798ms)
16448
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000020", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7260ms)
16449
+ Rendered text template (0.0ms)
16450
+ Completed 200 OK in 5.2ms (Views: 0.5ms)
16451
+ Started GET "/en/search?search=stuff" for 127.0.0.1 at 2013-11-27 14:18:55 +0100
16452
+ Processing by Locomotive::Public::PagesController#show as HTML
16453
+ Parameters: {"search"=>"stuff", "locale"=>"en", "path"=>"search"}
16454
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
16455
+ 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.7010ms)
16456
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f13e247580e779000020", "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.6559ms)
16457
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"_stored.site_id"=>"5295f13e247580e779000020", "_keywords"=>{"$in"=>["stuff", "en:stuff"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4961ms)
16458
+ Rendered text template (0.0ms)
16459
+ Completed 200 OK in 6.4ms (Views: 0.5ms)
16460
+ 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.6361ms)
16461
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (0.6008ms)
16462
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (0.6862ms)
16463
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (0.6301ms)
16464
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"active_search_mongoid_models"} (0.5200ms)
16465
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (0.4480ms)
16466
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (0.4301ms)
16467
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8109ms)
16468
+ 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.5412ms)
16469
+ Creating scope :root. Overwriting existing method Locomotive::Page.root.
16470
+ 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.5469ms)
16471
+ 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.7527ms)
16472
+ 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.4227ms)
16473
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"5295f144247580a3e3000001", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"00af0c6edd1d0e7b486756570f2a9cc4b21274bf", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"DSzA4pSEA4jhSx7q9z2o", "api_key"=>"2adb8d91e65e0aedb6d791b2a3f348e1ea7c6d48", "updated_at"=>2013-11-27 13:19:00 UTC, "created_at"=>2013-11-27 13:19:00 UTC}] flags=[] (0.1402ms)
16474
+ 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.7553ms)
16475
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5295f144247580a3e3000002", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-11-27 13:19:00 UTC, "updated_at"=>2013-11-27 13:19:00 UTC, "memberships"=>[{"_id"=>"5295f144247580a3e3000003", "role"=>"admin", "account_id"=>"5295f144247580a3e3000001"}]}] flags=[] (0.2160ms)
16476
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f144247580a3e3000002", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.9439ms)
16477
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f144247580a3e3000002", "_id"=>{"$ne"=>"5295f144247580a3e3000004"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.3960ms)
16478
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f144247580a3e3000004", "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"=>"5295f144247580a3e3000002", "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"=>2013-11-27 13:19:00 UTC, "created_at"=>2013-11-27 13:19:00 UTC}] flags=[] (0.2928ms)
16479
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f144247580a3e3000004"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4668ms)
16480
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f144247580a3e3000002", "template_dependencies.en"=>{"$in"=>["5295f144247580a3e3000004"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3042ms)
16481
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f144247580a3e3000004"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1221ms)
16482
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f144247580a3e3000004"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5531ms)
16483
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f144247580a3e3000005", "_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"5295f144247580a3e3000002", :fullpath=>{"en"=>"index"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f144247580a3e3000004", "_keywords"=>["en:home", "en:page"]}] flags=[] (0.2179ms)
16484
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f144247580a3e3000002", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4842ms)
16485
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f144247580a3e3000002", "_id"=>{"$ne"=>"5295f144247580a3e3000006"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6502ms)
16486
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f144247580a3e3000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4539ms)
16487
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f144247580a3e3000006", "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"=>"5295f144247580a3e3000002", "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"=>2013-11-27 13:19:00 UTC, "created_at"=>2013-11-27 13:19:00 UTC}] flags=[] (0.1738ms)
16488
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f144247580a3e3000002", "template_dependencies.en"=>{"$in"=>["5295f144247580a3e3000006"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3238ms)
16489
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f144247580a3e3000006"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3099ms)
16490
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f144247580a3e3000006"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0970ms)
16491
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f144247580a3e3000002", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (1.0278ms)
16492
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5295f144247580a3e3000007", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5295f144247580a3e3000002", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5295f144247580a3e3000008", "updated_at"=>2013-11-27 13:19:00 UTC, "created_at"=>2013-11-27 13:19:00 UTC, "entries_custom_fields"=>[{"_id"=>"5295f144247580a3e3000008", "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.2580ms)
16493
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"5295f144247580a3e3000007"} update={"$push"=>{"entries_custom_fields"=>{"_id"=>"5295f144247580a3e3000009", "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", "updated_at"=>2013-11-27 13:19:00 UTC, "created_at"=>2013-11-27 13:19:00 UTC}}} flags=[] (0.2148ms)
16494
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f144247580a3e300000a"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f144247580a3e3000007"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.9887ms)
16495
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f144247580a3e3000007", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4637ms)
16496
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f144247580a3e3000007"]}}} (0.4070ms)
16497
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f144247580a3e300000a", "_position"=>0, "_visible"=>true, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f144247580a3e3000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f144247580a3e3000007", "content_type_id"=>"5295f144247580a3e3000007", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"5295f144247580a3e3000002", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:19:00 UTC, "created_at"=>2013-11-27 13:19:00 UTC}] flags=[] (0.1500ms)
16498
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f144247580a3e3000007", "_original_id"=>"5295f144247580a3e300000a"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5038ms)
16499
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f144247580a3e300000b", "_stored"=>{:_slug=>{"en"=>"findable-entry"}, "name"=>"Findable entry", :site_id=>"5295f144247580a3e3000002", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry5295f144247580a3e3000007", "_original_id"=>"5295f144247580a3e300000a", "_keywords"=>["findable", "entry"]}] flags=[] (0.1662ms)
16500
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f144247580a3e300000c"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f144247580a3e3000007"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5360ms)
16501
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f144247580a3e3000007", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4139ms)
16502
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f144247580a3e3000007"]}}} (0.4532ms)
16503
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f144247580a3e3000007"]}}} (0.2730ms)
16504
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f144247580a3e3000007"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.4392ms)
16505
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f144247580a3e300000c", "_position"=>1, "_visible"=>true, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f144247580a3e3000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f144247580a3e3000007", "content_type_id"=>"5295f144247580a3e3000007", "_slug"=>{"en"=>"hidden"}, "site_id"=>"5295f144247580a3e3000002", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:19:00 UTC, "created_at"=>2013-11-27 13:19:00 UTC}] flags=[] (0.1678ms)
16506
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f144247580a3e3000007", "_original_id"=>"5295f144247580a3e300000c"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4349ms)
16507
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f144247580a3e300000d", "_stored"=>{:_slug=>{"en"=>"hidden"}, "name"=>"Hidden", :site_id=>"5295f144247580a3e3000002", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry5295f144247580a3e3000007", "_original_id"=>"5295f144247580a3e300000c", "_keywords"=>["hidden"]}] flags=[] (0.1550ms)
16508
+ 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.7563ms)
16509
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f144247580a3e3000002", "parent_id"=>"5295f144247580a3e3000004", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4671ms)
16510
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f144247580a3e3000004", "site_id"=>"5295f144247580a3e3000002", "_id"=>{"$ne"=>"5295f144247580a3e300000e"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4358ms)
16511
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f144247580a3e3000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5722ms)
16512
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f144247580a3e300000e", "parent_ids"=>["5295f144247580a3e3000004"], "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"=>"5295f144247580a3e3000002", "parent_id"=>"5295f144247580a3e3000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:19:00 UTC, "created_at"=>2013-11-27 13:19:00 UTC}] flags=[] (0.1752ms)
16513
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f144247580a3e3000002", "template_dependencies.en"=>{"$in"=>["5295f144247580a3e300000e"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4070ms)
16514
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f144247580a3e300000e"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3610ms)
16515
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f144247580a3e300000e"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1459ms)
16516
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f144247580a3e300000e"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3130ms)
16517
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f144247580a3e300000f", "_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :site_id=>"5295f144247580a3e3000002", :fullpath=>{"en"=>"findable"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f144247580a3e300000e", "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}] flags=[] (0.2561ms)
16518
+ 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.6669ms)
16519
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f144247580a3e3000002", "parent_id"=>"5295f144247580a3e3000004", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4590ms)
16520
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f144247580a3e3000004", "site_id"=>"5295f144247580a3e3000002", "_id"=>{"$ne"=>"5295f144247580a3e3000010"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7041ms)
16521
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f144247580a3e3000004", "site_id"=>"5295f144247580a3e3000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4978ms)
16522
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f144247580a3e3000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5341ms)
16523
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f144247580a3e3000010", "parent_ids"=>["5295f144247580a3e3000004"], "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"=>"5295f144247580a3e3000002", "parent_id"=>"5295f144247580a3e3000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:19:00 UTC, "created_at"=>2013-11-27 13:19:00 UTC}] flags=[] (0.1891ms)
16524
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f144247580a3e3000002", "template_dependencies.en"=>{"$in"=>["5295f144247580a3e3000010"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4041ms)
16525
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f144247580a3e3000010"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3610ms)
16526
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f144247580a3e3000010"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1631ms)
16527
+ 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.5147ms)
16528
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f144247580a3e3000002", "parent_id"=>"5295f144247580a3e3000004", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5841ms)
16529
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f144247580a3e3000004", "site_id"=>"5295f144247580a3e3000002", "_id"=>{"$ne"=>"5295f144247580a3e3000011"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7548ms)
16530
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f144247580a3e3000004", "site_id"=>"5295f144247580a3e3000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5031ms)
16531
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f144247580a3e3000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4869ms)
16532
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f144247580a3e3000011", "parent_ids"=>["5295f144247580a3e3000004"], "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"=>"5295f144247580a3e3000002", "parent_id"=>"5295f144247580a3e3000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:19:00 UTC, "created_at"=>2013-11-27 13:19:00 UTC}] flags=[] (0.2360ms)
16533
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f144247580a3e3000002", "template_dependencies.en"=>{"$in"=>["5295f144247580a3e3000011"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3099ms)
16534
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f144247580a3e3000011"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3760ms)
16535
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f144247580a3e3000011"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1011ms)
16536
+ 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.5879ms)
16537
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f144247580a3e3000002", "parent_id"=>"5295f144247580a3e3000004", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4501ms)
16538
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f144247580a3e3000004", "site_id"=>"5295f144247580a3e3000002", "_id"=>{"$ne"=>"5295f144247580a3e3000012"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8619ms)
16539
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f144247580a3e3000004", "site_id"=>"5295f144247580a3e3000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4396ms)
16540
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f144247580a3e3000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5498ms)
16541
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f144247580a3e3000012", "parent_ids"=>["5295f144247580a3e3000004"], "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"=>" * Search results:\n <ul>\n {% for result in site.search %}\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"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"5295f144247580a3e3000002", "parent_id"=>"5295f144247580a3e3000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1072>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:19:00 UTC, "created_at"=>2013-11-27 13:19:00 UTC}] flags=[] (0.2019ms)
16542
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f144247580a3e3000002", "template_dependencies.en"=>{"$in"=>["5295f144247580a3e3000012"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3319ms)
16543
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f144247580a3e3000012"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3228ms)
16544
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f144247580a3e3000012"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0951ms)
16545
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f144247580a3e3000012"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3090ms)
16546
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f144247580a3e3000013", "_stored"=>{:title=>{"en"=>"search"}, :site_id=>"5295f144247580a3e3000002", :fullpath=>{"en"=>"search"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f144247580a3e3000012", "_keywords"=>["en:search"]}] flags=[] (0.1190ms)
16547
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f144247580a3e3000002", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5031ms)
16548
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"5295f144247580a3e3000002"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3977ms)
16549
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"5295f144247580a3e3000004"} 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"=>2013-11-27 13:19:00 UTC}} flags=[] (0.1547ms)
16550
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f144247580a3e3000002", "template_dependencies.en"=>{"$in"=>["5295f144247580a3e3000004"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4330ms)
16551
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f144247580a3e3000004"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4709ms)
16552
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_models selector={"_id"=>"5295f144247580a3e3000005"} update={"$set"=>{"_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"5295f144247580a3e3000002", :fullpath=>{"en"=>"index"}}}} flags=[] (0.1237ms)
16553
+ 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.5169ms)
16554
+ 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.3281ms)
16555
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5295f144247580a3e3000014", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-11-27 13:19:00 UTC, "updated_at"=>2013-11-27 13:19:00 UTC, "memberships"=>[{"_id"=>"5295f144247580a3e3000015", "role"=>"admin", "account_id"=>"5295f144247580a3e3000001"}]}] flags=[] (0.1521ms)
16556
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f144247580a3e3000014", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6180ms)
16557
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f144247580a3e3000014", "_id"=>{"$ne"=>"5295f144247580a3e3000016"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5293ms)
16558
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f144247580a3e3000016", "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"=>"5295f144247580a3e3000014", "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"=>2013-11-27 13:19:00 UTC, "created_at"=>2013-11-27 13:19:00 UTC}] flags=[] (0.3262ms)
16559
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f144247580a3e3000014", "template_dependencies.en"=>{"$in"=>["5295f144247580a3e3000016"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3970ms)
16560
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f144247580a3e3000016"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3848ms)
16561
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f144247580a3e3000016"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1259ms)
16562
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f144247580a3e3000016"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4120ms)
16563
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f144247580a3e3000017", "_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"5295f144247580a3e3000014", :fullpath=>{"en"=>"index"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f144247580a3e3000016", "_keywords"=>["en:home", "en:page"]}] flags=[] (0.1321ms)
16564
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f144247580a3e3000014", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5488ms)
16565
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f144247580a3e3000014", "_id"=>{"$ne"=>"5295f144247580a3e3000018"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8028ms)
16566
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f144247580a3e3000014"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5629ms)
16567
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f144247580a3e3000018", "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"=>"5295f144247580a3e3000014", "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"=>2013-11-27 13:19:00 UTC, "created_at"=>2013-11-27 13:19:00 UTC}] flags=[] (0.1740ms)
16568
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f144247580a3e3000014", "template_dependencies.en"=>{"$in"=>["5295f144247580a3e3000018"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3369ms)
16569
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f144247580a3e3000018"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3779ms)
16570
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f144247580a3e3000018"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1040ms)
16571
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f144247580a3e3000014", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5400ms)
16572
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f144247580a3e3000014", "_id"=>{"$ne"=>"5295f144247580a3e3000019"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.9780ms)
16573
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f144247580a3e3000014"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5169ms)
16574
+ 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.3068ms)
16575
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f144247580a3e3000019", "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"=>"5295f144247580a3e3000014", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:19:00 UTC, "created_at"=>2013-11-27 13:19:00 UTC}] flags=[] (0.2360ms)
16576
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f144247580a3e3000014", "template_dependencies.en"=>{"$in"=>["5295f144247580a3e3000019"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3719ms)
16577
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f144247580a3e3000019"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3972ms)
16578
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f144247580a3e3000019"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1211ms)
16579
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f144247580a3e3000019"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3450ms)
16580
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f144247580a3e300001a", "_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :site_id=>"5295f144247580a3e3000014", :fullpath=>{"en"=>"rickroll"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f144247580a3e3000019", "_keywords"=>["en:this", "en:should", "en:never", "en:show", "en:up", "en:in", "en:the", "en:search,", "en:even", "en:if", "en:it", "en:would", "en:be", "en:findable"]}] flags=[] (0.1559ms)
16581
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f144247580a3e3000014", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4122ms)
16582
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5295f144247580a3e300001b", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5295f144247580a3e3000014", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5295f144247580a3e300001c", "updated_at"=>2013-11-27 13:19:00 UTC, "created_at"=>2013-11-27 13:19:00 UTC, "entries_custom_fields"=>[{"_id"=>"5295f144247580a3e300001c", "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.1683ms)
16583
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f144247580a3e300001d"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f144247580a3e300001b"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5550ms)
16584
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f144247580a3e300001b", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4258ms)
16585
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f144247580a3e300001b"]}}} (0.4191ms)
16586
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f144247580a3e300001d", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f144247580a3e300001b", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f144247580a3e300001b", "content_type_id"=>"5295f144247580a3e300001b", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"5295f144247580a3e3000014", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:19:00 UTC, "created_at"=>2013-11-27 13:19:00 UTC}] flags=[] (0.1490ms)
16587
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f144247580a3e300001b", "_original_id"=>"5295f144247580a3e300001d"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5167ms)
16588
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f144247580a3e300001e", "_stored"=>{:_slug=>{"en"=>"not-findable-entry"}, "name"=>"NOT Findable entry", :site_id=>"5295f144247580a3e3000014", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry5295f144247580a3e300001b", "_original_id"=>"5295f144247580a3e300001d", "_keywords"=>["not", "findable", "entry"]}] flags=[] (0.2370ms)
16589
+ Started GET "/locomotive" for 127.0.0.1 at 2013-11-27 14:19:01 +0100
16590
+ Processing by Locomotive::SessionsController#new as HTML
16591
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
16592
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7849ms)
16593
+ 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.4528ms)
16594
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>{"$in"=>["5295f144247580a3e3000001"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4807ms)
16595
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/sessions/new.html.haml within /locomotive/layouts/not_logged_in (16.3ms)
16596
+ Completed 200 OK in 36.0ms (Views: 29.9ms)
16597
+ Started GET "/assets/locomotive/not_logged_in.js" for 127.0.0.1 at 2013-11-27 14:19:01 +0100
16598
+ Served asset /locomotive/not_logged_in.js - 200 OK (6ms)
16599
+ Started GET "/assets/locomotive/not_logged_in.css" for 127.0.0.1 at 2013-11-27 14:19:01 +0100
16600
+ Served asset /locomotive/not_logged_in.css - 200 OK (7ms)
16601
+ Started GET "/assets/locomotive/background/body.png" for 127.0.0.1 at 2013-11-27 14:19:02 +0100
16602
+ Served asset /locomotive/background/body.png - 200 OK (1ms)
16603
+ Started POST "/locomotive/sign_in" for 127.0.0.1 at 2013-11-27 14:19:02 +0100
16604
+ Processing by Locomotive::SessionsController#create as HTML
16605
+ Parameters: {"utf8"=>"✓", "locomotive_account"=>{"remember_me"=>"true", "email"=>"admin@locomotiveapp.org", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
16606
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
16607
+ 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.5891ms)
16608
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>{"$in"=>["5295f144247580a3e3000001"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4351ms)
16609
+ 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.6373ms)
16610
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>"5295f144247580a3e3000001"} update={"$set"=>{"remember_created_at"=>2013-11-27 13:19:02 UTC, "updated_at"=>2013-11-27 13:19:02 UTC}} flags=[] (0.1841ms)
16611
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>"5295f144247580a3e3000001"} update={"$set"=>{"last_sign_in_at"=>2013-11-27 13:19:02 UTC, "current_sign_in_at"=>2013-11-27 13:19:02 UTC, "last_sign_in_ip"=>"127.0.0.1", "current_sign_in_ip"=>"127.0.0.1", "sign_in_count"=>1, "updated_at"=>2013-11-27 13:19:02 UTC}} flags=[] (0.1609ms)
16612
+ Redirected to http://test.example.com:7171/locomotive/pages
16613
+ Completed 302 Found in 22.1ms
16614
+ Started GET "/locomotive/pages" for 127.0.0.1 at 2013-11-27 14:19:02 +0100
16615
+ Processing by Locomotive::PagesController#index as HTML
16616
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
16617
+ 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.7160ms)
16618
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>"5295f144247580a3e3000001"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4408ms)
16619
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>{"$in"=>["5295f144247580a3e3000001"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4261ms)
16620
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f144247580a3e3000002"}, "$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, "target_klass_name"=>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.6639ms)
16621
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f144247580a3e3000002"}, "$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, "target_klass_name"=>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.1709ms)
16622
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"5295f144247580a3e3000002"}, "$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.5670ms)
16623
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"5295f144247580a3e3000002"}, "$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.3901ms)
16624
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"5295f144247580a3e3000007"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (0.7050ms)
16625
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/menu/_contents.html.haml (25.7ms)
16626
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/actions/_contents.html.haml (2.2ms)
16627
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/_page.html.haml (4.5ms)
16628
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/_page.html.haml (12.3ms)
16629
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/index.html.haml within /locomotive/layouts/application (50.7ms)
16630
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_main_app_head_before_backbone.html.haml (0.8ms)
16631
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships"=>{"$elemMatch"=>{:account_id=>"5295f144247580a3e3000001", :role=>:admin}}}} (0.7572ms)
16632
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_main_app_head.html.haml (1.1ms)
16633
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_head.html.haml (13.1ms)
16634
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships.account_id"=>"5295f144247580a3e3000001"}} (0.6008ms)
16635
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/cells/locomotive/global_actions/show.html.haml (2.3ms)
16636
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"memberships.account_id"=>"5295f144247580a3e3000001"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6590ms)
16637
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_site_picker.html.haml (3.7ms)
16638
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_header.html.haml (23.3ms)
16639
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/cells/locomotive/main_menu/show.html.haml (2.5ms)
16640
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_footer.html.haml (1.1ms)
16641
+ Completed 200 OK in 127.4ms (Views: 108.8ms)
16642
+ Started GET "/assets/locomotive.css" for 127.0.0.1 at 2013-11-27 14:19:02 +0100
16643
+ Served asset /locomotive.css - 200 OK (33ms)
16644
+ Started GET "/assets/locomotive.js" for 127.0.0.1 at 2013-11-27 14:19:02 +0100
16645
+ Served asset /locomotive.js - 200 OK (115ms)
16646
+ Started GET "/assets/locomotive/list/item-left.png" for 127.0.0.1 at 2013-11-27 14:19:02 +0100
16647
+ Served asset /locomotive/list/item-left.png - 200 OK (1ms)
16648
+ Started GET "/assets/locomotive/plugins/sites_picker_top_arrow.png" for 127.0.0.1 at 2013-11-27 14:19:02 +0100
16649
+ Served asset /locomotive/plugins/sites_picker_top_arrow.png - 200 OK (1ms)
16650
+ Started GET "/assets/locomotive/nocoffee.png" for 127.0.0.1 at 2013-11-27 14:19:02 +0100
16651
+ Served asset /locomotive/nocoffee.png - 200 OK (1ms)
16652
+ Started GET "/locomotive/content_types/new" for 127.0.0.1 at 2013-11-27 14:19:02 +0100
16653
+ Processing by Locomotive::ContentTypesController#new as HTML
16654
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
16655
+ 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.6309ms)
16656
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>"5295f144247580a3e3000001"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6163ms)
16657
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>{"$in"=>["5295f144247580a3e3000001"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5231ms)
16658
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f144247580a3e3000002"}, "$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, "target_klass_name"=>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.5361ms)
16659
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"5295f144247580a3e3000002"}, "$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.6759ms)
16660
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"5295f144247580a3e3000002"}, "$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.5641ms)
16661
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"5295f144247580a3e3000007"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (0.7191ms)
16662
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/menu/_contents.html.haml (15.1ms)
16663
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/actions/_contents.html.haml (0.7ms)
16664
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f144247580a3e3000002"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7360ms)
16665
+ Rendered /Users/didier/Documents/LocomotiveCMS/gems/search/app/cells/locomotive/partials/searchable.html.haml (4.0ms)
16666
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/custom_fields/_select_templates.html.haml (2.6ms)
16667
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/custom_fields/_form.html.haml (54.2ms)
16668
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f144247580a3e3000002", "entries_custom_fields.type"=>{"$in"=>["belongs_to", "many_to_many"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4721ms)
16669
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/content_types/_form.html.haml (76.7ms)
16670
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_form_actions.html.haml (2.3ms)
16671
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/content_types/new.html.haml within /locomotive/layouts/application (101.9ms)
16672
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_main_app_head_before_backbone.html.haml (0.0ms)
16673
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships"=>{"$elemMatch"=>{:account_id=>"5295f144247580a3e3000001", :role=>:admin}}}} (0.6762ms)
16674
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_main_app_head.html.haml (0.1ms)
16675
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_head.html.haml (5.0ms)
16676
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships.account_id"=>"5295f144247580a3e3000001"}} (0.4663ms)
16677
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/cells/locomotive/global_actions/show.html.haml (0.7ms)
16678
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"memberships.account_id"=>"5295f144247580a3e3000001"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6199ms)
16679
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_site_picker.html.haml (1.8ms)
16680
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_header.html.haml (7.7ms)
16681
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/cells/locomotive/main_menu/show.html.haml (0.6ms)
16682
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_footer.html.haml (0.2ms)
16683
+ Completed 200 OK in 135.2ms (Views: 121.3ms)
16684
+ Started GET "/assets/locomotive/form/input-sep.png" for 127.0.0.1 at 2013-11-27 14:19:02 +0100
16685
+ Served asset /locomotive/form/input-sep.png - 200 OK (1ms)
16686
+ 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.6251ms)
16687
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (1.1411ms)
16688
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (1.4162ms)
16689
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (1.0691ms)
16690
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"active_search_mongoid_models"} (1.0188ms)
16691
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (0.8030ms)
16692
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (1.1871ms)
16693
+ 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.5269ms)
16694
+ 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.9251ms)
16695
+ 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.3819ms)
16696
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"5295f147247580a3e3000020", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"2f3f9fa3f57b1eee80a9de34e0e4e1441b0a4131", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"uepwyB25sbhf9qZybc28", "api_key"=>"8016ea931eb352c734ca0eac8d1cde14e9cb795e", "updated_at"=>2013-11-27 13:19:03 UTC, "created_at"=>2013-11-27 13:19:03 UTC}] flags=[] (0.2124ms)
16697
+ 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.6018ms)
16698
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5295f147247580a3e3000021", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-11-27 13:19:00 UTC, "updated_at"=>2013-11-27 13:19:03 UTC, "memberships"=>[{"_id"=>"5295f147247580a3e3000022", "role"=>"admin", "account_id"=>"5295f147247580a3e3000020"}]}] flags=[] (0.1960ms)
16699
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f147247580a3e3000021", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4930ms)
16700
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f147247580a3e3000021", "_id"=>{"$ne"=>"5295f147247580a3e3000023"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4189ms)
16701
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f147247580a3e3000023", "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"=>"5295f147247580a3e3000021", "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"=>2013-11-27 13:19:03 UTC, "created_at"=>2013-11-27 13:19:03 UTC}] flags=[] (0.1988ms)
16702
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f147247580a3e3000021", "template_dependencies.en"=>{"$in"=>["5295f147247580a3e3000023"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3462ms)
16703
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f147247580a3e3000023"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4549ms)
16704
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f147247580a3e3000023"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0980ms)
16705
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f147247580a3e3000023"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3150ms)
16706
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f147247580a3e3000024", "_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"5295f147247580a3e3000021", :fullpath=>{"en"=>"index"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f147247580a3e3000023", "_keywords"=>["en:home", "en:page"]}] flags=[] (0.1411ms)
16707
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f147247580a3e3000021", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5791ms)
16708
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f147247580a3e3000021", "_id"=>{"$ne"=>"5295f147247580a3e3000025"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7410ms)
16709
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f147247580a3e3000021"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4570ms)
16710
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f147247580a3e3000025", "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"=>"5295f147247580a3e3000021", "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"=>2013-11-27 13:19:03 UTC, "created_at"=>2013-11-27 13:19:03 UTC}] flags=[] (0.1950ms)
16711
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f147247580a3e3000021", "template_dependencies.en"=>{"$in"=>["5295f147247580a3e3000025"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3357ms)
16712
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f147247580a3e3000025"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3922ms)
16713
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f147247580a3e3000025"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1092ms)
16714
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f147247580a3e3000021", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5600ms)
16715
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5295f147247580a3e3000026", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5295f147247580a3e3000021", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5295f147247580a3e3000027", "updated_at"=>2013-11-27 13:19:03 UTC, "created_at"=>2013-11-27 13:19:03 UTC, "entries_custom_fields"=>[{"_id"=>"5295f147247580a3e3000027", "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.1991ms)
16716
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"5295f147247580a3e3000026"} update={"$push"=>{"entries_custom_fields"=>{"_id"=>"5295f147247580a3e3000028", "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", "updated_at"=>2013-11-27 13:19:03 UTC, "created_at"=>2013-11-27 13:19:03 UTC}}} flags=[] (0.2351ms)
16717
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f147247580a3e3000029"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f147247580a3e3000026"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4852ms)
16718
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f147247580a3e3000026", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4849ms)
16719
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f147247580a3e3000026"]}}} (0.6280ms)
16720
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f147247580a3e3000029", "_position"=>0, "_visible"=>true, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f147247580a3e3000026", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f147247580a3e3000026", "content_type_id"=>"5295f147247580a3e3000026", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"5295f147247580a3e3000021", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:19:03 UTC, "created_at"=>2013-11-27 13:19:03 UTC}] flags=[] (0.2542ms)
16721
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f147247580a3e3000026", "_original_id"=>"5295f147247580a3e3000029"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4911ms)
16722
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f147247580a3e300002a", "_stored"=>{:_slug=>{"en"=>"findable-entry"}, "name"=>"Findable entry", :site_id=>"5295f147247580a3e3000021", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry5295f147247580a3e3000026", "_original_id"=>"5295f147247580a3e3000029", "_keywords"=>["findable", "entry"]}] flags=[] (0.1826ms)
16723
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f147247580a3e300002b"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f147247580a3e3000026"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5629ms)
16724
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f147247580a3e3000026", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3569ms)
16725
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f147247580a3e3000026"]}}} (0.4311ms)
16726
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f147247580a3e3000026"]}}} (0.3169ms)
16727
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f147247580a3e3000026"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.4861ms)
16728
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f147247580a3e300002b", "_position"=>1, "_visible"=>true, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f147247580a3e3000026", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f147247580a3e3000026", "content_type_id"=>"5295f147247580a3e3000026", "_slug"=>{"en"=>"hidden"}, "site_id"=>"5295f147247580a3e3000021", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:19:03 UTC, "created_at"=>2013-11-27 13:19:03 UTC}] flags=[] (0.2949ms)
16729
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f147247580a3e3000026", "_original_id"=>"5295f147247580a3e300002b"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4539ms)
16730
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f147247580a3e300002c", "_stored"=>{:_slug=>{"en"=>"hidden"}, "name"=>"Hidden", :site_id=>"5295f147247580a3e3000021", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry5295f147247580a3e3000026", "_original_id"=>"5295f147247580a3e300002b", "_keywords"=>["hidden"]}] flags=[] (0.1328ms)
16731
+ 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.5910ms)
16732
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f147247580a3e3000021", "parent_id"=>"5295f147247580a3e3000023", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5000ms)
16733
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f147247580a3e3000023", "site_id"=>"5295f147247580a3e3000021", "_id"=>{"$ne"=>"5295f147247580a3e300002d"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4320ms)
16734
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f147247580a3e3000023"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6289ms)
16735
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f147247580a3e300002d", "parent_ids"=>["5295f147247580a3e3000023"], "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"=>"5295f147247580a3e3000021", "parent_id"=>"5295f147247580a3e3000023", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:19:03 UTC, "created_at"=>2013-11-27 13:19:03 UTC}] flags=[] (0.2091ms)
16736
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f147247580a3e3000021", "template_dependencies.en"=>{"$in"=>["5295f147247580a3e300002d"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3109ms)
16737
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f147247580a3e300002d"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3800ms)
16738
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f147247580a3e300002d"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1061ms)
16739
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f147247580a3e300002d"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.2952ms)
16740
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f147247580a3e300002e", "_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :site_id=>"5295f147247580a3e3000021", :fullpath=>{"en"=>"findable"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f147247580a3e300002d", "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}] flags=[] (0.1349ms)
16741
+ 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.5651ms)
16742
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f147247580a3e3000021", "parent_id"=>"5295f147247580a3e3000023", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5212ms)
16743
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f147247580a3e3000023", "site_id"=>"5295f147247580a3e3000021", "_id"=>{"$ne"=>"5295f147247580a3e300002f"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8478ms)
16744
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f147247580a3e3000023", "site_id"=>"5295f147247580a3e3000021"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5262ms)
16745
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f147247580a3e3000023"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4759ms)
16746
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f147247580a3e300002f", "parent_ids"=>["5295f147247580a3e3000023"], "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"=>"5295f147247580a3e3000021", "parent_id"=>"5295f147247580a3e3000023", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:19:03 UTC, "created_at"=>2013-11-27 13:19:03 UTC}] flags=[] (0.1998ms)
16747
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f147247580a3e3000021", "template_dependencies.en"=>{"$in"=>["5295f147247580a3e300002f"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4182ms)
16748
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f147247580a3e300002f"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3610ms)
16749
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f147247580a3e300002f"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1101ms)
16750
+ 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.5610ms)
16751
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f147247580a3e3000021", "parent_id"=>"5295f147247580a3e3000023", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4399ms)
16752
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f147247580a3e3000023", "site_id"=>"5295f147247580a3e3000021", "_id"=>{"$ne"=>"5295f147247580a3e3000030"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7753ms)
16753
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f147247580a3e3000023", "site_id"=>"5295f147247580a3e3000021"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5419ms)
16754
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f147247580a3e3000023"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5438ms)
16755
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f147247580a3e3000030", "parent_ids"=>["5295f147247580a3e3000023"], "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"=>"5295f147247580a3e3000021", "parent_id"=>"5295f147247580a3e3000023", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:19:03 UTC, "created_at"=>2013-11-27 13:19:03 UTC}] flags=[] (0.2699ms)
16756
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f147247580a3e3000021", "template_dependencies.en"=>{"$in"=>["5295f147247580a3e3000030"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3319ms)
16757
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f147247580a3e3000030"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3910ms)
16758
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f147247580a3e3000030"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1032ms)
16759
+ 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.5250ms)
16760
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f147247580a3e3000021", "parent_id"=>"5295f147247580a3e3000023", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5100ms)
16761
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f147247580a3e3000023", "site_id"=>"5295f147247580a3e3000021", "_id"=>{"$ne"=>"5295f147247580a3e3000031"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (1.0319ms)
16762
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f147247580a3e3000023", "site_id"=>"5295f147247580a3e3000021"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7937ms)
16763
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"5295f147247580a3e3000023"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6001ms)
16764
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f147247580a3e3000031", "parent_ids"=>["5295f147247580a3e3000023"], "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"=>" * Search results:\n <ul>\n {% for result in site.search %}\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"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"5295f147247580a3e3000021", "parent_id"=>"5295f147247580a3e3000023", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1072>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:19:03 UTC, "created_at"=>2013-11-27 13:19:03 UTC}] flags=[] (0.2320ms)
16765
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f147247580a3e3000021", "template_dependencies.en"=>{"$in"=>["5295f147247580a3e3000031"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3471ms)
16766
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f147247580a3e3000031"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4468ms)
16767
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f147247580a3e3000031"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1020ms)
16768
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f147247580a3e3000031"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3779ms)
16769
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f147247580a3e3000032", "_stored"=>{:title=>{"en"=>"search"}, :site_id=>"5295f147247580a3e3000021", :fullpath=>{"en"=>"search"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f147247580a3e3000031", "_keywords"=>["en:search"]}] flags=[] (0.1330ms)
16770
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f147247580a3e3000021", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5720ms)
16771
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"5295f147247580a3e3000021"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4108ms)
16772
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"5295f147247580a3e3000023"} 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"=>2013-11-27 13:19:03 UTC}} flags=[] (0.1700ms)
16773
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f147247580a3e3000021", "template_dependencies.en"=>{"$in"=>["5295f147247580a3e3000023"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4051ms)
16774
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f147247580a3e3000023"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7231ms)
16775
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_models selector={"_id"=>"5295f147247580a3e3000024"} update={"$set"=>{"_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"5295f147247580a3e3000021", :fullpath=>{"en"=>"index"}}}} flags=[] (0.1450ms)
16776
+ 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.5119ms)
16777
+ 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.3819ms)
16778
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"5295f147247580a3e3000033", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-11-27 13:19:00 UTC, "updated_at"=>2013-11-27 13:19:03 UTC, "memberships"=>[{"_id"=>"5295f147247580a3e3000034", "role"=>"admin", "account_id"=>"5295f147247580a3e3000020"}]}] flags=[] (0.2038ms)
16779
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f147247580a3e3000033", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5548ms)
16780
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f147247580a3e3000033", "_id"=>{"$ne"=>"5295f147247580a3e3000035"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5441ms)
16781
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f147247580a3e3000035", "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"=>"5295f147247580a3e3000033", "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"=>2013-11-27 13:19:03 UTC, "created_at"=>2013-11-27 13:19:03 UTC}] flags=[] (0.3760ms)
16782
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f147247580a3e3000033", "template_dependencies.en"=>{"$in"=>["5295f147247580a3e3000035"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3469ms)
16783
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f147247580a3e3000035"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3772ms)
16784
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f147247580a3e3000035"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1149ms)
16785
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f147247580a3e3000035"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4358ms)
16786
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f147247580a3e3000036", "_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"5295f147247580a3e3000033", :fullpath=>{"en"=>"index"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f147247580a3e3000035", "_keywords"=>["en:home", "en:page"]}] flags=[] (0.1490ms)
16787
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f147247580a3e3000033", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5300ms)
16788
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f147247580a3e3000033", "_id"=>{"$ne"=>"5295f147247580a3e3000037"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6549ms)
16789
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f147247580a3e3000033"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4420ms)
16790
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f147247580a3e3000037", "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"=>"5295f147247580a3e3000033", "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"=>2013-11-27 13:19:03 UTC, "created_at"=>2013-11-27 13:19:03 UTC}] flags=[] (0.2029ms)
16791
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f147247580a3e3000033", "template_dependencies.en"=>{"$in"=>["5295f147247580a3e3000037"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3979ms)
16792
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f147247580a3e3000037"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4818ms)
16793
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f147247580a3e3000037"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1051ms)
16794
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"5295f147247580a3e3000033", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.9799ms)
16795
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f147247580a3e3000033", "_id"=>{"$ne"=>"5295f147247580a3e3000038"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (1.2252ms)
16796
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"5295f147247580a3e3000033"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7331ms)
16797
+ 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.3259ms)
16798
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"5295f147247580a3e3000038", "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"=>"5295f147247580a3e3000033", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2013-11-27 13:19:03 UTC, "created_at"=>2013-11-27 13:19:03 UTC}] flags=[] (0.3531ms)
16799
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f147247580a3e3000033", "template_dependencies.en"=>{"$in"=>["5295f147247580a3e3000038"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6258ms)
16800
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"5295f147247580a3e3000038"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5019ms)
16801
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["5295f147247580a3e3000038"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.2639ms)
16802
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"5295f147247580a3e3000038"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4950ms)
16803
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f147247580a3e3000039", "_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :site_id=>"5295f147247580a3e3000033", :fullpath=>{"en"=>"rickroll"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"5295f147247580a3e3000038", "_keywords"=>["en:this", "en:should", "en:never", "en:show", "en:up", "en:in", "en:the", "en:search,", "en:even", "en:if", "en:it", "en:would", "en:be", "en:findable"]}] flags=[] (0.2120ms)
16804
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f147247580a3e3000033", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5560ms)
16805
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"5295f147247580a3e300003a", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"5295f147247580a3e3000033", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"5295f147247580a3e300003b", "updated_at"=>2013-11-27 13:19:03 UTC, "created_at"=>2013-11-27 13:19:03 UTC, "entries_custom_fields"=>[{"_id"=>"5295f147247580a3e300003b", "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.2151ms)
16806
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"5295f147247580a3e300003c"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry5295f147247580a3e300003a"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5510ms)
16807
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"5295f147247580a3e300003a", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5381ms)
16808
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry5295f147247580a3e300003a"]}}} (0.5088ms)
16809
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"5295f147247580a3e300003c", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5295f147247580a3e300003a", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry5295f147247580a3e300003a", "content_type_id"=>"5295f147247580a3e300003a", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"5295f147247580a3e3000033", "_label_field_name"=>"name", "updated_at"=>2013-11-27 13:19:03 UTC, "created_at"=>2013-11-27 13:19:03 UTC}] flags=[] (0.2198ms)
16810
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry5295f147247580a3e300003a", "_original_id"=>"5295f147247580a3e300003c"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4218ms)
16811
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"5295f147247580a3e300003d", "_stored"=>{:_slug=>{"en"=>"not-findable-entry"}, "name"=>"NOT Findable entry", :site_id=>"5295f147247580a3e3000033", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry5295f147247580a3e300003a", "_original_id"=>"5295f147247580a3e300003c", "_keywords"=>["not", "findable", "entry"]}] flags=[] (0.2418ms)
16812
+ Started GET "/locomotive" for 127.0.0.1 at 2013-11-27 14:19:03 +0100
16813
+ Processing by Locomotive::SessionsController#new as HTML
16814
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
16815
+ 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.7617ms)
16816
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>{"$in"=>["5295f147247580a3e3000020"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5400ms)
16817
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/sessions/new.html.haml within /locomotive/layouts/not_logged_in (7.4ms)
16818
+ Completed 200 OK in 14.4ms (Views: 10.1ms)
16819
+ Started POST "/locomotive/sign_in" for 127.0.0.1 at 2013-11-27 14:19:03 +0100
16820
+ Processing by Locomotive::SessionsController#create as HTML
16821
+ Parameters: {"utf8"=>"✓", "locomotive_account"=>{"remember_me"=>"true", "email"=>"admin@locomotiveapp.org", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
16822
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
16823
+ 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.6642ms)
16824
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>{"$in"=>["5295f147247580a3e3000020"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5872ms)
16825
+ 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.6211ms)
16826
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>"5295f147247580a3e3000020"} update={"$set"=>{"remember_created_at"=>2013-11-27 13:19:03 UTC, "updated_at"=>2013-11-27 13:19:03 UTC}} flags=[] (0.1788ms)
16827
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>"5295f147247580a3e3000020"} update={"$set"=>{"last_sign_in_at"=>2013-11-27 13:19:03 UTC, "current_sign_in_at"=>2013-11-27 13:19:03 UTC, "last_sign_in_ip"=>"127.0.0.1", "current_sign_in_ip"=>"127.0.0.1", "sign_in_count"=>1, "updated_at"=>2013-11-27 13:19:03 UTC}} flags=[] (0.2418ms)
16828
+ Redirected to http://test.example.com:7171/locomotive/pages
16829
+ Completed 302 Found in 12.6ms
16830
+ Started GET "/locomotive/pages" for 127.0.0.1 at 2013-11-27 14:19:03 +0100
16831
+ Processing by Locomotive::PagesController#index as HTML
16832
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
16833
+ 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.6430ms)
16834
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>"5295f147247580a3e3000020"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4339ms)
16835
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>{"$in"=>["5295f147247580a3e3000020"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6399ms)
16836
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f147247580a3e3000021"}, "$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, "target_klass_name"=>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} (2.7759ms)
16837
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f147247580a3e3000021"}, "$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, "target_klass_name"=>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.7118ms)
16838
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"5295f147247580a3e3000021"}, "$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.7360ms)
16839
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"5295f147247580a3e3000021"}, "$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.7510ms)
16840
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"5295f147247580a3e3000026"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (1.5671ms)
16841
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/menu/_contents.html.haml (25.1ms)
16842
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/actions/_contents.html.haml (0.9ms)
16843
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/_page.html.haml (6.2ms)
16844
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/_page.html.haml (10.0ms)
16845
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/index.html.haml within /locomotive/layouts/application (38.8ms)
16846
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_main_app_head_before_backbone.html.haml (0.1ms)
16847
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships"=>{"$elemMatch"=>{:account_id=>"5295f147247580a3e3000020", :role=>:admin}}}} (0.6740ms)
16848
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_main_app_head.html.haml (0.1ms)
16849
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_head.html.haml (6.7ms)
16850
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships.account_id"=>"5295f147247580a3e3000020"}} (0.4961ms)
16851
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/cells/locomotive/global_actions/show.html.haml (0.9ms)
16852
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"memberships.account_id"=>"5295f147247580a3e3000020"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7370ms)
16853
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_site_picker.html.haml (69.6ms)
16854
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_header.html.haml (77.8ms)
16855
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/cells/locomotive/main_menu/show.html.haml (1.0ms)
16856
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_footer.html.haml (0.4ms)
16857
+ Completed 200 OK in 161.2ms (Views: 131.5ms)
16858
+ Started GET "/locomotive/pages/new" for 127.0.0.1 at 2013-11-27 14:19:03 +0100
16859
+ Processing by Locomotive::PagesController#new as HTML
16860
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
16861
+ 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.7858ms)
16862
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>"5295f147247580a3e3000020"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5739ms)
16863
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>{"$in"=>["5295f147247580a3e3000020"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7312ms)
16864
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f147247580a3e3000021"}, "$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, "target_klass_name"=>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.3583ms)
16865
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"5295f147247580a3e3000021"}, "$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.7250ms)
16866
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"5295f147247580a3e3000021"}, "$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.4900ms)
16867
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"5295f147247580a3e3000026"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (1.2093ms)
16868
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/menu/_contents.html.haml (17.5ms)
16869
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/actions/_contents.html.haml (0.6ms)
16870
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/content_assets/_picker.html.haml (8.0ms)
16871
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/theme_assets/_picker.html.haml (4.5ms)
16872
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/_editable_elements.html.haml (5.3ms)
16873
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"5295f147247580a3e3000021"}, "$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, "target_klass_name"=>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.3063ms)
16874
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"5295f147247580a3e3000021"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7460ms)
16875
+ Rendered /Users/didier/Documents/LocomotiveCMS/gems/search/app/cells/locomotive/partials/searchable.html.haml (3.2ms)
16876
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/_form.html.haml (102.4ms)
16877
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_form_actions.html.haml (0.3ms)
16878
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/new.html.haml within /locomotive/layouts/application (129.5ms)
16879
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_main_app_head_before_backbone.html.haml (0.0ms)
16880
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships"=>{"$elemMatch"=>{:account_id=>"5295f147247580a3e3000020", :role=>:admin}}}} (0.5350ms)
16881
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_main_app_head.html.haml (0.0ms)
16882
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_head.html.haml (4.5ms)
16883
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships.account_id"=>"5295f147247580a3e3000020"}} (0.4232ms)
16884
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/cells/locomotive/global_actions/show.html.haml (0.7ms)
16885
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"memberships.account_id"=>"5295f147247580a3e3000020"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5150ms)
16886
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_site_picker.html.haml (1.7ms)
16887
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_header.html.haml (5.7ms)
16888
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/cells/locomotive/main_menu/show.html.haml (0.6ms)
16889
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_footer.html.haml (0.2ms)
16890
+ Completed 200 OK in 165.6ms (Views: 146.4ms)
16891
+ Started GET "/assets/locomotive/jquery/images/ui-icons_222222_256x240.png" for 127.0.0.1 at 2013-11-27 14:19:04 +0100
16892
+ Served asset /locomotive/jquery/images/ui-icons_222222_256x240.png - 200 OK (2ms)
16893
+ 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.6888ms)
16894
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (1.3697ms)
16895
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (1.2920ms)
16896
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (1.2691ms)
16897
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"active_search_mongoid_models"} (0.8602ms)
16898
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (0.8328ms)
16899
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (0.8318ms)