MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('515bf259c82cd1765c000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"v7o4FuNqxTMTH4TgSuzy", "encrypted_password"=>"9748e0dfe61894ded1ae185830416ff6d5917aea", "updated_at"=>2013-04-03 09:11:53 UTC, "created_at"=>2013-04-03 09:11:53 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-03 09:11:52 UTC, "updated_at"=>2013-04-03 09:11:53 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('515bf259c82cd1765c000003'), "account_id"=>BSON::ObjectId('515bf259c82cd1765c000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :_id=>{"$ne"=>BSON::ObjectId('515bf259c82cd1765c000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515bf259c82cd1765c000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-03 09:11:53 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-03 09:11:53 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515bf259c82cd1765c000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515bf259c82cd1765c000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515bf259c82cd1765c000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515bf259c82cd1765c000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('515bf259c82cd1765c000001')}, "_id"=>BSON::ObjectId('515bf259c82cd1765c000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515bf259c82cd1765c000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :_id=>{"$ne"=>BSON::ObjectId('515bf259c82cd1765c000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :_id=>{"$ne"=>BSON::ObjectId('515bf259c82cd1765c000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :_id=>{"$ne"=>BSON::ObjectId('515bf259c82cd1765c000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515bf259c82cd1765c000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-03 09:11:53 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-03 09:11:53 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515bf259c82cd1765c000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515bf259c82cd1765c000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515bf259c82cd1765c000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('515bf259c82cd1765c000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('515bf259c82cd1765c000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-03 09:11:54 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('515bf259c82cd1765c000008'), "created_at"=>2013-04-03 09:11:54 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('515bf259c82cd1765c000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-03 09:11:54 UTC, "created_at"=>2013-04-03 09:11:54 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('515bf259c82cd1765c000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('515bf25ac82cd1765c000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-03 09:11:54 UTC, "created_at"=>2013-04-03 09:11:54 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c00000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry515bf259c82cd1765c000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('515bf259c82cd1765c000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry515bf259c82cd1765c000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('515bf25ac82cd1765c00000a'), "_type"=>"Locomotive::ContentEntry515bf259c82cd1765c000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry515bf259c82cd1765c000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('515bf259c82cd1765c000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-03 09:11:54 UTC, "site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "_label_field_name"=>"name", "created_at"=>2013-04-03 09:11:54 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry515bf259c82cd1765c000007", :_original_id=>BSON::ObjectId('515bf25ac82cd1765c00000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('515bf25ac82cd1765c00000b'), "_original_type"=>"Locomotive::ContentEntry515bf259c82cd1765c000007", "_original_id"=>BSON::ObjectId('515bf25ac82cd1765c00000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c00000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry515bf259c82cd1765c000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('515bf259c82cd1765c000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry515bf259c82cd1765c000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('515bf25ac82cd1765c00000c'), "_type"=>"Locomotive::ContentEntry515bf259c82cd1765c000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry515bf259c82cd1765c000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('515bf259c82cd1765c000007'), "_slug"=>"hidden", "updated_at"=>2013-04-03 09:11:54 UTC, "site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "_label_field_name"=>"name", "created_at"=>2013-04-03 09:11:54 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry515bf259c82cd1765c000007", :_original_id=>BSON::ObjectId('515bf25ac82cd1765c00000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('515bf25ac82cd1765c00000d'), "_original_type"=>"Locomotive::ContentEntry515bf259c82cd1765c000007", "_original_id"=>BSON::ObjectId('515bf25ac82cd1765c00000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :parent_id=>BSON::ObjectId('515bf259c82cd1765c000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('515bf259c82cd1765c000004'), :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c00000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('515bf259c82cd1765c000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('515bf259c82cd1765c000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515bf25ac82cd1765c00000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "parent_id"=>BSON::ObjectId('515bf259c82cd1765c000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-03 09:11:54 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-03 09:11:54 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515bf25ac82cd1765c00000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515bf25ac82cd1765c00000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515bf25ac82cd1765c00000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515bf25ac82cd1765c00000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('515bf259c82cd1765c000001')}, "_id"=>BSON::ObjectId('515bf25ac82cd1765c00000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515bf25ac82cd1765c00000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :parent_id=>BSON::ObjectId('515bf259c82cd1765c000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('515bf259c82cd1765c000004'), :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('515bf259c82cd1765c000004'), :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('515bf259c82cd1765c000004'), :site_id=>BSON::ObjectId('515bf259c82cd1765c000001'), :_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('515bf259c82cd1765c000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('515bf259c82cd1765c000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515bf25ac82cd1765c000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "parent_id"=>BSON::ObjectId('515bf259c82cd1765c000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-03 09:11:54 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-03 09:11:54 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515bf25ac82cd1765c000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515bf25ac82cd1765c000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515bf25ac82cd1765c000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515bf25ac82cd1765c000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('515bf259c82cd1765c000001')}, "_id"=>BSON::ObjectId('515bf25ac82cd1765c000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515bf25ac82cd1765c000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('515bf259c82cd1765c000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('515bf259c82cd1765c000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-03 09:11:54 UTC}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515bf259c82cd1765c000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515bf259c82cd1765c000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('515bf259c82cd1765c000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('515bf259c82cd1765c000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('515bf25ac82cd1765c000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-03 09:11:52 UTC, "updated_at"=>2013-04-03 09:11:54 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('515bf25ac82cd1765c000013'), "account_id"=>BSON::ObjectId('515bf259c82cd1765c000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('515bf25ac82cd1765c000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515bf25ac82cd1765c000012'), :_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515bf25ac82cd1765c000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('515bf25ac82cd1765c000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-03 09:11:54 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-03 09:11:54 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf25ac82cd1765c000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515bf25ac82cd1765c000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515bf25ac82cd1765c000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515bf25ac82cd1765c000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515bf25ac82cd1765c000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('515bf25ac82cd1765c000012')}, "_id"=>BSON::ObjectId('515bf25ac82cd1765c000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515bf25ac82cd1765c000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('515bf25ac82cd1765c000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515bf25ac82cd1765c000012'), :_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515bf25ac82cd1765c000012'), :_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('515bf25ac82cd1765c000012'), :_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515bf25ac82cd1765c000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('515bf25ac82cd1765c000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-03 09:11:54 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-03 09:11:54 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf25ac82cd1765c000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515bf25ac82cd1765c000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515bf25ac82cd1765c000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515bf25ac82cd1765c000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('515bf25ac82cd1765c000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515bf25ac82cd1765c000012'), :_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515bf25ac82cd1765c000012'), :_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('515bf25ac82cd1765c000012'), :_id=>{"$ne"=>BSON::ObjectId('515bf25ac82cd1765c000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515bf25ac82cd1765c000017'), "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"=>BSON::ObjectId('515bf25ac82cd1765c000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-03 09:11:54 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-03 09:11:54 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf25ac82cd1765c000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515bf25ac82cd1765c000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515bf25ac82cd1765c000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515bf25ac82cd1765c000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515bf25ac82cd1765c000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('515bf25ac82cd1765c000012')}, "_id"=>BSON::ObjectId('515bf25ac82cd1765c000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515bf25ac82cd1765c000017'), "_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"]}]) Started GET "/" for 127.0.0.1 at 2013-04-03 11:11:54 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 99ms (Views: 92.8ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-03 11:11:54 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_keywords=>{"$in"=>["findable", "en:findable"]}, "_stored.site_id"=>BSON::ObjectId('515bf259c82cd1765c000001')}) Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 0.6ms) Started GET "/findable" for 127.0.0.1 at 2013-04-03 11:11:54 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"path"=>"findable"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), :depth=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 6ms (Views: 0.6ms) Started GET "/" for 127.0.0.1 at 2013-04-03 11:11:54 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.4ms) Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-04-03 11:11:54 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515bf259c82cd1765c000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_keywords=>{"$in"=>["not", "found", "en:not", "en:found"]}, "_stored.site_id"=>BSON::ObjectId('515bf259c82cd1765c000001')}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.4ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"Y1zAd1zQp7vZksLPbfT7", "encrypted_password"=>"92e32352e9d789c4450954709ec60b6996c02a7c", "updated_at"=>2013-04-04 08:31:24 UTC, "created_at"=>2013-04-04 08:31:24 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-04 08:31:23 UTC, "updated_at"=>2013-04-04 08:31:24 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000003'), "account_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5cc82cd1b6c8000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:31:24 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-04 08:31:24 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3a5cc82cd1b6c8000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3a5cc82cd1b6c8000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001')}, "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5cc82cd1b6c8000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5cc82cd1b6c8000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5cc82cd1b6c8000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:31:24 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-04 08:31:24 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3a5cc82cd1b6c8000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3a5cc82cd1b6c8000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-04 08:31:24 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000008'), "created_at"=>2013-04-04 08:31:24 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-04 08:31:24 UTC, "created_at"=>2013-04-04 08:31:24 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-04 08:31:24 UTC, "created_at"=>2013-04-04 08:31:24 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('515d3a5cc82cd1b6c800000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry515d3a5cc82cd1b6c8000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry515d3a5cc82cd1b6c8000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c800000a'), "_type"=>"Locomotive::ContentEntry515d3a5cc82cd1b6c8000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry515d3a5cc82cd1b6c8000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-04 08:31:24 UTC, "site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "_label_field_name"=>"name", "created_at"=>2013-04-04 08:31:24 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry515d3a5cc82cd1b6c8000007", :_original_id=>BSON::ObjectId('515d3a5cc82cd1b6c800000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c800000b'), "_original_type"=>"Locomotive::ContentEntry515d3a5cc82cd1b6c8000007", "_original_id"=>BSON::ObjectId('515d3a5cc82cd1b6c800000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('515d3a5cc82cd1b6c800000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry515d3a5cc82cd1b6c8000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry515d3a5cc82cd1b6c8000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c800000c'), "_type"=>"Locomotive::ContentEntry515d3a5cc82cd1b6c8000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry515d3a5cc82cd1b6c8000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000007'), "_slug"=>"hidden", "updated_at"=>2013-04-04 08:31:24 UTC, "site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "_label_field_name"=>"name", "created_at"=>2013-04-04 08:31:24 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry515d3a5cc82cd1b6c8000007", :_original_id=>BSON::ObjectId('515d3a5cc82cd1b6c800000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c800000d'), "_original_type"=>"Locomotive::ContentEntry515d3a5cc82cd1b6c8000007", "_original_id"=>BSON::ObjectId('515d3a5cc82cd1b6c800000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :parent_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000004'), :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5cc82cd1b6c800000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('515d3a5cc82cd1b6c8000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('515d3a5cc82cd1b6c8000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3a5cc82cd1b6c800000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "parent_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-04 08:31:25 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-04 08:31:25 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3a5cc82cd1b6c800000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3a5cc82cd1b6c800000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3a5cc82cd1b6c800000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3a5cc82cd1b6c800000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001')}, "_id"=>BSON::ObjectId('515d3a5dc82cd1b6c800000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3a5cc82cd1b6c800000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :parent_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000004'), :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5dc82cd1b6c8000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000004'), :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5dc82cd1b6c8000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000004'), :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5dc82cd1b6c8000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('515d3a5cc82cd1b6c8000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('515d3a5cc82cd1b6c8000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "parent_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-04 08:31:25 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-04 08:31:25 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3a5dc82cd1b6c8000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3a5dc82cd1b6c8000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001')}, "_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:31:25 UTC}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3a5cc82cd1b6c8000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3a5cc82cd1b6c8000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-04 08:31:23 UTC, "updated_at"=>2013-04-04 08:31:25 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000013'), "account_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5dc82cd1b6c8000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:31:25 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-04 08:31:25 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3a5dc82cd1b6c8000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3a5dc82cd1b6c8000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000012')}, "_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5dc82cd1b6c8000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5dc82cd1b6c8000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5dc82cd1b6c8000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:31:25 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-04 08:31:25 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3a5dc82cd1b6c8000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3a5dc82cd1b6c8000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5dc82cd1b6c8000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5dc82cd1b6c8000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3a5dc82cd1b6c8000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000017'), "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"=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:31:25 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-04 08:31:25 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3a5dc82cd1b6c8000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3a5dc82cd1b6c8000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('515d3a5dc82cd1b6c8000012')}, "_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3a5dc82cd1b6c8000017'), "_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"]}]) Started GET "/" for 127.0.0.1 at 2013-04-04 10:31:25 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 76ms (Views: 70.8ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-04 10:31:25 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_keywords=>{"$in"=>["findable", "en:findable"]}, "_stored.site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001')}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.4ms) Started GET "/findable" for 127.0.0.1 at 2013-04-04 10:31:25 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"path"=>"findable"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :depth=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.4ms) Started GET "/" for 127.0.0.1 at 2013-04-04 10:31:25 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.2ms) Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-04-04 10:31:25 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_keywords=>{"$in"=>["not", "found", "en:not", "en:found"]}, "_stored.site_id"=>BSON::ObjectId('515d3a5cc82cd1b6c8000001')}) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"hNszfFmMhxnEq92YsrtV", "encrypted_password"=>"c84a9b7e86de325650c5c82bb826fc7dbf4a2a19", "updated_at"=>2013-04-04 08:33:51 UTC, "created_at"=>2013-04-04 08:33:51 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-04 08:33:51 UTC, "updated_at"=>2013-04-04 08:33:51 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000003'), "account_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3aefc82cd1b6ff000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:33:51 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-04 08:33:51 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3aefc82cd1b6ff000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3aefc82cd1b6ff000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3aefc82cd1b6ff000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001')}, "_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3aefc82cd1b6ff000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3aefc82cd1b6ff000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3aefc82cd1b6ff000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:33:51 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-04 08:33:51 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3aefc82cd1b6ff000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3aefc82cd1b6ff000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-04 08:33:52 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000008'), "created_at"=>2013-04-04 08:33:52 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-04 08:33:52 UTC, "created_at"=>2013-04-04 08:33:52 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-04 08:33:52 UTC, "created_at"=>2013-04-04 08:33:52 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff00000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry515d3aefc82cd1b6ff000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('515d3aefc82cd1b6ff000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry515d3aefc82cd1b6ff000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff00000a'), "_type"=>"Locomotive::ContentEntry515d3aefc82cd1b6ff000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry515d3aefc82cd1b6ff000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-04 08:33:52 UTC, "site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "_label_field_name"=>"name", "created_at"=>2013-04-04 08:33:52 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry515d3aefc82cd1b6ff000007", :_original_id=>BSON::ObjectId('515d3af0c82cd1b6ff00000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff00000b'), "_original_type"=>"Locomotive::ContentEntry515d3aefc82cd1b6ff000007", "_original_id"=>BSON::ObjectId('515d3af0c82cd1b6ff00000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff00000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry515d3aefc82cd1b6ff000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('515d3aefc82cd1b6ff000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry515d3aefc82cd1b6ff000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff00000c'), "_type"=>"Locomotive::ContentEntry515d3aefc82cd1b6ff000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry515d3aefc82cd1b6ff000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000007'), "_slug"=>"hidden", "updated_at"=>2013-04-04 08:33:52 UTC, "site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "_label_field_name"=>"name", "created_at"=>2013-04-04 08:33:52 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry515d3aefc82cd1b6ff000007", :_original_id=>BSON::ObjectId('515d3af0c82cd1b6ff00000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff00000d'), "_original_type"=>"Locomotive::ContentEntry515d3aefc82cd1b6ff000007", "_original_id"=>BSON::ObjectId('515d3af0c82cd1b6ff00000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :parent_id=>BSON::ObjectId('515d3aefc82cd1b6ff000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('515d3aefc82cd1b6ff000004'), :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff00000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('515d3aefc82cd1b6ff000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('515d3aefc82cd1b6ff000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff00000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "parent_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-04 08:33:52 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-04 08:33:52 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3af0c82cd1b6ff00000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3af0c82cd1b6ff00000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3af0c82cd1b6ff00000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3af0c82cd1b6ff00000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001')}, "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff00000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3af0c82cd1b6ff00000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :parent_id=>BSON::ObjectId('515d3aefc82cd1b6ff000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('515d3aefc82cd1b6ff000004'), :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('515d3aefc82cd1b6ff000004'), :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('515d3aefc82cd1b6ff000004'), :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('515d3aefc82cd1b6ff000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('515d3aefc82cd1b6ff000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "parent_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-04 08:33:52 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-04 08:33:52 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3af0c82cd1b6ff000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3af0c82cd1b6ff000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3af0c82cd1b6ff000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001')}, "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('515d3aefc82cd1b6ff000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:33:52 UTC}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3aefc82cd1b6ff000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3aefc82cd1b6ff000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-04 08:33:51 UTC, "updated_at"=>2013-04-04 08:33:52 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000013'), "account_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:33:52 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-04 08:33:52 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3af0c82cd1b6ff000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3af0c82cd1b6ff000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3af0c82cd1b6ff000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('515d3af0c82cd1b6ff000012')}, "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:33:52 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-04 08:33:52 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3af0c82cd1b6ff000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3af0c82cd1b6ff000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3af0c82cd1b6ff000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000017'), "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"=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:33:52 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-04 08:33:52 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3af0c82cd1b6ff000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3af0c82cd1b6ff000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3af0c82cd1b6ff000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('515d3af0c82cd1b6ff000012')}, "_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3af0c82cd1b6ff000017'), "_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"]}]) Started GET "/" for 127.0.0.1 at 2013-04-04 10:33:52 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 105ms (Views: 99.1ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-04 10:33:52 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_keywords=>{"$in"=>["findable", "en:findable"]}, "_stored.site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001')}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.4ms) Started GET "/findable" for 127.0.0.1 at 2013-04-04 10:33:52 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"path"=>"findable"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :depth=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.4ms) Started GET "/" for 127.0.0.1 at 2013-04-04 10:33:52 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.2ms) Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-04-04 10:33:52 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_keywords=>{"$in"=>["not", "found", "en:not", "en:found"]}, "_stored.site_id"=>BSON::ObjectId('515d3aefc82cd1b6ff000001')}) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.4ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"bpSCrGNVYUNY2z8Bdhki", "encrypted_password"=>"1d84f7aecbc3cb1293de8ef91fc9bf91880e8623", "updated_at"=>2013-04-04 08:42:36 UTC, "created_at"=>2013-04-04 08:42:36 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-04 08:42:35 UTC, "updated_at"=>2013-04-04 08:42:36 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000003'), "account_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:42:36 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-04 08:42:36 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001')}, "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:42:36 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-04 08:42:36 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-04 08:42:36 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000008'), "created_at"=>2013-04-04 08:42:36 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-04 08:42:36 UTC, "created_at"=>2013-04-04 08:42:36 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-04 08:42:36 UTC, "created_at"=>2013-04-04 08:42:36 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b700000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry515d3cfcc82cd1b8b7000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry515d3cfcc82cd1b8b7000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b700000a'), "_type"=>"Locomotive::ContentEntry515d3cfcc82cd1b8b7000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry515d3cfcc82cd1b8b7000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-04 08:42:36 UTC, "site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "_label_field_name"=>"name", "created_at"=>2013-04-04 08:42:36 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry515d3cfcc82cd1b8b7000007", :_original_id=>BSON::ObjectId('515d3cfcc82cd1b8b700000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b700000b'), "_original_type"=>"Locomotive::ContentEntry515d3cfcc82cd1b8b7000007", "_original_id"=>BSON::ObjectId('515d3cfcc82cd1b8b700000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b700000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry515d3cfcc82cd1b8b7000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry515d3cfcc82cd1b8b7000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b700000c'), "_type"=>"Locomotive::ContentEntry515d3cfcc82cd1b8b7000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry515d3cfcc82cd1b8b7000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000007'), "_slug"=>"hidden", "updated_at"=>2013-04-04 08:42:36 UTC, "site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "_label_field_name"=>"name", "created_at"=>2013-04-04 08:42:36 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry515d3cfcc82cd1b8b7000007", :_original_id=>BSON::ObjectId('515d3cfcc82cd1b8b700000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b700000d'), "_original_type"=>"Locomotive::ContentEntry515d3cfcc82cd1b8b7000007", "_original_id"=>BSON::ObjectId('515d3cfcc82cd1b8b700000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :parent_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000004'), :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b700000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b700000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "parent_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-04 08:42:36 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-04 08:42:36 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b700000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3cfcc82cd1b8b700000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b700000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3cfcc82cd1b8b700000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001')}, "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b700000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3cfcc82cd1b8b700000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :parent_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000004'), :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000004'), :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000004'), :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "parent_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-04 08:42:36 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-04 08:42:36 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001')}, "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-04 08:42:35 UTC, "updated_at"=>2013-04-04 08:42:36 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000013'), "account_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:42:36 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-04 08:42:36 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000012')}, "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:42:36 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-04 08:42:36 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), :_id=>{"$ne"=>BSON::ObjectId('515d3cfcc82cd1b8b7000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000017'), "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"=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-04 08:42:36 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-04 08:42:36 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('515d3cfcc82cd1b8b7000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('515d3cfcc82cd1b8b7000012')}, "_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000017'), "_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"]}]) Started GET "/" for 127.0.0.1 at 2013-04-04 10:42:36 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 24ms (Views: 20.0ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-04 10:42:36 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_keywords=>{"$in"=>["findable", "en:findable"]}, "_stored.site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001')}) Rendered text template (0.0ms) Completed 200 OK in 6ms (Views: 0.4ms) Started GET "/findable" for 127.0.0.1 at 2013-04-04 10:42:37 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"path"=>"findable"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :depth=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.5ms) Started GET "/" for 127.0.0.1 at 2013-04-04 10:42:37 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms) Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-04-04 10:42:37 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_keywords=>{"$in"=>["not", "found", "en:not", "en:found"]}, "_stored.site_id"=>BSON::ObjectId('515d3cfcc82cd1b8b7000001')}) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.4ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('517107b4c82cd13002000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"GaKE34LvgmdYCed7jqL6", "encrypted_password"=>"fcb86f6e83483f243f0b2671681bb5869e11677a", "updated_at"=>2013-04-19 09:00:36 UTC, "created_at"=>2013-04-19 09:00:36 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('517107b4c82cd13002000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-19 09:00:36 UTC, "updated_at"=>2013-04-19 09:00:36 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('517107b4c82cd13002000003'), "account_id"=>BSON::ObjectId('517107b4c82cd13002000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('517107b4c82cd13002000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517107b4c82cd13002000001'), :_id=>{"$ne"=>BSON::ObjectId('517107b5c82cd13002000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517107b5c82cd13002000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('517107b4c82cd13002000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:00:37 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 09:00:37 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517107b5c82cd13002000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b4c82cd13002000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517107b5c82cd13002000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517107b5c82cd13002000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517107b5c82cd13002000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('517107b4c82cd13002000001')}, "_id"=>BSON::ObjectId('517107b5c82cd13002000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517107b5c82cd13002000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('517107b4c82cd13002000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517107b4c82cd13002000001'), :_id=>{"$ne"=>BSON::ObjectId('517107b5c82cd13002000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517107b4c82cd13002000001'), :_id=>{"$ne"=>BSON::ObjectId('517107b5c82cd13002000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517107b4c82cd13002000001'), :_id=>{"$ne"=>BSON::ObjectId('517107b5c82cd13002000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517107b5c82cd13002000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('517107b4c82cd13002000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:00:37 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 09:00:37 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b4c82cd13002000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517107b5c82cd13002000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517107b5c82cd13002000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517107b5c82cd13002000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('517107b4c82cd13002000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('517107b5c82cd13002000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('517107b4c82cd13002000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 09:00:37 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('517107b5c82cd13002000008'), "created_at"=>2013-04-19 09:00:37 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('517107b5c82cd13002000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 09:00:37 UTC, "created_at"=>2013-04-19 09:00:37 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('517107b5c82cd13002000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('517107b5c82cd13002000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-19 09:00:37 UTC, "created_at"=>2013-04-19 09:00:37 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517107b5c82cd1300200000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry517107b5c82cd13002000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('517107b5c82cd13002000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517107b5c82cd13002000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('517107b5c82cd1300200000a'), "_type"=>"Locomotive::ContentEntry517107b5c82cd13002000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry517107b5c82cd13002000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517107b5c82cd13002000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-19 09:00:37 UTC, "site_id"=>BSON::ObjectId('517107b4c82cd13002000001'), "_label_field_name"=>"name", "created_at"=>2013-04-19 09:00:37 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517107b5c82cd13002000007", :_original_id=>BSON::ObjectId('517107b5c82cd1300200000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('517107b4c82cd13002000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517107b5c82cd1300200000b'), "_original_type"=>"Locomotive::ContentEntry517107b5c82cd13002000007", "_original_id"=>BSON::ObjectId('517107b5c82cd1300200000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517107b5c82cd1300200000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry517107b5c82cd13002000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('517107b5c82cd13002000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517107b5c82cd13002000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('517107b5c82cd1300200000c'), "_type"=>"Locomotive::ContentEntry517107b5c82cd13002000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry517107b5c82cd13002000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517107b5c82cd13002000007'), "_slug"=>"hidden", "updated_at"=>2013-04-19 09:00:37 UTC, "site_id"=>BSON::ObjectId('517107b4c82cd13002000001'), "_label_field_name"=>"name", "created_at"=>2013-04-19 09:00:37 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517107b5c82cd13002000007", :_original_id=>BSON::ObjectId('517107b5c82cd1300200000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('517107b4c82cd13002000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517107b5c82cd1300200000d'), "_original_type"=>"Locomotive::ContentEntry517107b5c82cd13002000007", "_original_id"=>BSON::ObjectId('517107b5c82cd1300200000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('517107b4c82cd13002000001'), :parent_id=>BSON::ObjectId('517107b5c82cd13002000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517107b5c82cd13002000004'), :site_id=>BSON::ObjectId('517107b4c82cd13002000001'), :_id=>{"$ne"=>BSON::ObjectId('517107b5c82cd1300200000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517107b5c82cd13002000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517107b5c82cd13002000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517107b5c82cd1300200000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('517107b4c82cd13002000001'), "parent_id"=>BSON::ObjectId('517107b5c82cd13002000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 09:00:37 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-19 09:00:37 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b4c82cd13002000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517107b5c82cd1300200000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517107b5c82cd1300200000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517107b5c82cd1300200000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517107b5c82cd1300200000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('517107b4c82cd13002000001')}, "_id"=>BSON::ObjectId('517107b5c82cd1300200000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517107b5c82cd1300200000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('517107b4c82cd13002000001'), :parent_id=>BSON::ObjectId('517107b5c82cd13002000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517107b5c82cd13002000004'), :site_id=>BSON::ObjectId('517107b4c82cd13002000001'), :_id=>{"$ne"=>BSON::ObjectId('517107b5c82cd13002000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517107b5c82cd13002000004'), :site_id=>BSON::ObjectId('517107b4c82cd13002000001'), :_id=>{"$ne"=>BSON::ObjectId('517107b5c82cd13002000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('517107b5c82cd13002000004'), :site_id=>BSON::ObjectId('517107b4c82cd13002000001'), :_id=>{"$ne"=>BSON::ObjectId('517107b5c82cd13002000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517107b5c82cd13002000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517107b5c82cd13002000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517107b5c82cd13002000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('517107b4c82cd13002000001'), "parent_id"=>BSON::ObjectId('517107b5c82cd13002000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 09:00:37 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-19 09:00:37 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b4c82cd13002000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517107b5c82cd13002000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517107b5c82cd13002000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517107b5c82cd13002000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517107b5c82cd13002000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('517107b4c82cd13002000001')}, "_id"=>BSON::ObjectId('517107b5c82cd13002000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517107b5c82cd13002000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b4c82cd13002000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('517107b4c82cd13002000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('517107b5c82cd13002000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b4c82cd13002000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517107b5c82cd13002000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517107b5c82cd13002000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('517107b5c82cd13002000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('517107b4c82cd13002000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('517107b5c82cd13002000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-19 09:00:36 UTC, "updated_at"=>2013-04-19 09:00:37 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('517107b5c82cd13002000013'), "account_id"=>BSON::ObjectId('517107b4c82cd13002000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('517107b5c82cd13002000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517107b5c82cd13002000012'), :_id=>{"$ne"=>BSON::ObjectId('517107b5c82cd13002000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517107b5c82cd13002000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('517107b5c82cd13002000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:00:37 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 09:00:37 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b5c82cd13002000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517107b5c82cd13002000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517107b5c82cd13002000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517107b5c82cd13002000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517107b5c82cd13002000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('517107b5c82cd13002000012')}, "_id"=>BSON::ObjectId('517107b5c82cd13002000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517107b5c82cd13002000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('517107b5c82cd13002000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517107b5c82cd13002000012'), :_id=>{"$ne"=>BSON::ObjectId('517107b5c82cd13002000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517107b5c82cd13002000012'), :_id=>{"$ne"=>BSON::ObjectId('517107b5c82cd13002000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517107b5c82cd13002000012'), :_id=>{"$ne"=>BSON::ObjectId('517107b5c82cd13002000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517107b5c82cd13002000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('517107b5c82cd13002000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:00:37 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 09:00:37 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b5c82cd13002000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517107b5c82cd13002000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517107b5c82cd13002000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517107b5c82cd13002000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('517107b5c82cd13002000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517107b5c82cd13002000012'), :_id=>{"$ne"=>BSON::ObjectId('517107b5c82cd13002000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517107b5c82cd13002000012'), :_id=>{"$ne"=>BSON::ObjectId('517107b5c82cd13002000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517107b5c82cd13002000012'), :_id=>{"$ne"=>BSON::ObjectId('517107b5c82cd13002000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517107b5c82cd13002000017'), "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"=>BSON::ObjectId('517107b5c82cd13002000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:00:37 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-19 09:00:37 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b5c82cd13002000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517107b5c82cd13002000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517107b5c82cd13002000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517107b5c82cd13002000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517107b5c82cd13002000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('517107b5c82cd13002000012')}, "_id"=>BSON::ObjectId('517107b5c82cd13002000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517107b5c82cd13002000017'), "_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"]}]) Started GET "/" for 127.0.0.1 at 2013-04-19 11:00:37 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b4c82cd13002000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 44ms (Views: 38.5ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-19 11:00:38 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b4c82cd13002000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 0.7ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('517107b6c82cd1300200001a'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"Xs7yCE9rYphBv2Kvyr5Q", "encrypted_password"=>"65468b5f36bfa92fce7dd8e4a755a060f2b3ffdc", "updated_at"=>2013-04-19 09:00:38 UTC, "created_at"=>2013-04-19 09:00:38 UTC}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('517107b6c82cd13002000019'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-19 09:00:36 UTC, "updated_at"=>2013-04-19 09:00:38 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('517107b6c82cd1300200001b'), "account_id"=>BSON::ObjectId('517107b6c82cd1300200001a')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('517107b6c82cd13002000019'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517107b6c82cd13002000019'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd1300200001c')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517107b6c82cd1300200001c'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('517107b6c82cd13002000019'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:00:38 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 09:00:38 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b6c82cd13002000019'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517107b6c82cd1300200001c')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517107b6c82cd1300200001c')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517107b6c82cd1300200001c')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517107b6c82cd1300200001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('517107b6c82cd13002000019')}, "_id"=>BSON::ObjectId('517107b6c82cd1300200001d'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517107b6c82cd1300200001c'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('517107b6c82cd13002000019'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517107b6c82cd13002000019'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd1300200001e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517107b6c82cd13002000019'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd1300200001e')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517107b6c82cd13002000019'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd1300200001e')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517107b6c82cd1300200001e'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('517107b6c82cd13002000019'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:00:38 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 09:00:38 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b6c82cd13002000019'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517107b6c82cd1300200001e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517107b6c82cd1300200001e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517107b6c82cd1300200001e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('517107b6c82cd13002000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('517107b6c82cd1300200001f'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('517107b6c82cd13002000019'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 09:00:38 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('517107b6c82cd13002000020'), "created_at"=>2013-04-19 09:00:38 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('517107b6c82cd13002000020'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 09:00:38 UTC, "created_at"=>2013-04-19 09:00:38 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('517107b6c82cd1300200001f')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('517107b6c82cd13002000021'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-19 09:00:38 UTC, "created_at"=>2013-04-19 09:00:38 UTC}}}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd13002000022')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry517107b6c82cd1300200001f"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('517107b6c82cd1300200001f')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517107b6c82cd1300200001f"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('517107b6c82cd13002000022'), "_type"=>"Locomotive::ContentEntry517107b6c82cd1300200001f", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry517107b6c82cd1300200001f", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517107b6c82cd1300200001f'), "_slug"=>"findable-entry", "updated_at"=>2013-04-19 09:00:38 UTC, "site_id"=>BSON::ObjectId('517107b6c82cd13002000019'), "_label_field_name"=>"name", "created_at"=>2013-04-19 09:00:38 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517107b6c82cd1300200001f", :_original_id=>BSON::ObjectId('517107b6c82cd13002000022')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('517107b6c82cd13002000019'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517107b6c82cd13002000023'), "_original_type"=>"Locomotive::ContentEntry517107b6c82cd1300200001f", "_original_id"=>BSON::ObjectId('517107b6c82cd13002000022'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd13002000024')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry517107b6c82cd1300200001f"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('517107b6c82cd1300200001f')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517107b6c82cd1300200001f"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('517107b6c82cd13002000024'), "_type"=>"Locomotive::ContentEntry517107b6c82cd1300200001f", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry517107b6c82cd1300200001f", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517107b6c82cd1300200001f'), "_slug"=>"hidden", "updated_at"=>2013-04-19 09:00:38 UTC, "site_id"=>BSON::ObjectId('517107b6c82cd13002000019'), "_label_field_name"=>"name", "created_at"=>2013-04-19 09:00:38 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517107b6c82cd1300200001f", :_original_id=>BSON::ObjectId('517107b6c82cd13002000024')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('517107b6c82cd13002000019'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517107b6c82cd13002000025'), "_original_type"=>"Locomotive::ContentEntry517107b6c82cd1300200001f", "_original_id"=>BSON::ObjectId('517107b6c82cd13002000024'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('517107b6c82cd13002000019'), :parent_id=>BSON::ObjectId('517107b6c82cd1300200001c')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517107b6c82cd1300200001c'), :site_id=>BSON::ObjectId('517107b6c82cd13002000019'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd13002000026')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517107b6c82cd1300200001c')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517107b6c82cd1300200001c')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517107b6c82cd13002000026'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('517107b6c82cd13002000019'), "parent_id"=>BSON::ObjectId('517107b6c82cd1300200001c'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 09:00:38 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-19 09:00:38 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b6c82cd13002000019'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517107b6c82cd13002000026')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517107b6c82cd13002000026')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517107b6c82cd13002000026')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517107b6c82cd13002000026')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('517107b6c82cd13002000019')}, "_id"=>BSON::ObjectId('517107b6c82cd13002000027'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517107b6c82cd13002000026'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('517107b6c82cd13002000019'), :parent_id=>BSON::ObjectId('517107b6c82cd1300200001c')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517107b6c82cd1300200001c'), :site_id=>BSON::ObjectId('517107b6c82cd13002000019'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd13002000028')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517107b6c82cd1300200001c'), :site_id=>BSON::ObjectId('517107b6c82cd13002000019'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd13002000028')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('517107b6c82cd1300200001c'), :site_id=>BSON::ObjectId('517107b6c82cd13002000019'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd13002000028')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517107b6c82cd1300200001c')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517107b6c82cd1300200001c')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517107b6c82cd13002000028'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('517107b6c82cd13002000019'), "parent_id"=>BSON::ObjectId('517107b6c82cd1300200001c'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 09:00:38 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-19 09:00:38 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b6c82cd13002000019'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517107b6c82cd13002000028')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517107b6c82cd13002000028')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517107b6c82cd13002000028')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517107b6c82cd13002000028')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('517107b6c82cd13002000019')}, "_id"=>BSON::ObjectId('517107b6c82cd13002000029'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517107b6c82cd13002000028'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b6c82cd13002000019'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('517107b6c82cd13002000019')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('517107b6c82cd1300200001c')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b6c82cd13002000019'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517107b6c82cd1300200001c')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517107b6c82cd1300200001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('517107b6c82cd1300200001d')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('517107b6c82cd13002000019')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('517107b6c82cd1300200002a'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-19 09:00:36 UTC, "updated_at"=>2013-04-19 09:00:38 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('517107b6c82cd1300200002b'), "account_id"=>BSON::ObjectId('517107b6c82cd1300200001a')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('517107b6c82cd1300200002a'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517107b6c82cd1300200002a'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd1300200002c')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517107b6c82cd1300200002c'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('517107b6c82cd1300200002a'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:00:38 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 09:00:38 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b6c82cd1300200002a'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517107b6c82cd1300200002c')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517107b6c82cd1300200002c')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517107b6c82cd1300200002c')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517107b6c82cd1300200002c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('517107b6c82cd1300200002a')}, "_id"=>BSON::ObjectId('517107b6c82cd1300200002d'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517107b6c82cd1300200002c'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('517107b6c82cd1300200002a'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517107b6c82cd1300200002a'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd1300200002e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517107b6c82cd1300200002a'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd1300200002e')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517107b6c82cd1300200002a'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd1300200002e')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517107b6c82cd1300200002e'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('517107b6c82cd1300200002a'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:00:38 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 09:00:38 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b6c82cd1300200002a'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517107b6c82cd1300200002e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517107b6c82cd1300200002e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517107b6c82cd1300200002e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('517107b6c82cd1300200002a'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517107b6c82cd1300200002a'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd1300200002f')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517107b6c82cd1300200002a'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd1300200002f')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517107b6c82cd1300200002a'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd1300200002f')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517107b6c82cd1300200002f'), "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"=>BSON::ObjectId('517107b6c82cd1300200002a'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:00:38 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-19 09:00:38 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b6c82cd1300200002a'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517107b6c82cd1300200002f')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517107b6c82cd1300200002f')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517107b6c82cd1300200002f')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517107b6c82cd1300200002f')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('517107b6c82cd1300200002a')}, "_id"=>BSON::ObjectId('517107b6c82cd13002000030'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517107b6c82cd1300200002f'), "_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"]}]) Started GET "/" for 127.0.0.1 at 2013-04-19 11:00:38 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b6c82cd13002000019'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.4ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-19 11:00:38 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b6c82cd13002000019'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('517107b6c82cd13002000032'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"aqKGK6MyKR16SWM35Q67", "encrypted_password"=>"48c3c0e3c874098711b1adf00dfb25c8a8125cc0", "updated_at"=>2013-04-19 09:00:38 UTC, "created_at"=>2013-04-19 09:00:38 UTC}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('517107b6c82cd13002000031'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-19 09:00:36 UTC, "updated_at"=>2013-04-19 09:00:38 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('517107b6c82cd13002000033'), "account_id"=>BSON::ObjectId('517107b6c82cd13002000032')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('517107b6c82cd13002000031'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517107b6c82cd13002000031'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd13002000034')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517107b6c82cd13002000034'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('517107b6c82cd13002000031'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:00:38 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 09:00:38 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b6c82cd13002000031'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517107b6c82cd13002000034')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517107b6c82cd13002000034')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517107b6c82cd13002000034')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517107b6c82cd13002000034')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('517107b6c82cd13002000031')}, "_id"=>BSON::ObjectId('517107b6c82cd13002000035'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517107b6c82cd13002000034'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('517107b6c82cd13002000031'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517107b6c82cd13002000031'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd13002000036')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517107b6c82cd13002000031'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd13002000036')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517107b6c82cd13002000031'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd13002000036')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517107b6c82cd13002000036'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('517107b6c82cd13002000031'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:00:38 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 09:00:38 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b6c82cd13002000031'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517107b6c82cd13002000036')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517107b6c82cd13002000036')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517107b6c82cd13002000036')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('517107b6c82cd13002000031')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('517107b6c82cd13002000037'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('517107b6c82cd13002000031'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 09:00:38 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('517107b6c82cd13002000038'), "created_at"=>2013-04-19 09:00:38 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('517107b6c82cd13002000038'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 09:00:38 UTC, "created_at"=>2013-04-19 09:00:38 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('517107b6c82cd13002000037')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('517107b6c82cd13002000039'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-19 09:00:38 UTC, "created_at"=>2013-04-19 09:00:38 UTC}}}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd1300200003a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry517107b6c82cd13002000037"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('517107b6c82cd13002000037')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517107b6c82cd13002000037"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('517107b6c82cd1300200003a'), "_type"=>"Locomotive::ContentEntry517107b6c82cd13002000037", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry517107b6c82cd13002000037", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517107b6c82cd13002000037'), "_slug"=>"findable-entry", "updated_at"=>2013-04-19 09:00:38 UTC, "site_id"=>BSON::ObjectId('517107b6c82cd13002000031'), "_label_field_name"=>"name", "created_at"=>2013-04-19 09:00:38 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517107b6c82cd13002000037", :_original_id=>BSON::ObjectId('517107b6c82cd1300200003a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('517107b6c82cd13002000031'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517107b6c82cd1300200003b'), "_original_type"=>"Locomotive::ContentEntry517107b6c82cd13002000037", "_original_id"=>BSON::ObjectId('517107b6c82cd1300200003a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd1300200003c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry517107b6c82cd13002000037"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('517107b6c82cd13002000037')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517107b6c82cd13002000037"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('517107b6c82cd1300200003c'), "_type"=>"Locomotive::ContentEntry517107b6c82cd13002000037", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry517107b6c82cd13002000037", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517107b6c82cd13002000037'), "_slug"=>"hidden", "updated_at"=>2013-04-19 09:00:38 UTC, "site_id"=>BSON::ObjectId('517107b6c82cd13002000031'), "_label_field_name"=>"name", "created_at"=>2013-04-19 09:00:38 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517107b6c82cd13002000037", :_original_id=>BSON::ObjectId('517107b6c82cd1300200003c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('517107b6c82cd13002000031'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517107b6c82cd1300200003d'), "_original_type"=>"Locomotive::ContentEntry517107b6c82cd13002000037", "_original_id"=>BSON::ObjectId('517107b6c82cd1300200003c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('517107b6c82cd13002000031'), :parent_id=>BSON::ObjectId('517107b6c82cd13002000034')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517107b6c82cd13002000034'), :site_id=>BSON::ObjectId('517107b6c82cd13002000031'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd1300200003e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517107b6c82cd13002000034')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517107b6c82cd13002000034')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517107b6c82cd1300200003e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('517107b6c82cd13002000031'), "parent_id"=>BSON::ObjectId('517107b6c82cd13002000034'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 09:00:38 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-19 09:00:38 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b6c82cd13002000031'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517107b6c82cd1300200003e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517107b6c82cd1300200003e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517107b6c82cd1300200003e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517107b6c82cd1300200003e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('517107b6c82cd13002000031')}, "_id"=>BSON::ObjectId('517107b6c82cd1300200003f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517107b6c82cd1300200003e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('517107b6c82cd13002000031'), :parent_id=>BSON::ObjectId('517107b6c82cd13002000034')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517107b6c82cd13002000034'), :site_id=>BSON::ObjectId('517107b6c82cd13002000031'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd13002000040')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517107b6c82cd13002000034'), :site_id=>BSON::ObjectId('517107b6c82cd13002000031'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd13002000040')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('517107b6c82cd13002000034'), :site_id=>BSON::ObjectId('517107b6c82cd13002000031'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd13002000040')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517107b6c82cd13002000034')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517107b6c82cd13002000034')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517107b6c82cd13002000040'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('517107b6c82cd13002000031'), "parent_id"=>BSON::ObjectId('517107b6c82cd13002000034'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 09:00:38 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-19 09:00:38 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b6c82cd13002000031'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517107b6c82cd13002000040')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517107b6c82cd13002000040')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517107b6c82cd13002000040')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517107b6c82cd13002000040')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('517107b6c82cd13002000031')}, "_id"=>BSON::ObjectId('517107b6c82cd13002000041'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517107b6c82cd13002000040'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b6c82cd13002000031'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('517107b6c82cd13002000031')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('517107b6c82cd13002000034')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b6c82cd13002000031'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517107b6c82cd13002000034')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517107b6c82cd13002000034')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('517107b6c82cd13002000035')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('517107b6c82cd13002000031')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('517107b6c82cd13002000042'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-19 09:00:36 UTC, "updated_at"=>2013-04-19 09:00:38 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('517107b6c82cd13002000043'), "account_id"=>BSON::ObjectId('517107b6c82cd13002000032')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('517107b6c82cd13002000042'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517107b6c82cd13002000042'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd13002000044')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517107b6c82cd13002000044'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('517107b6c82cd13002000042'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:00:38 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 09:00:38 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b6c82cd13002000042'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517107b6c82cd13002000044')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517107b6c82cd13002000044')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517107b6c82cd13002000044')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517107b6c82cd13002000044')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('517107b6c82cd13002000042')}, "_id"=>BSON::ObjectId('517107b6c82cd13002000045'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517107b6c82cd13002000044'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('517107b6c82cd13002000042'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517107b6c82cd13002000042'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd13002000046')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517107b6c82cd13002000042'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd13002000046')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517107b6c82cd13002000042'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd13002000046')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517107b6c82cd13002000046'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('517107b6c82cd13002000042'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:00:38 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 09:00:38 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b6c82cd13002000042'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517107b6c82cd13002000046')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517107b6c82cd13002000046')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517107b6c82cd13002000046')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('517107b6c82cd13002000042'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517107b6c82cd13002000042'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd13002000047')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517107b6c82cd13002000042'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd13002000047')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517107b6c82cd13002000042'), :_id=>{"$ne"=>BSON::ObjectId('517107b6c82cd13002000047')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517107b6c82cd13002000047'), "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"=>BSON::ObjectId('517107b6c82cd13002000042'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:00:38 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-19 09:00:38 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b6c82cd13002000042'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517107b6c82cd13002000047')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517107b6c82cd13002000047')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517107b6c82cd13002000047')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517107b6c82cd13002000047')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('517107b6c82cd13002000042')}, "_id"=>BSON::ObjectId('517107b6c82cd13002000048'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517107b6c82cd13002000047'), "_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"]}]) Started GET "/" for 127.0.0.1 at 2013-04-19 11:00:38 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b6c82cd13002000031'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.6ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-19 11:00:38 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517107b6c82cd13002000031'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 6ms (Views: 0.4ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('517108cdc82cd13055000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"DHmdoLg6Mj81C8v825wi", "encrypted_password"=>"aec00e4b902a1d0e0d2d9b22770c7b4a09e7aaad", "updated_at"=>2013-04-19 09:05:17 UTC, "created_at"=>2013-04-19 09:05:17 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('517108cdc82cd13055000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-19 09:05:17 UTC, "updated_at"=>2013-04-19 09:05:17 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('517108cdc82cd13055000003'), "account_id"=>BSON::ObjectId('517108cdc82cd13055000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('517108cdc82cd13055000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517108cdc82cd13055000001'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd13055000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517108cec82cd13055000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('517108cdc82cd13055000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:05:18 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 09:05:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517108cec82cd13055000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cdc82cd13055000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517108cec82cd13055000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517108cec82cd13055000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517108cec82cd13055000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('517108cdc82cd13055000001')}, "_id"=>BSON::ObjectId('517108cec82cd13055000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517108cec82cd13055000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('517108cdc82cd13055000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517108cdc82cd13055000001'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd13055000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517108cdc82cd13055000001'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd13055000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517108cdc82cd13055000001'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd13055000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517108cec82cd13055000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('517108cdc82cd13055000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:05:18 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 09:05:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cdc82cd13055000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517108cec82cd13055000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517108cec82cd13055000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517108cec82cd13055000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('517108cdc82cd13055000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('517108cec82cd13055000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('517108cdc82cd13055000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 09:05:18 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('517108cec82cd13055000008'), "created_at"=>2013-04-19 09:05:18 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('517108cec82cd13055000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 09:05:18 UTC, "created_at"=>2013-04-19 09:05:18 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('517108cec82cd13055000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('517108cec82cd13055000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-19 09:05:18 UTC, "created_at"=>2013-04-19 09:05:18 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517108cec82cd1305500000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry517108cec82cd13055000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('517108cec82cd13055000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517108cec82cd13055000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('517108cec82cd1305500000a'), "_type"=>"Locomotive::ContentEntry517108cec82cd13055000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry517108cec82cd13055000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517108cec82cd13055000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-19 09:05:18 UTC, "site_id"=>BSON::ObjectId('517108cdc82cd13055000001'), "_label_field_name"=>"name", "created_at"=>2013-04-19 09:05:18 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517108cec82cd13055000007", :_original_id=>BSON::ObjectId('517108cec82cd1305500000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('517108cdc82cd13055000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517108cec82cd1305500000b'), "_original_type"=>"Locomotive::ContentEntry517108cec82cd13055000007", "_original_id"=>BSON::ObjectId('517108cec82cd1305500000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517108cec82cd1305500000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry517108cec82cd13055000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('517108cec82cd13055000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517108cec82cd13055000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('517108cec82cd1305500000c'), "_type"=>"Locomotive::ContentEntry517108cec82cd13055000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry517108cec82cd13055000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517108cec82cd13055000007'), "_slug"=>"hidden", "updated_at"=>2013-04-19 09:05:18 UTC, "site_id"=>BSON::ObjectId('517108cdc82cd13055000001'), "_label_field_name"=>"name", "created_at"=>2013-04-19 09:05:18 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517108cec82cd13055000007", :_original_id=>BSON::ObjectId('517108cec82cd1305500000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('517108cdc82cd13055000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517108cec82cd1305500000d'), "_original_type"=>"Locomotive::ContentEntry517108cec82cd13055000007", "_original_id"=>BSON::ObjectId('517108cec82cd1305500000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('517108cdc82cd13055000001'), :parent_id=>BSON::ObjectId('517108cec82cd13055000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517108cec82cd13055000004'), :site_id=>BSON::ObjectId('517108cdc82cd13055000001'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd1305500000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517108cec82cd13055000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517108cec82cd13055000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517108cec82cd1305500000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('517108cdc82cd13055000001'), "parent_id"=>BSON::ObjectId('517108cec82cd13055000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 09:05:18 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-19 09:05:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cdc82cd13055000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517108cec82cd1305500000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517108cec82cd1305500000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517108cec82cd1305500000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517108cec82cd1305500000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('517108cdc82cd13055000001')}, "_id"=>BSON::ObjectId('517108cec82cd1305500000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517108cec82cd1305500000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('517108cdc82cd13055000001'), :parent_id=>BSON::ObjectId('517108cec82cd13055000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517108cec82cd13055000004'), :site_id=>BSON::ObjectId('517108cdc82cd13055000001'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd13055000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517108cec82cd13055000004'), :site_id=>BSON::ObjectId('517108cdc82cd13055000001'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd13055000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('517108cec82cd13055000004'), :site_id=>BSON::ObjectId('517108cdc82cd13055000001'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd13055000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517108cec82cd13055000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517108cec82cd13055000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517108cec82cd13055000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('517108cdc82cd13055000001'), "parent_id"=>BSON::ObjectId('517108cec82cd13055000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 09:05:18 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-19 09:05:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cdc82cd13055000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517108cec82cd13055000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517108cec82cd13055000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517108cec82cd13055000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517108cec82cd13055000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('517108cdc82cd13055000001')}, "_id"=>BSON::ObjectId('517108cec82cd13055000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517108cec82cd13055000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cdc82cd13055000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('517108cdc82cd13055000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('517108cec82cd13055000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cdc82cd13055000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517108cec82cd13055000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517108cec82cd13055000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('517108cec82cd13055000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('517108cdc82cd13055000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('517108cec82cd13055000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-19 09:05:17 UTC, "updated_at"=>2013-04-19 09:05:18 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('517108cec82cd13055000013'), "account_id"=>BSON::ObjectId('517108cdc82cd13055000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('517108cec82cd13055000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517108cec82cd13055000012'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd13055000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517108cec82cd13055000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('517108cec82cd13055000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:05:18 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 09:05:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cec82cd13055000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517108cec82cd13055000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517108cec82cd13055000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517108cec82cd13055000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517108cec82cd13055000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('517108cec82cd13055000012')}, "_id"=>BSON::ObjectId('517108cec82cd13055000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517108cec82cd13055000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('517108cec82cd13055000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517108cec82cd13055000012'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd13055000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517108cec82cd13055000012'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd13055000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517108cec82cd13055000012'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd13055000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517108cec82cd13055000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('517108cec82cd13055000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:05:18 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 09:05:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cec82cd13055000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517108cec82cd13055000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517108cec82cd13055000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517108cec82cd13055000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('517108cec82cd13055000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517108cec82cd13055000012'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd13055000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517108cec82cd13055000012'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd13055000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517108cec82cd13055000012'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd13055000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517108cec82cd13055000017'), "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"=>BSON::ObjectId('517108cec82cd13055000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:05:18 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-19 09:05:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cec82cd13055000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517108cec82cd13055000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517108cec82cd13055000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517108cec82cd13055000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517108cec82cd13055000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('517108cec82cd13055000012')}, "_id"=>BSON::ObjectId('517108cec82cd13055000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517108cec82cd13055000017'), "_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"]}]) Started GET "/" for 127.0.0.1 at 2013-04-19 11:05:18 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cdc82cd13055000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 22ms (Views: 17.8ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-19 11:05:18 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cdc82cd13055000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('517108cec82cd1305500001a'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"3RLmzEDGQpk7mXyTnpsW", "encrypted_password"=>"a455dfb8e7b78a9bbdc4931a86e8c6c4b251bceb", "updated_at"=>2013-04-19 09:05:18 UTC, "created_at"=>2013-04-19 09:05:18 UTC}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('517108cec82cd13055000019'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-19 09:05:17 UTC, "updated_at"=>2013-04-19 09:05:18 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('517108cec82cd1305500001b'), "account_id"=>BSON::ObjectId('517108cec82cd1305500001a')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('517108cec82cd13055000019'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517108cec82cd13055000019'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd1305500001c')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517108cec82cd1305500001c'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('517108cec82cd13055000019'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:05:18 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 09:05:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cec82cd13055000019'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517108cec82cd1305500001c')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517108cec82cd1305500001c')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517108cec82cd1305500001c')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517108cec82cd1305500001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('517108cec82cd13055000019')}, "_id"=>BSON::ObjectId('517108cec82cd1305500001d'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517108cec82cd1305500001c'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('517108cec82cd13055000019'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517108cec82cd13055000019'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd1305500001e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517108cec82cd13055000019'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd1305500001e')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517108cec82cd13055000019'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd1305500001e')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517108cec82cd1305500001e'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('517108cec82cd13055000019'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:05:18 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 09:05:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cec82cd13055000019'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517108cec82cd1305500001e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517108cec82cd1305500001e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517108cec82cd1305500001e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('517108cec82cd13055000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('517108cec82cd1305500001f'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('517108cec82cd13055000019'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 09:05:18 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('517108cec82cd13055000020'), "created_at"=>2013-04-19 09:05:18 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('517108cec82cd13055000020'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 09:05:18 UTC, "created_at"=>2013-04-19 09:05:18 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('517108cec82cd1305500001f')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('517108cec82cd13055000021'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-19 09:05:18 UTC, "created_at"=>2013-04-19 09:05:18 UTC}}}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517108cec82cd13055000022')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry517108cec82cd1305500001f"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('517108cec82cd1305500001f')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517108cec82cd1305500001f"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('517108cec82cd13055000022'), "_type"=>"Locomotive::ContentEntry517108cec82cd1305500001f", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry517108cec82cd1305500001f", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517108cec82cd1305500001f'), "_slug"=>"findable-entry", "updated_at"=>2013-04-19 09:05:18 UTC, "site_id"=>BSON::ObjectId('517108cec82cd13055000019'), "_label_field_name"=>"name", "created_at"=>2013-04-19 09:05:18 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517108cec82cd1305500001f", :_original_id=>BSON::ObjectId('517108cec82cd13055000022')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('517108cec82cd13055000019'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517108cec82cd13055000023'), "_original_type"=>"Locomotive::ContentEntry517108cec82cd1305500001f", "_original_id"=>BSON::ObjectId('517108cec82cd13055000022'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517108cec82cd13055000024')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry517108cec82cd1305500001f"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('517108cec82cd1305500001f')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517108cec82cd1305500001f"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('517108cec82cd13055000024'), "_type"=>"Locomotive::ContentEntry517108cec82cd1305500001f", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry517108cec82cd1305500001f", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517108cec82cd1305500001f'), "_slug"=>"hidden", "updated_at"=>2013-04-19 09:05:18 UTC, "site_id"=>BSON::ObjectId('517108cec82cd13055000019'), "_label_field_name"=>"name", "created_at"=>2013-04-19 09:05:18 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517108cec82cd1305500001f", :_original_id=>BSON::ObjectId('517108cec82cd13055000024')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('517108cec82cd13055000019'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517108cec82cd13055000025'), "_original_type"=>"Locomotive::ContentEntry517108cec82cd1305500001f", "_original_id"=>BSON::ObjectId('517108cec82cd13055000024'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('517108cec82cd13055000019'), :parent_id=>BSON::ObjectId('517108cec82cd1305500001c')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517108cec82cd1305500001c'), :site_id=>BSON::ObjectId('517108cec82cd13055000019'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd13055000026')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517108cec82cd1305500001c')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517108cec82cd1305500001c')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517108cec82cd13055000026'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('517108cec82cd13055000019'), "parent_id"=>BSON::ObjectId('517108cec82cd1305500001c'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 09:05:18 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-19 09:05:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cec82cd13055000019'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517108cec82cd13055000026')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517108cec82cd13055000026')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517108cec82cd13055000026')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517108cec82cd13055000026')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('517108cec82cd13055000019')}, "_id"=>BSON::ObjectId('517108cec82cd13055000027'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517108cec82cd13055000026'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('517108cec82cd13055000019'), :parent_id=>BSON::ObjectId('517108cec82cd1305500001c')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517108cec82cd1305500001c'), :site_id=>BSON::ObjectId('517108cec82cd13055000019'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd13055000028')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517108cec82cd1305500001c'), :site_id=>BSON::ObjectId('517108cec82cd13055000019'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd13055000028')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('517108cec82cd1305500001c'), :site_id=>BSON::ObjectId('517108cec82cd13055000019'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd13055000028')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517108cec82cd1305500001c')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517108cec82cd1305500001c')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517108cec82cd13055000028'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('517108cec82cd13055000019'), "parent_id"=>BSON::ObjectId('517108cec82cd1305500001c'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 09:05:18 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-19 09:05:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cec82cd13055000019'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517108cec82cd13055000028')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517108cec82cd13055000028')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517108cec82cd13055000028')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517108cec82cd13055000028')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('517108cec82cd13055000019')}, "_id"=>BSON::ObjectId('517108cec82cd13055000029'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517108cec82cd13055000028'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cec82cd13055000019'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('517108cec82cd13055000019')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('517108cec82cd1305500001c')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cec82cd13055000019'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517108cec82cd1305500001c')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517108cec82cd1305500001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('517108cec82cd1305500001d')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('517108cec82cd13055000019')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('517108cec82cd1305500002a'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-19 09:05:17 UTC, "updated_at"=>2013-04-19 09:05:18 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('517108cec82cd1305500002b'), "account_id"=>BSON::ObjectId('517108cec82cd1305500001a')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('517108cec82cd1305500002a'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517108cec82cd1305500002a'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd1305500002c')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517108cec82cd1305500002c'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('517108cec82cd1305500002a'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:05:18 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 09:05:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cec82cd1305500002a'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517108cec82cd1305500002c')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517108cec82cd1305500002c')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517108cec82cd1305500002c')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517108cec82cd1305500002c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('517108cec82cd1305500002a')}, "_id"=>BSON::ObjectId('517108cec82cd1305500002d'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517108cec82cd1305500002c'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('517108cec82cd1305500002a'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517108cec82cd1305500002a'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd1305500002e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517108cec82cd1305500002a'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd1305500002e')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517108cec82cd1305500002a'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd1305500002e')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517108cec82cd1305500002e'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('517108cec82cd1305500002a'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:05:18 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 09:05:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cec82cd1305500002a'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517108cec82cd1305500002e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517108cec82cd1305500002e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517108cec82cd1305500002e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('517108cec82cd1305500002a'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517108cec82cd1305500002a'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd1305500002f')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517108cec82cd1305500002a'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd1305500002f')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517108cec82cd1305500002a'), :_id=>{"$ne"=>BSON::ObjectId('517108cec82cd1305500002f')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517108cec82cd1305500002f'), "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"=>BSON::ObjectId('517108cec82cd1305500002a'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:05:18 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-19 09:05:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cec82cd1305500002a'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517108cec82cd1305500002f')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517108cec82cd1305500002f')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517108cec82cd1305500002f')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517108cec82cd1305500002f')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('517108cec82cd1305500002a')}, "_id"=>BSON::ObjectId('517108cec82cd13055000030'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517108cec82cd1305500002f'), "_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"]}]) Started GET "/" for 127.0.0.1 at 2013-04-19 11:05:19 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cec82cd13055000019'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.6ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-19 11:05:19 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cec82cd13055000019'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.4ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('517108cfc82cd13055000032'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"wWiqthcaM6Ue11zfmTF8", "encrypted_password"=>"e808995ee924e3c7110b14e3040f39082c294036", "updated_at"=>2013-04-19 09:05:19 UTC, "created_at"=>2013-04-19 09:05:19 UTC}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('517108cfc82cd13055000031'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-19 09:05:17 UTC, "updated_at"=>2013-04-19 09:05:19 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('517108cfc82cd13055000033'), "account_id"=>BSON::ObjectId('517108cfc82cd13055000032')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('517108cfc82cd13055000031'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517108cfc82cd13055000031'), :_id=>{"$ne"=>BSON::ObjectId('517108cfc82cd13055000034')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517108cfc82cd13055000034'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('517108cfc82cd13055000031'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:05:19 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 09:05:19 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cfc82cd13055000031'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517108cfc82cd13055000034')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517108cfc82cd13055000034')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517108cfc82cd13055000034')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517108cfc82cd13055000034')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('517108cfc82cd13055000031')}, "_id"=>BSON::ObjectId('517108cfc82cd13055000035'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517108cfc82cd13055000034'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('517108cfc82cd13055000031'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517108cfc82cd13055000031'), :_id=>{"$ne"=>BSON::ObjectId('517108cfc82cd13055000036')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517108cfc82cd13055000031'), :_id=>{"$ne"=>BSON::ObjectId('517108cfc82cd13055000036')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517108cfc82cd13055000031'), :_id=>{"$ne"=>BSON::ObjectId('517108cfc82cd13055000036')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517108cfc82cd13055000036'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('517108cfc82cd13055000031'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:05:19 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 09:05:19 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cfc82cd13055000031'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517108cfc82cd13055000036')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517108cfc82cd13055000036')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517108cfc82cd13055000036')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('517108cfc82cd13055000031')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('517108cfc82cd13055000037'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('517108cfc82cd13055000031'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 09:05:19 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('517108cfc82cd13055000038'), "created_at"=>2013-04-19 09:05:19 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('517108cfc82cd13055000038'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 09:05:19 UTC, "created_at"=>2013-04-19 09:05:19 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('517108cfc82cd13055000037')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('517108cfc82cd13055000039'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-19 09:05:19 UTC, "created_at"=>2013-04-19 09:05:19 UTC}}}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517108cfc82cd1305500003a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry517108cfc82cd13055000037"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('517108cfc82cd13055000037')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517108cfc82cd13055000037"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('517108cfc82cd1305500003a'), "_type"=>"Locomotive::ContentEntry517108cfc82cd13055000037", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry517108cfc82cd13055000037", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517108cfc82cd13055000037'), "_slug"=>"findable-entry", "updated_at"=>2013-04-19 09:05:19 UTC, "site_id"=>BSON::ObjectId('517108cfc82cd13055000031'), "_label_field_name"=>"name", "created_at"=>2013-04-19 09:05:19 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517108cfc82cd13055000037", :_original_id=>BSON::ObjectId('517108cfc82cd1305500003a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('517108cfc82cd13055000031'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517108cfc82cd1305500003b'), "_original_type"=>"Locomotive::ContentEntry517108cfc82cd13055000037", "_original_id"=>BSON::ObjectId('517108cfc82cd1305500003a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517108cfc82cd1305500003c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry517108cfc82cd13055000037"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('517108cfc82cd13055000037')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517108cfc82cd13055000037"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('517108cfc82cd1305500003c'), "_type"=>"Locomotive::ContentEntry517108cfc82cd13055000037", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry517108cfc82cd13055000037", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517108cfc82cd13055000037'), "_slug"=>"hidden", "updated_at"=>2013-04-19 09:05:19 UTC, "site_id"=>BSON::ObjectId('517108cfc82cd13055000031'), "_label_field_name"=>"name", "created_at"=>2013-04-19 09:05:19 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517108cfc82cd13055000037", :_original_id=>BSON::ObjectId('517108cfc82cd1305500003c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('517108cfc82cd13055000031'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517108cfc82cd1305500003d'), "_original_type"=>"Locomotive::ContentEntry517108cfc82cd13055000037", "_original_id"=>BSON::ObjectId('517108cfc82cd1305500003c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('517108cfc82cd13055000031'), :parent_id=>BSON::ObjectId('517108cfc82cd13055000034')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517108cfc82cd13055000034'), :site_id=>BSON::ObjectId('517108cfc82cd13055000031'), :_id=>{"$ne"=>BSON::ObjectId('517108cfc82cd1305500003e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517108cfc82cd13055000034')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517108cfc82cd13055000034')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517108cfc82cd1305500003e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('517108cfc82cd13055000031'), "parent_id"=>BSON::ObjectId('517108cfc82cd13055000034'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 09:05:19 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-19 09:05:19 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cfc82cd13055000031'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517108cfc82cd1305500003e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517108cfc82cd1305500003e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517108cfc82cd1305500003e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517108cfc82cd1305500003e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('517108cfc82cd13055000031')}, "_id"=>BSON::ObjectId('517108cfc82cd1305500003f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517108cfc82cd1305500003e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('517108cfc82cd13055000031'), :parent_id=>BSON::ObjectId('517108cfc82cd13055000034')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517108cfc82cd13055000034'), :site_id=>BSON::ObjectId('517108cfc82cd13055000031'), :_id=>{"$ne"=>BSON::ObjectId('517108cfc82cd13055000040')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517108cfc82cd13055000034'), :site_id=>BSON::ObjectId('517108cfc82cd13055000031'), :_id=>{"$ne"=>BSON::ObjectId('517108cfc82cd13055000040')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('517108cfc82cd13055000034'), :site_id=>BSON::ObjectId('517108cfc82cd13055000031'), :_id=>{"$ne"=>BSON::ObjectId('517108cfc82cd13055000040')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517108cfc82cd13055000034')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517108cfc82cd13055000034')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517108cfc82cd13055000040'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('517108cfc82cd13055000031'), "parent_id"=>BSON::ObjectId('517108cfc82cd13055000034'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 09:05:19 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-19 09:05:19 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cfc82cd13055000031'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517108cfc82cd13055000040')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517108cfc82cd13055000040')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517108cfc82cd13055000040')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517108cfc82cd13055000040')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('517108cfc82cd13055000031')}, "_id"=>BSON::ObjectId('517108cfc82cd13055000041'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517108cfc82cd13055000040'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cfc82cd13055000031'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('517108cfc82cd13055000031')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('517108cfc82cd13055000034')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cfc82cd13055000031'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517108cfc82cd13055000034')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517108cfc82cd13055000034')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('517108cfc82cd13055000035')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('517108cfc82cd13055000031')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('517108cfc82cd13055000042'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-19 09:05:17 UTC, "updated_at"=>2013-04-19 09:05:19 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('517108cfc82cd13055000043'), "account_id"=>BSON::ObjectId('517108cfc82cd13055000032')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('517108cfc82cd13055000042'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517108cfc82cd13055000042'), :_id=>{"$ne"=>BSON::ObjectId('517108cfc82cd13055000044')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517108cfc82cd13055000044'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('517108cfc82cd13055000042'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:05:19 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 09:05:19 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cfc82cd13055000042'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517108cfc82cd13055000044')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517108cfc82cd13055000044')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517108cfc82cd13055000044')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517108cfc82cd13055000044')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('517108cfc82cd13055000042')}, "_id"=>BSON::ObjectId('517108cfc82cd13055000045'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517108cfc82cd13055000044'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('517108cfc82cd13055000042'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517108cfc82cd13055000042'), :_id=>{"$ne"=>BSON::ObjectId('517108cfc82cd13055000046')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517108cfc82cd13055000042'), :_id=>{"$ne"=>BSON::ObjectId('517108cfc82cd13055000046')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517108cfc82cd13055000042'), :_id=>{"$ne"=>BSON::ObjectId('517108cfc82cd13055000046')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517108cfc82cd13055000046'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('517108cfc82cd13055000042'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:05:19 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 09:05:19 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cfc82cd13055000042'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517108cfc82cd13055000046')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517108cfc82cd13055000046')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517108cfc82cd13055000046')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('517108cfc82cd13055000042'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517108cfc82cd13055000042'), :_id=>{"$ne"=>BSON::ObjectId('517108cfc82cd13055000047')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517108cfc82cd13055000042'), :_id=>{"$ne"=>BSON::ObjectId('517108cfc82cd13055000047')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517108cfc82cd13055000042'), :_id=>{"$ne"=>BSON::ObjectId('517108cfc82cd13055000047')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517108cfc82cd13055000047'), "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"=>BSON::ObjectId('517108cfc82cd13055000042'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 09:05:19 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-19 09:05:19 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cfc82cd13055000042'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517108cfc82cd13055000047')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517108cfc82cd13055000047')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517108cfc82cd13055000047')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517108cfc82cd13055000047')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('517108cfc82cd13055000042')}, "_id"=>BSON::ObjectId('517108cfc82cd13055000048'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517108cfc82cd13055000047'), "_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"]}]) Started GET "/" for 127.0.0.1 at 2013-04-19 11:05:19 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cfc82cd13055000031'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.4ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-19 11:05:19 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517108cfc82cd13055000031'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.4ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51711d0ec82cd137dd000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"TvDxZTutaYDJkpLTZZUT", "encrypted_password"=>"a922ce6c1f94ddede646b88c9cc32b801ead08d8", "updated_at"=>2013-04-19 10:31:42 UTC, "created_at"=>2013-04-19 10:31:42 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51711d0ec82cd137dd000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-19 10:31:42 UTC, "updated_at"=>2013-04-19 10:31:42 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51711d0ec82cd137dd000003'), "account_id"=>BSON::ObjectId('51711d0ec82cd137dd000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51711d0ec82cd137dd000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711d0ec82cd137dd000001'), :_id=>{"$ne"=>BSON::ObjectId('51711d0fc82cd137dd000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711d0fc82cd137dd000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51711d0ec82cd137dd000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:31:43 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 10:31:43 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711d0fc82cd137dd000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711d0ec82cd137dd000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711d0fc82cd137dd000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711d0fc82cd137dd000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711d0fc82cd137dd000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51711d0ec82cd137dd000001')}, "_id"=>BSON::ObjectId('51711d0fc82cd137dd000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711d0fc82cd137dd000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51711d0ec82cd137dd000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711d0ec82cd137dd000001'), :_id=>{"$ne"=>BSON::ObjectId('51711d0fc82cd137dd000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711d0ec82cd137dd000001'), :_id=>{"$ne"=>BSON::ObjectId('51711d0fc82cd137dd000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51711d0ec82cd137dd000001'), :_id=>{"$ne"=>BSON::ObjectId('51711d0fc82cd137dd000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711d0fc82cd137dd000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51711d0ec82cd137dd000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:31:43 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 10:31:43 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711d0ec82cd137dd000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711d0fc82cd137dd000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711d0fc82cd137dd000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711d0fc82cd137dd000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51711d0ec82cd137dd000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51711d0fc82cd137dd000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51711d0ec82cd137dd000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 10:31:43 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51711d0fc82cd137dd000008'), "created_at"=>2013-04-19 10:31:43 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51711d0fc82cd137dd000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 10:31:43 UTC, "created_at"=>2013-04-19 10:31:43 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51711d0fc82cd137dd000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51711d0fc82cd137dd000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-19 10:31:43 UTC, "created_at"=>2013-04-19 10:31:43 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51711d0fc82cd137dd00000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51711d0fc82cd137dd000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51711d0fc82cd137dd000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51711d0fc82cd137dd000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51711d0fc82cd137dd00000a'), "_type"=>"Locomotive::ContentEntry51711d0fc82cd137dd000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51711d0fc82cd137dd000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51711d0fc82cd137dd000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-19 10:31:43 UTC, "site_id"=>BSON::ObjectId('51711d0ec82cd137dd000001'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:31:43 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51711d0fc82cd137dd000007", :_original_id=>BSON::ObjectId('51711d0fc82cd137dd00000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51711d0ec82cd137dd000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51711d0fc82cd137dd00000b'), "_original_type"=>"Locomotive::ContentEntry51711d0fc82cd137dd000007", "_original_id"=>BSON::ObjectId('51711d0fc82cd137dd00000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51711d0fc82cd137dd00000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51711d0fc82cd137dd000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51711d0fc82cd137dd000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51711d0fc82cd137dd000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51711d0fc82cd137dd00000c'), "_type"=>"Locomotive::ContentEntry51711d0fc82cd137dd000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51711d0fc82cd137dd000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51711d0fc82cd137dd000007'), "_slug"=>"hidden", "updated_at"=>2013-04-19 10:31:43 UTC, "site_id"=>BSON::ObjectId('51711d0ec82cd137dd000001'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:31:43 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51711d0fc82cd137dd000007", :_original_id=>BSON::ObjectId('51711d0fc82cd137dd00000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51711d0ec82cd137dd000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51711d0fc82cd137dd00000d'), "_original_type"=>"Locomotive::ContentEntry51711d0fc82cd137dd000007", "_original_id"=>BSON::ObjectId('51711d0fc82cd137dd00000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51711d0ec82cd137dd000001'), :parent_id=>BSON::ObjectId('51711d0fc82cd137dd000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51711d0fc82cd137dd000004'), :site_id=>BSON::ObjectId('51711d0ec82cd137dd000001'), :_id=>{"$ne"=>BSON::ObjectId('51711d0fc82cd137dd00000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51711d0fc82cd137dd000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51711d0fc82cd137dd000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711d0fc82cd137dd00000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51711d0ec82cd137dd000001'), "parent_id"=>BSON::ObjectId('51711d0fc82cd137dd000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 10:31:43 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-19 10:31:43 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711d0ec82cd137dd000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711d0fc82cd137dd00000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711d0fc82cd137dd00000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711d0fc82cd137dd00000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711d0fc82cd137dd00000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51711d0ec82cd137dd000001')}, "_id"=>BSON::ObjectId('51711d0fc82cd137dd00000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711d0fc82cd137dd00000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('51711d0ec82cd137dd000001'), :parent_id=>BSON::ObjectId('51711d0fc82cd137dd000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51711d0fc82cd137dd000004'), :site_id=>BSON::ObjectId('51711d0ec82cd137dd000001'), :_id=>{"$ne"=>BSON::ObjectId('51711d0fc82cd137dd000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51711d0fc82cd137dd000004'), :site_id=>BSON::ObjectId('51711d0ec82cd137dd000001'), :_id=>{"$ne"=>BSON::ObjectId('51711d0fc82cd137dd000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('51711d0fc82cd137dd000004'), :site_id=>BSON::ObjectId('51711d0ec82cd137dd000001'), :_id=>{"$ne"=>BSON::ObjectId('51711d0fc82cd137dd000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51711d0fc82cd137dd000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51711d0fc82cd137dd000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711d0fc82cd137dd000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('51711d0ec82cd137dd000001'), "parent_id"=>BSON::ObjectId('51711d0fc82cd137dd000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 10:31:43 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-19 10:31:43 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711d0ec82cd137dd000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711d0fc82cd137dd000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711d0fc82cd137dd000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711d0fc82cd137dd000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711d0fc82cd137dd000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('51711d0ec82cd137dd000001')}, "_id"=>BSON::ObjectId('51711d0fc82cd137dd000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711d0fc82cd137dd000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711d0ec82cd137dd000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('51711d0ec82cd137dd000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('51711d0fc82cd137dd000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711d0ec82cd137dd000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711d0fc82cd137dd000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711d0fc82cd137dd000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('51711d0fc82cd137dd000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('51711d0ec82cd137dd000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('51711d0fc82cd137dd000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-19 10:31:42 UTC, "updated_at"=>2013-04-19 10:31:43 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51711d0fc82cd137dd000013'), "account_id"=>BSON::ObjectId('51711d0ec82cd137dd000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51711d0fc82cd137dd000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711d0fc82cd137dd000012'), :_id=>{"$ne"=>BSON::ObjectId('51711d0fc82cd137dd000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711d0fc82cd137dd000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51711d0fc82cd137dd000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:31:43 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 10:31:43 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711d0fc82cd137dd000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711d0fc82cd137dd000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711d0fc82cd137dd000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711d0fc82cd137dd000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711d0fc82cd137dd000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51711d0fc82cd137dd000012')}, "_id"=>BSON::ObjectId('51711d0fc82cd137dd000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711d0fc82cd137dd000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51711d0fc82cd137dd000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711d0fc82cd137dd000012'), :_id=>{"$ne"=>BSON::ObjectId('51711d0fc82cd137dd000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711d0fc82cd137dd000012'), :_id=>{"$ne"=>BSON::ObjectId('51711d0fc82cd137dd000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51711d0fc82cd137dd000012'), :_id=>{"$ne"=>BSON::ObjectId('51711d0fc82cd137dd000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711d0fc82cd137dd000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51711d0fc82cd137dd000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:31:43 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 10:31:43 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711d0fc82cd137dd000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711d0fc82cd137dd000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711d0fc82cd137dd000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711d0fc82cd137dd000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('51711d0fc82cd137dd000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711d0fc82cd137dd000012'), :_id=>{"$ne"=>BSON::ObjectId('51711d0fc82cd137dd000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711d0fc82cd137dd000012'), :_id=>{"$ne"=>BSON::ObjectId('51711d0fc82cd137dd000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51711d0fc82cd137dd000012'), :_id=>{"$ne"=>BSON::ObjectId('51711d0fc82cd137dd000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711d0fc82cd137dd000017'), "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"=>BSON::ObjectId('51711d0fc82cd137dd000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:31:43 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-19 10:31:43 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711d0fc82cd137dd000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711d0fc82cd137dd000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711d0fc82cd137dd000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711d0fc82cd137dd000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711d0fc82cd137dd000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('51711d0fc82cd137dd000012')}, "_id"=>BSON::ObjectId('51711d0fc82cd137dd000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711d0fc82cd137dd000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51711d0fc82cd137dd000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51711d0fc82cd137dd000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51711d0fc82cd137dd000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 10:31:43 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51711d0fc82cd137dd00001a'), "created_at"=>2013-04-19 10:31:44 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51711d0fc82cd137dd00001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 10:31:43 UTC, "created_at"=>2013-04-19 10:31:43 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51711d10c82cd137dd00001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51711d0fc82cd137dd000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('51711d0fc82cd137dd000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51711d0fc82cd137dd000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51711d10c82cd137dd00001b'), "_type"=>"Locomotive::ContentEntry51711d0fc82cd137dd000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51711d0fc82cd137dd000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51711d0fc82cd137dd000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-19 10:31:44 UTC, "site_id"=>BSON::ObjectId('51711d0fc82cd137dd000012'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:31:44 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51711d0fc82cd137dd000019", :_original_id=>BSON::ObjectId('51711d10c82cd137dd00001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('51711d0fc82cd137dd000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51711d10c82cd137dd00001c'), "_original_type"=>"Locomotive::ContentEntry51711d0fc82cd137dd000019", "_original_id"=>BSON::ObjectId('51711d10c82cd137dd00001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-19 12:31:44 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711d0ec82cd137dd000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 115ms (Views: 108.7ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-19 12:31:44 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711d0ec82cd137dd000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_keywords=>{"$in"=>["findable", "en:findable"]}}) Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 0.6ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51711d11c82cd137dd00001e'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"jJeZiHaaitpqaRp8uT9Y", "encrypted_password"=>"f24c617266de557061b43f79925ef8a3c0e8c1b6", "updated_at"=>2013-04-19 10:31:45 UTC, "created_at"=>2013-04-19 10:31:45 UTC}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51711d11c82cd137dd00001d'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-19 10:31:42 UTC, "updated_at"=>2013-04-19 10:31:45 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51711d11c82cd137dd00001f'), "account_id"=>BSON::ObjectId('51711d11c82cd137dd00001e')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51711d11c82cd137dd00001d'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711d11c82cd137dd00001d'), :_id=>{"$ne"=>BSON::ObjectId('51711d11c82cd137dd000020')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711d11c82cd137dd000020'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51711d11c82cd137dd00001d'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:31:45 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 10:31:45 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711d11c82cd137dd00001d'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711d11c82cd137dd000020')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711d11c82cd137dd000020')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711d11c82cd137dd000020')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711d11c82cd137dd000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51711d11c82cd137dd00001d')}, "_id"=>BSON::ObjectId('51711d12c82cd137dd000021'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711d11c82cd137dd000020'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51711d11c82cd137dd00001d'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711d11c82cd137dd00001d'), :_id=>{"$ne"=>BSON::ObjectId('51711d12c82cd137dd000022')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711d11c82cd137dd00001d'), :_id=>{"$ne"=>BSON::ObjectId('51711d12c82cd137dd000022')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51711d11c82cd137dd00001d'), :_id=>{"$ne"=>BSON::ObjectId('51711d12c82cd137dd000022')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711d12c82cd137dd000022'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51711d11c82cd137dd00001d'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:31:46 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 10:31:46 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711d11c82cd137dd00001d'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711d12c82cd137dd000022')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711d12c82cd137dd000022')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711d12c82cd137dd000022')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51711d11c82cd137dd00001d')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51711d12c82cd137dd000023'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51711d11c82cd137dd00001d'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 10:31:46 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51711d12c82cd137dd000024'), "created_at"=>2013-04-19 10:31:46 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51711d12c82cd137dd000024'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 10:31:46 UTC, "created_at"=>2013-04-19 10:31:46 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51711d12c82cd137dd000023')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51711d12c82cd137dd000025'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-19 10:31:46 UTC, "created_at"=>2013-04-19 10:31:46 UTC}}}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51711d12c82cd137dd000026')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51711d12c82cd137dd000023"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51711d12c82cd137dd000023')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51711d12c82cd137dd000023"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51711d12c82cd137dd000026'), "_type"=>"Locomotive::ContentEntry51711d12c82cd137dd000023", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51711d12c82cd137dd000023", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51711d12c82cd137dd000023'), "_slug"=>"findable-entry", "updated_at"=>2013-04-19 10:31:46 UTC, "site_id"=>BSON::ObjectId('51711d11c82cd137dd00001d'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:31:46 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51711d12c82cd137dd000023", :_original_id=>BSON::ObjectId('51711d12c82cd137dd000026')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51711d11c82cd137dd00001d'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51711d12c82cd137dd000027'), "_original_type"=>"Locomotive::ContentEntry51711d12c82cd137dd000023", "_original_id"=>BSON::ObjectId('51711d12c82cd137dd000026'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51711d12c82cd137dd000028')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51711d12c82cd137dd000023"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51711d12c82cd137dd000023')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51711d12c82cd137dd000023"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51711d12c82cd137dd000028'), "_type"=>"Locomotive::ContentEntry51711d12c82cd137dd000023", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51711d12c82cd137dd000023", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51711d12c82cd137dd000023'), "_slug"=>"hidden", "updated_at"=>2013-04-19 10:31:46 UTC, "site_id"=>BSON::ObjectId('51711d11c82cd137dd00001d'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:31:46 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51711d12c82cd137dd000023", :_original_id=>BSON::ObjectId('51711d12c82cd137dd000028')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51711d11c82cd137dd00001d'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51711d12c82cd137dd000029'), "_original_type"=>"Locomotive::ContentEntry51711d12c82cd137dd000023", "_original_id"=>BSON::ObjectId('51711d12c82cd137dd000028'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51711d11c82cd137dd00001d'), :parent_id=>BSON::ObjectId('51711d11c82cd137dd000020')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51711d11c82cd137dd000020'), :site_id=>BSON::ObjectId('51711d11c82cd137dd00001d'), :_id=>{"$ne"=>BSON::ObjectId('51711d12c82cd137dd00002a')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51711d11c82cd137dd000020')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51711d11c82cd137dd000020')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711d12c82cd137dd00002a'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51711d11c82cd137dd00001d'), "parent_id"=>BSON::ObjectId('51711d11c82cd137dd000020'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 10:31:46 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-19 10:31:46 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711d11c82cd137dd00001d'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711d12c82cd137dd00002a')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711d12c82cd137dd00002a')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711d12c82cd137dd00002a')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711d12c82cd137dd00002a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51711d11c82cd137dd00001d')}, "_id"=>BSON::ObjectId('51711d12c82cd137dd00002b'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711d12c82cd137dd00002a'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('51711d11c82cd137dd00001d'), :parent_id=>BSON::ObjectId('51711d11c82cd137dd000020')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51711d11c82cd137dd000020'), :site_id=>BSON::ObjectId('51711d11c82cd137dd00001d'), :_id=>{"$ne"=>BSON::ObjectId('51711d12c82cd137dd00002c')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51711d11c82cd137dd000020'), :site_id=>BSON::ObjectId('51711d11c82cd137dd00001d'), :_id=>{"$ne"=>BSON::ObjectId('51711d12c82cd137dd00002c')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('51711d11c82cd137dd000020'), :site_id=>BSON::ObjectId('51711d11c82cd137dd00001d'), :_id=>{"$ne"=>BSON::ObjectId('51711d12c82cd137dd00002c')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51711d11c82cd137dd000020')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51711d11c82cd137dd000020')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711d12c82cd137dd00002c'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('51711d11c82cd137dd00001d'), "parent_id"=>BSON::ObjectId('51711d11c82cd137dd000020'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 10:31:46 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-19 10:31:46 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711d11c82cd137dd00001d'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711d12c82cd137dd00002c')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711d12c82cd137dd00002c')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711d12c82cd137dd00002c')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711d12c82cd137dd00002c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('51711d11c82cd137dd00001d')}, "_id"=>BSON::ObjectId('51711d12c82cd137dd00002d'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711d12c82cd137dd00002c'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711d11c82cd137dd00001d'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('51711d11c82cd137dd00001d')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('51711d11c82cd137dd000020')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:31:46 UTC}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711d11c82cd137dd00001d'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711d11c82cd137dd000020')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711d11c82cd137dd000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('51711d12c82cd137dd000021')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('51711d11c82cd137dd00001d')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('51711d12c82cd137dd00002e'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-19 10:31:42 UTC, "updated_at"=>2013-04-19 10:31:46 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51711d12c82cd137dd00002f'), "account_id"=>BSON::ObjectId('51711d11c82cd137dd00001e')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51711d12c82cd137dd00002e'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711d12c82cd137dd00002e'), :_id=>{"$ne"=>BSON::ObjectId('51711d12c82cd137dd000030')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711d12c82cd137dd000030'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51711d12c82cd137dd00002e'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:31:46 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 10:31:46 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711d12c82cd137dd00002e'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711d12c82cd137dd000030')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711d12c82cd137dd000030')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711d12c82cd137dd000030')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711d12c82cd137dd000030')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51711d12c82cd137dd00002e')}, "_id"=>BSON::ObjectId('51711d12c82cd137dd000031'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711d12c82cd137dd000030'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51711d12c82cd137dd00002e'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711d12c82cd137dd00002e'), :_id=>{"$ne"=>BSON::ObjectId('51711d12c82cd137dd000032')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711d12c82cd137dd00002e'), :_id=>{"$ne"=>BSON::ObjectId('51711d12c82cd137dd000032')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51711d12c82cd137dd00002e'), :_id=>{"$ne"=>BSON::ObjectId('51711d12c82cd137dd000032')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711d12c82cd137dd000032'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51711d12c82cd137dd00002e'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:31:46 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 10:31:46 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711d12c82cd137dd00002e'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711d12c82cd137dd000032')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711d12c82cd137dd000032')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711d12c82cd137dd000032')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('51711d12c82cd137dd00002e'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711d12c82cd137dd00002e'), :_id=>{"$ne"=>BSON::ObjectId('51711d12c82cd137dd000033')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711d12c82cd137dd00002e'), :_id=>{"$ne"=>BSON::ObjectId('51711d12c82cd137dd000033')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51711d12c82cd137dd00002e'), :_id=>{"$ne"=>BSON::ObjectId('51711d12c82cd137dd000033')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711d12c82cd137dd000033'), "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"=>BSON::ObjectId('51711d12c82cd137dd00002e'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:31:46 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-19 10:31:46 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711d12c82cd137dd00002e'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711d12c82cd137dd000033')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711d12c82cd137dd000033')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711d12c82cd137dd000033')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711d12c82cd137dd000033')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('51711d12c82cd137dd00002e')}, "_id"=>BSON::ObjectId('51711d12c82cd137dd000034'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711d12c82cd137dd000033'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51711d12c82cd137dd00002e')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51711d12c82cd137dd000035'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51711d12c82cd137dd00002e'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 10:31:46 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51711d12c82cd137dd000036'), "created_at"=>2013-04-19 10:31:46 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51711d12c82cd137dd000036'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 10:31:46 UTC, "created_at"=>2013-04-19 10:31:46 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51711d12c82cd137dd000037')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51711d12c82cd137dd000035"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('51711d12c82cd137dd000035')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51711d12c82cd137dd000035"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51711d12c82cd137dd000037'), "_type"=>"Locomotive::ContentEntry51711d12c82cd137dd000035", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51711d12c82cd137dd000035", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51711d12c82cd137dd000035'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-19 10:31:46 UTC, "site_id"=>BSON::ObjectId('51711d12c82cd137dd00002e'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:31:46 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51711d12c82cd137dd000035", :_original_id=>BSON::ObjectId('51711d12c82cd137dd000037')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('51711d12c82cd137dd00002e'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51711d12c82cd137dd000038'), "_original_type"=>"Locomotive::ContentEntry51711d12c82cd137dd000035", "_original_id"=>BSON::ObjectId('51711d12c82cd137dd000037'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-19 12:31:46 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711d11c82cd137dd00001d'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.6ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-19 12:31:46 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711d11c82cd137dd00001d'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 6ms (Views: 0.6ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51711da2c82cd13828000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"xMEztKiTzMB9SQxzos5h", "encrypted_password"=>"fc9bc971c7eebb2f493c7343a1948dc0372fae98", "updated_at"=>2013-04-19 10:34:10 UTC, "created_at"=>2013-04-19 10:34:10 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51711da2c82cd13828000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-19 10:34:10 UTC, "updated_at"=>2013-04-19 10:34:10 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51711da2c82cd13828000003'), "account_id"=>BSON::ObjectId('51711da2c82cd13828000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51711da2c82cd13828000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711da2c82cd13828000001'), :_id=>{"$ne"=>BSON::ObjectId('51711da3c82cd13828000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711da3c82cd13828000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51711da2c82cd13828000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:34:11 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:11 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711da3c82cd13828000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711da2c82cd13828000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711da3c82cd13828000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711da3c82cd13828000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711da3c82cd13828000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51711da2c82cd13828000001')}, "_id"=>BSON::ObjectId('51711da3c82cd13828000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711da3c82cd13828000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51711da2c82cd13828000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711da2c82cd13828000001'), :_id=>{"$ne"=>BSON::ObjectId('51711da3c82cd13828000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711da2c82cd13828000001'), :_id=>{"$ne"=>BSON::ObjectId('51711da3c82cd13828000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51711da2c82cd13828000001'), :_id=>{"$ne"=>BSON::ObjectId('51711da3c82cd13828000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711da3c82cd13828000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51711da2c82cd13828000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:34:11 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:11 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711da2c82cd13828000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711da3c82cd13828000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711da3c82cd13828000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711da3c82cd13828000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51711da2c82cd13828000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51711da3c82cd13828000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51711da2c82cd13828000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 10:34:11 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51711da3c82cd13828000008'), "created_at"=>2013-04-19 10:34:11 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51711da3c82cd13828000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 10:34:11 UTC, "created_at"=>2013-04-19 10:34:11 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51711da3c82cd13828000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51711da3c82cd13828000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-19 10:34:11 UTC, "created_at"=>2013-04-19 10:34:11 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51711da3c82cd1382800000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51711da3c82cd13828000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51711da3c82cd13828000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51711da3c82cd13828000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51711da3c82cd1382800000a'), "_type"=>"Locomotive::ContentEntry51711da3c82cd13828000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51711da3c82cd13828000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51711da3c82cd13828000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-19 10:34:11 UTC, "site_id"=>BSON::ObjectId('51711da2c82cd13828000001'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:34:11 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51711da3c82cd13828000007", :_original_id=>BSON::ObjectId('51711da3c82cd1382800000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51711da2c82cd13828000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51711da3c82cd1382800000b'), "_original_type"=>"Locomotive::ContentEntry51711da3c82cd13828000007", "_original_id"=>BSON::ObjectId('51711da3c82cd1382800000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51711da3c82cd1382800000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51711da3c82cd13828000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51711da3c82cd13828000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51711da3c82cd13828000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51711da3c82cd1382800000c'), "_type"=>"Locomotive::ContentEntry51711da3c82cd13828000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51711da3c82cd13828000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51711da3c82cd13828000007'), "_slug"=>"hidden", "updated_at"=>2013-04-19 10:34:11 UTC, "site_id"=>BSON::ObjectId('51711da2c82cd13828000001'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:34:11 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51711da3c82cd13828000007", :_original_id=>BSON::ObjectId('51711da3c82cd1382800000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51711da2c82cd13828000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51711da3c82cd1382800000d'), "_original_type"=>"Locomotive::ContentEntry51711da3c82cd13828000007", "_original_id"=>BSON::ObjectId('51711da3c82cd1382800000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51711da2c82cd13828000001'), :parent_id=>BSON::ObjectId('51711da3c82cd13828000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51711da3c82cd13828000004'), :site_id=>BSON::ObjectId('51711da2c82cd13828000001'), :_id=>{"$ne"=>BSON::ObjectId('51711da3c82cd1382800000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51711da3c82cd13828000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51711da3c82cd13828000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711da3c82cd1382800000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51711da2c82cd13828000001'), "parent_id"=>BSON::ObjectId('51711da3c82cd13828000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 10:34:11 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:11 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711da2c82cd13828000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711da3c82cd1382800000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711da3c82cd1382800000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711da3c82cd1382800000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711da3c82cd1382800000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51711da2c82cd13828000001')}, "_id"=>BSON::ObjectId('51711da3c82cd1382800000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711da3c82cd1382800000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('51711da2c82cd13828000001'), :parent_id=>BSON::ObjectId('51711da3c82cd13828000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51711da3c82cd13828000004'), :site_id=>BSON::ObjectId('51711da2c82cd13828000001'), :_id=>{"$ne"=>BSON::ObjectId('51711da3c82cd13828000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51711da3c82cd13828000004'), :site_id=>BSON::ObjectId('51711da2c82cd13828000001'), :_id=>{"$ne"=>BSON::ObjectId('51711da3c82cd13828000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('51711da3c82cd13828000004'), :site_id=>BSON::ObjectId('51711da2c82cd13828000001'), :_id=>{"$ne"=>BSON::ObjectId('51711da3c82cd13828000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51711da3c82cd13828000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51711da3c82cd13828000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711da3c82cd13828000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('51711da2c82cd13828000001'), "parent_id"=>BSON::ObjectId('51711da3c82cd13828000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 10:34:11 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:11 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711da2c82cd13828000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711da3c82cd13828000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711da3c82cd13828000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711da3c82cd13828000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711da3c82cd13828000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('51711da2c82cd13828000001')}, "_id"=>BSON::ObjectId('51711da3c82cd13828000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711da3c82cd13828000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711da2c82cd13828000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('51711da2c82cd13828000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('51711da3c82cd13828000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711da2c82cd13828000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711da3c82cd13828000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711da3c82cd13828000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('51711da3c82cd13828000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('51711da2c82cd13828000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('51711da3c82cd13828000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-19 10:34:10 UTC, "updated_at"=>2013-04-19 10:34:11 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51711da3c82cd13828000013'), "account_id"=>BSON::ObjectId('51711da2c82cd13828000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51711da3c82cd13828000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711da3c82cd13828000012'), :_id=>{"$ne"=>BSON::ObjectId('51711da3c82cd13828000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711da3c82cd13828000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51711da3c82cd13828000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:34:11 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:11 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711da3c82cd13828000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711da3c82cd13828000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711da3c82cd13828000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711da3c82cd13828000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711da3c82cd13828000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51711da3c82cd13828000012')}, "_id"=>BSON::ObjectId('51711da3c82cd13828000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711da3c82cd13828000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51711da3c82cd13828000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711da3c82cd13828000012'), :_id=>{"$ne"=>BSON::ObjectId('51711da3c82cd13828000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711da3c82cd13828000012'), :_id=>{"$ne"=>BSON::ObjectId('51711da3c82cd13828000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51711da3c82cd13828000012'), :_id=>{"$ne"=>BSON::ObjectId('51711da3c82cd13828000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711da3c82cd13828000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51711da3c82cd13828000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:34:11 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:11 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711da3c82cd13828000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711da3c82cd13828000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711da3c82cd13828000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711da3c82cd13828000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('51711da3c82cd13828000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711da3c82cd13828000012'), :_id=>{"$ne"=>BSON::ObjectId('51711da3c82cd13828000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711da3c82cd13828000012'), :_id=>{"$ne"=>BSON::ObjectId('51711da3c82cd13828000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51711da3c82cd13828000012'), :_id=>{"$ne"=>BSON::ObjectId('51711da3c82cd13828000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711da3c82cd13828000017'), "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"=>BSON::ObjectId('51711da3c82cd13828000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:34:11 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:11 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711da3c82cd13828000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711da3c82cd13828000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711da3c82cd13828000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711da3c82cd13828000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711da3c82cd13828000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('51711da3c82cd13828000012')}, "_id"=>BSON::ObjectId('51711da3c82cd13828000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711da3c82cd13828000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51711da3c82cd13828000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51711da3c82cd13828000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51711da3c82cd13828000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 10:34:11 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51711da3c82cd1382800001a'), "created_at"=>2013-04-19 10:34:11 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51711da3c82cd1382800001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 10:34:11 UTC, "created_at"=>2013-04-19 10:34:11 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51711da3c82cd1382800001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51711da3c82cd13828000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('51711da3c82cd13828000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51711da3c82cd13828000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51711da3c82cd1382800001b'), "_type"=>"Locomotive::ContentEntry51711da3c82cd13828000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51711da3c82cd13828000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51711da3c82cd13828000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-19 10:34:11 UTC, "site_id"=>BSON::ObjectId('51711da3c82cd13828000012'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:34:11 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51711da3c82cd13828000019", :_original_id=>BSON::ObjectId('51711da3c82cd1382800001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('51711da3c82cd13828000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51711da4c82cd1382800001c'), "_original_type"=>"Locomotive::ContentEntry51711da3c82cd13828000019", "_original_id"=>BSON::ObjectId('51711da3c82cd1382800001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-19 12:34:12 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711da2c82cd13828000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 118ms (Views: 111.7ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-19 12:34:12 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711da2c82cd13828000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_keywords=>{"$in"=>["findable", "en:findable"]}}) Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 0.6ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51711da4c82cd1382800001e'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"cs8CxaqGApfF3GzagN2x", "encrypted_password"=>"e5ba64026c935cafe40db7761c7e87eae2e1a765", "updated_at"=>2013-04-19 10:34:12 UTC, "created_at"=>2013-04-19 10:34:12 UTC}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51711da4c82cd1382800001d'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-19 10:34:10 UTC, "updated_at"=>2013-04-19 10:34:12 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51711da4c82cd1382800001f'), "account_id"=>BSON::ObjectId('51711da4c82cd1382800001e')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51711da4c82cd1382800001d'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711da4c82cd1382800001d'), :_id=>{"$ne"=>BSON::ObjectId('51711da4c82cd13828000020')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711da4c82cd13828000020'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51711da4c82cd1382800001d'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:34:12 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:12 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711da4c82cd1382800001d'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711da4c82cd13828000020')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711da4c82cd13828000020')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711da4c82cd13828000020')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711da4c82cd13828000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51711da4c82cd1382800001d')}, "_id"=>BSON::ObjectId('51711da4c82cd13828000021'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711da4c82cd13828000020'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51711da4c82cd1382800001d'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711da4c82cd1382800001d'), :_id=>{"$ne"=>BSON::ObjectId('51711da4c82cd13828000022')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711da4c82cd1382800001d'), :_id=>{"$ne"=>BSON::ObjectId('51711da4c82cd13828000022')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51711da4c82cd1382800001d'), :_id=>{"$ne"=>BSON::ObjectId('51711da4c82cd13828000022')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711da4c82cd13828000022'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51711da4c82cd1382800001d'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:34:12 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:12 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711da4c82cd1382800001d'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711da4c82cd13828000022')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711da4c82cd13828000022')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711da4c82cd13828000022')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51711da4c82cd1382800001d')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51711da4c82cd13828000023'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51711da4c82cd1382800001d'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 10:34:12 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51711da4c82cd13828000024'), "created_at"=>2013-04-19 10:34:12 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51711da4c82cd13828000024'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 10:34:12 UTC, "created_at"=>2013-04-19 10:34:12 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51711da4c82cd13828000023')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51711da4c82cd13828000025'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-19 10:34:12 UTC, "created_at"=>2013-04-19 10:34:12 UTC}}}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51711da4c82cd13828000026')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51711da4c82cd13828000023"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51711da4c82cd13828000023')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51711da4c82cd13828000023"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51711da4c82cd13828000026'), "_type"=>"Locomotive::ContentEntry51711da4c82cd13828000023", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51711da4c82cd13828000023", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51711da4c82cd13828000023'), "_slug"=>"findable-entry", "updated_at"=>2013-04-19 10:34:12 UTC, "site_id"=>BSON::ObjectId('51711da4c82cd1382800001d'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:34:12 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51711da4c82cd13828000023", :_original_id=>BSON::ObjectId('51711da4c82cd13828000026')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51711da4c82cd1382800001d'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51711da4c82cd13828000027'), "_original_type"=>"Locomotive::ContentEntry51711da4c82cd13828000023", "_original_id"=>BSON::ObjectId('51711da4c82cd13828000026'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51711da4c82cd13828000028')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51711da4c82cd13828000023"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51711da4c82cd13828000023')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51711da4c82cd13828000023"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51711da4c82cd13828000028'), "_type"=>"Locomotive::ContentEntry51711da4c82cd13828000023", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51711da4c82cd13828000023", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51711da4c82cd13828000023'), "_slug"=>"hidden", "updated_at"=>2013-04-19 10:34:12 UTC, "site_id"=>BSON::ObjectId('51711da4c82cd1382800001d'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:34:12 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51711da4c82cd13828000023", :_original_id=>BSON::ObjectId('51711da4c82cd13828000028')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51711da4c82cd1382800001d'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51711da4c82cd13828000029'), "_original_type"=>"Locomotive::ContentEntry51711da4c82cd13828000023", "_original_id"=>BSON::ObjectId('51711da4c82cd13828000028'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51711da4c82cd1382800001d'), :parent_id=>BSON::ObjectId('51711da4c82cd13828000020')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51711da4c82cd13828000020'), :site_id=>BSON::ObjectId('51711da4c82cd1382800001d'), :_id=>{"$ne"=>BSON::ObjectId('51711da4c82cd1382800002a')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51711da4c82cd13828000020')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51711da4c82cd13828000020')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711da4c82cd1382800002a'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51711da4c82cd1382800001d'), "parent_id"=>BSON::ObjectId('51711da4c82cd13828000020'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 10:34:12 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:12 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711da4c82cd1382800001d'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711da4c82cd1382800002a')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711da4c82cd1382800002a')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711da4c82cd1382800002a')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711da4c82cd1382800002a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51711da4c82cd1382800001d')}, "_id"=>BSON::ObjectId('51711da4c82cd1382800002b'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711da4c82cd1382800002a'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('51711da4c82cd1382800001d'), :parent_id=>BSON::ObjectId('51711da4c82cd13828000020')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51711da4c82cd13828000020'), :site_id=>BSON::ObjectId('51711da4c82cd1382800001d'), :_id=>{"$ne"=>BSON::ObjectId('51711da4c82cd1382800002c')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51711da4c82cd13828000020'), :site_id=>BSON::ObjectId('51711da4c82cd1382800001d'), :_id=>{"$ne"=>BSON::ObjectId('51711da4c82cd1382800002c')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('51711da4c82cd13828000020'), :site_id=>BSON::ObjectId('51711da4c82cd1382800001d'), :_id=>{"$ne"=>BSON::ObjectId('51711da4c82cd1382800002c')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51711da4c82cd13828000020')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51711da4c82cd13828000020')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711da4c82cd1382800002c'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('51711da4c82cd1382800001d'), "parent_id"=>BSON::ObjectId('51711da4c82cd13828000020'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 10:34:12 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:12 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711da4c82cd1382800001d'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711da4c82cd1382800002c')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711da4c82cd1382800002c')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711da4c82cd1382800002c')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711da4c82cd1382800002c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('51711da4c82cd1382800001d')}, "_id"=>BSON::ObjectId('51711da4c82cd1382800002d'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711da4c82cd1382800002c'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711da4c82cd1382800001d'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('51711da4c82cd1382800001d')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('51711da4c82cd13828000020')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711da4c82cd1382800001d'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711da4c82cd13828000020')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711da4c82cd13828000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('51711da4c82cd13828000021')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('51711da4c82cd1382800001d')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('51711da4c82cd1382800002e'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-19 10:34:10 UTC, "updated_at"=>2013-04-19 10:34:12 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51711da4c82cd1382800002f'), "account_id"=>BSON::ObjectId('51711da4c82cd1382800001e')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51711da4c82cd1382800002e'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711da4c82cd1382800002e'), :_id=>{"$ne"=>BSON::ObjectId('51711da4c82cd13828000030')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711da4c82cd13828000030'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51711da4c82cd1382800002e'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:34:12 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:12 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711da4c82cd1382800002e'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711da4c82cd13828000030')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711da4c82cd13828000030')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711da4c82cd13828000030')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711da4c82cd13828000030')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51711da4c82cd1382800002e')}, "_id"=>BSON::ObjectId('51711da4c82cd13828000031'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711da4c82cd13828000030'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51711da4c82cd1382800002e'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711da4c82cd1382800002e'), :_id=>{"$ne"=>BSON::ObjectId('51711da4c82cd13828000032')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711da4c82cd1382800002e'), :_id=>{"$ne"=>BSON::ObjectId('51711da4c82cd13828000032')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51711da4c82cd1382800002e'), :_id=>{"$ne"=>BSON::ObjectId('51711da4c82cd13828000032')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711da4c82cd13828000032'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51711da4c82cd1382800002e'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:34:12 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:12 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711da4c82cd1382800002e'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711da4c82cd13828000032')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711da4c82cd13828000032')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711da4c82cd13828000032')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('51711da4c82cd1382800002e'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711da4c82cd1382800002e'), :_id=>{"$ne"=>BSON::ObjectId('51711da4c82cd13828000033')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711da4c82cd1382800002e'), :_id=>{"$ne"=>BSON::ObjectId('51711da4c82cd13828000033')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51711da4c82cd1382800002e'), :_id=>{"$ne"=>BSON::ObjectId('51711da4c82cd13828000033')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711da4c82cd13828000033'), "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"=>BSON::ObjectId('51711da4c82cd1382800002e'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:34:12 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:12 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711da4c82cd1382800002e'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711da4c82cd13828000033')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711da4c82cd13828000033')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711da4c82cd13828000033')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711da4c82cd13828000033')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('51711da4c82cd1382800002e')}, "_id"=>BSON::ObjectId('51711da4c82cd13828000034'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711da4c82cd13828000033'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51711da4c82cd1382800002e')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51711da4c82cd13828000035'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51711da4c82cd1382800002e'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 10:34:12 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51711da4c82cd13828000036'), "created_at"=>2013-04-19 10:34:12 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51711da4c82cd13828000036'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 10:34:12 UTC, "created_at"=>2013-04-19 10:34:12 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51711da4c82cd13828000037')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51711da4c82cd13828000035"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('51711da4c82cd13828000035')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51711da4c82cd13828000035"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51711da4c82cd13828000037'), "_type"=>"Locomotive::ContentEntry51711da4c82cd13828000035", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51711da4c82cd13828000035", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51711da4c82cd13828000035'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-19 10:34:12 UTC, "site_id"=>BSON::ObjectId('51711da4c82cd1382800002e'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:34:12 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51711da4c82cd13828000035", :_original_id=>BSON::ObjectId('51711da4c82cd13828000037')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('51711da4c82cd1382800002e'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51711da4c82cd13828000038'), "_original_type"=>"Locomotive::ContentEntry51711da4c82cd13828000035", "_original_id"=>BSON::ObjectId('51711da4c82cd13828000037'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-19 12:34:12 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711da4c82cd1382800001d'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 0.7ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-19 12:34:12 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711da4c82cd1382800001d'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 0.6ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51711dbcc82cd13840000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"Xsj6uee11znzb6jcYytD", "encrypted_password"=>"ed60da367b7c7c9dd0a388939c37741c7b0f503c", "updated_at"=>2013-04-19 10:34:36 UTC, "created_at"=>2013-04-19 10:34:36 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51711dbcc82cd13840000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-19 10:34:36 UTC, "updated_at"=>2013-04-19 10:34:36 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51711dbcc82cd13840000003'), "account_id"=>BSON::ObjectId('51711dbcc82cd13840000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51711dbcc82cd13840000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711dbcc82cd13840000001'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711dbdc82cd13840000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51711dbcc82cd13840000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:34:37 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:37 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711dbdc82cd13840000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711dbcc82cd13840000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711dbdc82cd13840000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51711dbcc82cd13840000001')}, "_id"=>BSON::ObjectId('51711dbdc82cd13840000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711dbdc82cd13840000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51711dbcc82cd13840000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711dbcc82cd13840000001'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711dbcc82cd13840000001'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51711dbcc82cd13840000001'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711dbdc82cd13840000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51711dbcc82cd13840000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:34:37 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:37 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711dbcc82cd13840000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711dbdc82cd13840000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51711dbcc82cd13840000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51711dbdc82cd13840000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51711dbcc82cd13840000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 10:34:37 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51711dbdc82cd13840000008'), "created_at"=>2013-04-19 10:34:37 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51711dbdc82cd13840000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 10:34:37 UTC, "created_at"=>2013-04-19 10:34:37 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51711dbdc82cd13840000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51711dbdc82cd13840000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-19 10:34:37 UTC, "created_at"=>2013-04-19 10:34:37 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd1384000000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51711dbdc82cd13840000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51711dbdc82cd13840000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51711dbdc82cd13840000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51711dbdc82cd1384000000a'), "_type"=>"Locomotive::ContentEntry51711dbdc82cd13840000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51711dbdc82cd13840000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51711dbdc82cd13840000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-19 10:34:37 UTC, "site_id"=>BSON::ObjectId('51711dbcc82cd13840000001'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:34:37 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51711dbdc82cd13840000007", :_original_id=>BSON::ObjectId('51711dbdc82cd1384000000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51711dbcc82cd13840000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51711dbdc82cd1384000000b'), "_original_type"=>"Locomotive::ContentEntry51711dbdc82cd13840000007", "_original_id"=>BSON::ObjectId('51711dbdc82cd1384000000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd1384000000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51711dbdc82cd13840000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51711dbdc82cd13840000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51711dbdc82cd13840000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51711dbdc82cd1384000000c'), "_type"=>"Locomotive::ContentEntry51711dbdc82cd13840000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51711dbdc82cd13840000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51711dbdc82cd13840000007'), "_slug"=>"hidden", "updated_at"=>2013-04-19 10:34:37 UTC, "site_id"=>BSON::ObjectId('51711dbcc82cd13840000001'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:34:37 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51711dbdc82cd13840000007", :_original_id=>BSON::ObjectId('51711dbdc82cd1384000000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51711dbcc82cd13840000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51711dbdc82cd1384000000d'), "_original_type"=>"Locomotive::ContentEntry51711dbdc82cd13840000007", "_original_id"=>BSON::ObjectId('51711dbdc82cd1384000000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51711dbcc82cd13840000001'), :parent_id=>BSON::ObjectId('51711dbdc82cd13840000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51711dbdc82cd13840000004'), :site_id=>BSON::ObjectId('51711dbcc82cd13840000001'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd1384000000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51711dbdc82cd13840000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711dbdc82cd1384000000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51711dbcc82cd13840000001'), "parent_id"=>BSON::ObjectId('51711dbdc82cd13840000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 10:34:37 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:37 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711dbcc82cd13840000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd1384000000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711dbdc82cd1384000000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd1384000000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711dbdc82cd1384000000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51711dbcc82cd13840000001')}, "_id"=>BSON::ObjectId('51711dbdc82cd1384000000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711dbdc82cd1384000000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('51711dbcc82cd13840000001'), :parent_id=>BSON::ObjectId('51711dbdc82cd13840000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51711dbdc82cd13840000004'), :site_id=>BSON::ObjectId('51711dbcc82cd13840000001'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51711dbdc82cd13840000004'), :site_id=>BSON::ObjectId('51711dbcc82cd13840000001'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('51711dbdc82cd13840000004'), :site_id=>BSON::ObjectId('51711dbcc82cd13840000001'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51711dbdc82cd13840000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711dbdc82cd13840000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('51711dbcc82cd13840000001'), "parent_id"=>BSON::ObjectId('51711dbdc82cd13840000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 10:34:37 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:37 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711dbcc82cd13840000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711dbdc82cd13840000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711dbdc82cd13840000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('51711dbcc82cd13840000001')}, "_id"=>BSON::ObjectId('51711dbdc82cd13840000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711dbdc82cd13840000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711dbcc82cd13840000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('51711dbcc82cd13840000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('51711dbdc82cd13840000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711dbcc82cd13840000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711dbdc82cd13840000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('51711dbdc82cd13840000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('51711dbcc82cd13840000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('51711dbdc82cd13840000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-19 10:34:36 UTC, "updated_at"=>2013-04-19 10:34:37 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51711dbdc82cd13840000013'), "account_id"=>BSON::ObjectId('51711dbcc82cd13840000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51711dbdc82cd13840000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711dbdc82cd13840000012'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711dbdc82cd13840000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51711dbdc82cd13840000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:34:37 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:37 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711dbdc82cd13840000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711dbdc82cd13840000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711dbdc82cd13840000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51711dbdc82cd13840000012')}, "_id"=>BSON::ObjectId('51711dbdc82cd13840000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711dbdc82cd13840000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51711dbdc82cd13840000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711dbdc82cd13840000012'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711dbdc82cd13840000012'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51711dbdc82cd13840000012'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711dbdc82cd13840000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51711dbdc82cd13840000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:34:37 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:37 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711dbdc82cd13840000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711dbdc82cd13840000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('51711dbdc82cd13840000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711dbdc82cd13840000012'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711dbdc82cd13840000012'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51711dbdc82cd13840000012'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711dbdc82cd13840000017'), "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"=>BSON::ObjectId('51711dbdc82cd13840000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:34:37 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:37 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711dbdc82cd13840000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711dbdc82cd13840000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711dbdc82cd13840000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('51711dbdc82cd13840000012')}, "_id"=>BSON::ObjectId('51711dbdc82cd13840000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711dbdc82cd13840000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51711dbdc82cd13840000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51711dbdc82cd13840000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51711dbdc82cd13840000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 10:34:37 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51711dbdc82cd1384000001a'), "created_at"=>2013-04-19 10:34:37 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51711dbdc82cd1384000001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 10:34:37 UTC, "created_at"=>2013-04-19 10:34:37 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd1384000001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51711dbdc82cd13840000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('51711dbdc82cd13840000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51711dbdc82cd13840000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51711dbdc82cd1384000001b'), "_type"=>"Locomotive::ContentEntry51711dbdc82cd13840000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51711dbdc82cd13840000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51711dbdc82cd13840000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-19 10:34:37 UTC, "site_id"=>BSON::ObjectId('51711dbdc82cd13840000012'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:34:37 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51711dbdc82cd13840000019", :_original_id=>BSON::ObjectId('51711dbdc82cd1384000001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('51711dbdc82cd13840000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51711dbdc82cd1384000001c'), "_original_type"=>"Locomotive::ContentEntry51711dbdc82cd13840000019", "_original_id"=>BSON::ObjectId('51711dbdc82cd1384000001b'), "_keywords"=>["not", "findable", "entry"]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51711dbdc82cd1384000001e'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"uqQ1HzLk3ZXnusR3wswj", "encrypted_password"=>"c55eb7301977593fa0c6df4f65e3f8f52a8c972e", "updated_at"=>2013-04-19 10:34:37 UTC, "created_at"=>2013-04-19 10:34:37 UTC}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51711dbdc82cd1384000001d'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-19 10:34:36 UTC, "updated_at"=>2013-04-19 10:34:37 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51711dbdc82cd1384000001f'), "account_id"=>BSON::ObjectId('51711dbdc82cd1384000001e')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51711dbdc82cd1384000001d'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711dbdc82cd1384000001d'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000020')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711dbdc82cd13840000020'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51711dbdc82cd1384000001d'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:34:37 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:37 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711dbdc82cd1384000001d'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000020')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711dbdc82cd13840000020')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000020')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711dbdc82cd13840000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51711dbdc82cd1384000001d')}, "_id"=>BSON::ObjectId('51711dbdc82cd13840000021'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711dbdc82cd13840000020'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51711dbdc82cd1384000001d'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711dbdc82cd1384000001d'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000022')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711dbdc82cd1384000001d'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000022')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51711dbdc82cd1384000001d'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000022')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711dbdc82cd13840000022'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51711dbdc82cd1384000001d'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:34:37 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:37 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711dbdc82cd1384000001d'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000022')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711dbdc82cd13840000022')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000022')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51711dbdc82cd1384000001d')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51711dbdc82cd13840000023'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51711dbdc82cd1384000001d'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 10:34:37 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51711dbdc82cd13840000024'), "created_at"=>2013-04-19 10:34:37 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51711dbdc82cd13840000024'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 10:34:37 UTC, "created_at"=>2013-04-19 10:34:37 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51711dbdc82cd13840000023')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51711dbdc82cd13840000025'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-19 10:34:37 UTC, "created_at"=>2013-04-19 10:34:37 UTC}}}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000026')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51711dbdc82cd13840000023"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51711dbdc82cd13840000023')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51711dbdc82cd13840000023"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51711dbdc82cd13840000026'), "_type"=>"Locomotive::ContentEntry51711dbdc82cd13840000023", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51711dbdc82cd13840000023", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51711dbdc82cd13840000023'), "_slug"=>"findable-entry", "updated_at"=>2013-04-19 10:34:37 UTC, "site_id"=>BSON::ObjectId('51711dbdc82cd1384000001d'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:34:37 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51711dbdc82cd13840000023", :_original_id=>BSON::ObjectId('51711dbdc82cd13840000026')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51711dbdc82cd1384000001d'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51711dbdc82cd13840000027'), "_original_type"=>"Locomotive::ContentEntry51711dbdc82cd13840000023", "_original_id"=>BSON::ObjectId('51711dbdc82cd13840000026'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000028')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51711dbdc82cd13840000023"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51711dbdc82cd13840000023')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51711dbdc82cd13840000023"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51711dbdc82cd13840000028'), "_type"=>"Locomotive::ContentEntry51711dbdc82cd13840000023", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51711dbdc82cd13840000023", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51711dbdc82cd13840000023'), "_slug"=>"hidden", "updated_at"=>2013-04-19 10:34:37 UTC, "site_id"=>BSON::ObjectId('51711dbdc82cd1384000001d'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:34:37 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51711dbdc82cd13840000023", :_original_id=>BSON::ObjectId('51711dbdc82cd13840000028')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51711dbdc82cd1384000001d'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51711dbdc82cd13840000029'), "_original_type"=>"Locomotive::ContentEntry51711dbdc82cd13840000023", "_original_id"=>BSON::ObjectId('51711dbdc82cd13840000028'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51711dbdc82cd1384000001d'), :parent_id=>BSON::ObjectId('51711dbdc82cd13840000020')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51711dbdc82cd13840000020'), :site_id=>BSON::ObjectId('51711dbdc82cd1384000001d'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd1384000002a')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000020')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51711dbdc82cd13840000020')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711dbdc82cd1384000002a'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51711dbdc82cd1384000001d'), "parent_id"=>BSON::ObjectId('51711dbdc82cd13840000020'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 10:34:37 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:37 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711dbdc82cd1384000001d'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd1384000002a')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711dbdc82cd1384000002a')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd1384000002a')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711dbdc82cd1384000002a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51711dbdc82cd1384000001d')}, "_id"=>BSON::ObjectId('51711dbdc82cd1384000002b'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711dbdc82cd1384000002a'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('51711dbdc82cd1384000001d'), :parent_id=>BSON::ObjectId('51711dbdc82cd13840000020')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51711dbdc82cd13840000020'), :site_id=>BSON::ObjectId('51711dbdc82cd1384000001d'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd1384000002c')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51711dbdc82cd13840000020'), :site_id=>BSON::ObjectId('51711dbdc82cd1384000001d'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd1384000002c')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('51711dbdc82cd13840000020'), :site_id=>BSON::ObjectId('51711dbdc82cd1384000001d'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd1384000002c')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000020')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51711dbdc82cd13840000020')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711dbdc82cd1384000002c'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('51711dbdc82cd1384000001d'), "parent_id"=>BSON::ObjectId('51711dbdc82cd13840000020'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 10:34:37 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:37 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711dbdc82cd1384000001d'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd1384000002c')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711dbdc82cd1384000002c')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd1384000002c')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711dbdc82cd1384000002c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('51711dbdc82cd1384000001d')}, "_id"=>BSON::ObjectId('51711dbdc82cd1384000002d'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711dbdc82cd1384000002c'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711dbdc82cd1384000001d'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('51711dbdc82cd1384000001d')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('51711dbdc82cd13840000020')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711dbdc82cd1384000001d'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000020')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711dbdc82cd13840000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('51711dbdc82cd13840000021')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('51711dbdc82cd1384000001d')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('51711dbdc82cd1384000002e'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-19 10:34:36 UTC, "updated_at"=>2013-04-19 10:34:37 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51711dbdc82cd1384000002f'), "account_id"=>BSON::ObjectId('51711dbdc82cd1384000001e')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51711dbdc82cd1384000002e'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711dbdc82cd1384000002e'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000030')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711dbdc82cd13840000030'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51711dbdc82cd1384000002e'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:34:37 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:37 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711dbdc82cd1384000002e'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000030')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711dbdc82cd13840000030')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000030')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711dbdc82cd13840000030')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51711dbdc82cd1384000002e')}, "_id"=>BSON::ObjectId('51711dbdc82cd13840000031'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711dbdc82cd13840000030'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51711dbdc82cd1384000002e'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711dbdc82cd1384000002e'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000032')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711dbdc82cd1384000002e'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000032')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51711dbdc82cd1384000002e'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000032')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711dbdc82cd13840000032'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51711dbdc82cd1384000002e'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:34:37 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:37 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711dbdc82cd1384000002e'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000032')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711dbdc82cd13840000032')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000032')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('51711dbdc82cd1384000002e'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711dbdc82cd1384000002e'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000033')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51711dbdc82cd1384000002e'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000033')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51711dbdc82cd1384000002e'), :_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000033')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51711dbdc82cd13840000033'), "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"=>BSON::ObjectId('51711dbdc82cd1384000002e'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:34:37 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-19 10:34:37 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51711dbdc82cd1384000002e'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000033')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51711dbdc82cd13840000033')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51711dbdc82cd13840000033')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51711dbdc82cd13840000033')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('51711dbdc82cd1384000002e')}, "_id"=>BSON::ObjectId('51711dbdc82cd13840000034'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51711dbdc82cd13840000033'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51711dbdc82cd1384000002e')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51711dbdc82cd13840000035'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51711dbdc82cd1384000002e'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 10:34:37 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51711dbdc82cd13840000036'), "created_at"=>2013-04-19 10:34:37 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51711dbdc82cd13840000036'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 10:34:37 UTC, "created_at"=>2013-04-19 10:34:37 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51711dbdc82cd13840000037')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51711dbdc82cd13840000035"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('51711dbdc82cd13840000035')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51711dbdc82cd13840000035"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51711dbdc82cd13840000037'), "_type"=>"Locomotive::ContentEntry51711dbdc82cd13840000035", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51711dbdc82cd13840000035", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51711dbdc82cd13840000035'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-19 10:34:37 UTC, "site_id"=>BSON::ObjectId('51711dbdc82cd1384000002e'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:34:38 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51711dbdc82cd13840000035", :_original_id=>BSON::ObjectId('51711dbdc82cd13840000037')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('51711dbdc82cd1384000002e'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51711dbec82cd13840000038'), "_original_type"=>"Locomotive::ContentEntry51711dbdc82cd13840000035", "_original_id"=>BSON::ObjectId('51711dbdc82cd13840000037'), "_keywords"=>["not", "findable", "entry"]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('5171205fc82cd1398f000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"Pg5uZetSeqkG2z1uTKa8", "encrypted_password"=>"5e202d81ea6568f883e5c4622e7e79ff2d8d7495", "updated_at"=>2013-04-19 10:45:51 UTC, "created_at"=>2013-04-19 10:45:51 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('5171205fc82cd1398f000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-19 10:45:50 UTC, "updated_at"=>2013-04-19 10:45:51 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5171205fc82cd1398f000003'), "account_id"=>BSON::ObjectId('5171205fc82cd1398f000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5171205fc82cd1398f000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5171205fc82cd1398f000001'), :_id=>{"$ne"=>BSON::ObjectId('51712060c82cd1398f000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712060c82cd1398f000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5171205fc82cd1398f000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:45:52 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 10:45:52 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712060c82cd1398f000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5171205fc82cd1398f000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712060c82cd1398f000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712060c82cd1398f000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712060c82cd1398f000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5171205fc82cd1398f000001')}, "_id"=>BSON::ObjectId('51712060c82cd1398f000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712060c82cd1398f000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5171205fc82cd1398f000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5171205fc82cd1398f000001'), :_id=>{"$ne"=>BSON::ObjectId('51712060c82cd1398f000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5171205fc82cd1398f000001'), :_id=>{"$ne"=>BSON::ObjectId('51712060c82cd1398f000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5171205fc82cd1398f000001'), :_id=>{"$ne"=>BSON::ObjectId('51712060c82cd1398f000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712060c82cd1398f000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5171205fc82cd1398f000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:45:52 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 10:45:52 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5171205fc82cd1398f000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712060c82cd1398f000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712060c82cd1398f000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712060c82cd1398f000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5171205fc82cd1398f000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51712060c82cd1398f000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5171205fc82cd1398f000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 10:45:52 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51712060c82cd1398f000008'), "created_at"=>2013-04-19 10:45:52 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51712060c82cd1398f000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 10:45:52 UTC, "created_at"=>2013-04-19 10:45:52 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51712060c82cd1398f000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51712060c82cd1398f000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-19 10:45:52 UTC, "created_at"=>2013-04-19 10:45:52 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51712060c82cd1398f00000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51712060c82cd1398f000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51712060c82cd1398f000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51712060c82cd1398f000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51712060c82cd1398f00000a'), "_type"=>"Locomotive::ContentEntry51712060c82cd1398f000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51712060c82cd1398f000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51712060c82cd1398f000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-19 10:45:52 UTC, "site_id"=>BSON::ObjectId('5171205fc82cd1398f000001'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:45:52 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51712060c82cd1398f000007", :_original_id=>BSON::ObjectId('51712060c82cd1398f00000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('5171205fc82cd1398f000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51712060c82cd1398f00000b'), "_original_type"=>"Locomotive::ContentEntry51712060c82cd1398f000007", "_original_id"=>BSON::ObjectId('51712060c82cd1398f00000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51712060c82cd1398f00000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51712060c82cd1398f000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51712060c82cd1398f000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51712060c82cd1398f000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51712060c82cd1398f00000c'), "_type"=>"Locomotive::ContentEntry51712060c82cd1398f000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51712060c82cd1398f000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51712060c82cd1398f000007'), "_slug"=>"hidden", "updated_at"=>2013-04-19 10:45:52 UTC, "site_id"=>BSON::ObjectId('5171205fc82cd1398f000001'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:45:52 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51712060c82cd1398f000007", :_original_id=>BSON::ObjectId('51712060c82cd1398f00000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('5171205fc82cd1398f000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51712060c82cd1398f00000d'), "_original_type"=>"Locomotive::ContentEntry51712060c82cd1398f000007", "_original_id"=>BSON::ObjectId('51712060c82cd1398f00000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('5171205fc82cd1398f000001'), :parent_id=>BSON::ObjectId('51712060c82cd1398f000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51712060c82cd1398f000004'), :site_id=>BSON::ObjectId('5171205fc82cd1398f000001'), :_id=>{"$ne"=>BSON::ObjectId('51712060c82cd1398f00000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51712060c82cd1398f000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51712060c82cd1398f000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712060c82cd1398f00000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('5171205fc82cd1398f000001'), "parent_id"=>BSON::ObjectId('51712060c82cd1398f000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 10:45:52 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-19 10:45:52 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5171205fc82cd1398f000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712060c82cd1398f00000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712060c82cd1398f00000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712060c82cd1398f00000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712060c82cd1398f00000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('5171205fc82cd1398f000001')}, "_id"=>BSON::ObjectId('51712060c82cd1398f00000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712060c82cd1398f00000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('5171205fc82cd1398f000001'), :parent_id=>BSON::ObjectId('51712060c82cd1398f000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51712060c82cd1398f000004'), :site_id=>BSON::ObjectId('5171205fc82cd1398f000001'), :_id=>{"$ne"=>BSON::ObjectId('51712060c82cd1398f000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51712060c82cd1398f000004'), :site_id=>BSON::ObjectId('5171205fc82cd1398f000001'), :_id=>{"$ne"=>BSON::ObjectId('51712060c82cd1398f000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('51712060c82cd1398f000004'), :site_id=>BSON::ObjectId('5171205fc82cd1398f000001'), :_id=>{"$ne"=>BSON::ObjectId('51712060c82cd1398f000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51712060c82cd1398f000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51712060c82cd1398f000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712060c82cd1398f000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('5171205fc82cd1398f000001'), "parent_id"=>BSON::ObjectId('51712060c82cd1398f000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 10:45:52 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-19 10:45:52 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5171205fc82cd1398f000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712060c82cd1398f000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712060c82cd1398f000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712060c82cd1398f000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712060c82cd1398f000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('5171205fc82cd1398f000001')}, "_id"=>BSON::ObjectId('51712060c82cd1398f000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712060c82cd1398f000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5171205fc82cd1398f000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('5171205fc82cd1398f000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('51712060c82cd1398f000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5171205fc82cd1398f000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712060c82cd1398f000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712060c82cd1398f000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('51712060c82cd1398f000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('5171205fc82cd1398f000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('51712060c82cd1398f000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-19 10:45:50 UTC, "updated_at"=>2013-04-19 10:45:52 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51712060c82cd1398f000013'), "account_id"=>BSON::ObjectId('5171205fc82cd1398f000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51712060c82cd1398f000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712060c82cd1398f000012'), :_id=>{"$ne"=>BSON::ObjectId('51712060c82cd1398f000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712060c82cd1398f000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51712060c82cd1398f000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:45:52 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 10:45:52 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712060c82cd1398f000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712060c82cd1398f000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712060c82cd1398f000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712060c82cd1398f000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712060c82cd1398f000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51712060c82cd1398f000012')}, "_id"=>BSON::ObjectId('51712060c82cd1398f000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712060c82cd1398f000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51712060c82cd1398f000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712060c82cd1398f000012'), :_id=>{"$ne"=>BSON::ObjectId('51712060c82cd1398f000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712060c82cd1398f000012'), :_id=>{"$ne"=>BSON::ObjectId('51712060c82cd1398f000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51712060c82cd1398f000012'), :_id=>{"$ne"=>BSON::ObjectId('51712060c82cd1398f000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712060c82cd1398f000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51712060c82cd1398f000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:45:52 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 10:45:52 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712060c82cd1398f000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712060c82cd1398f000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712060c82cd1398f000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712060c82cd1398f000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('51712060c82cd1398f000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712060c82cd1398f000012'), :_id=>{"$ne"=>BSON::ObjectId('51712060c82cd1398f000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712060c82cd1398f000012'), :_id=>{"$ne"=>BSON::ObjectId('51712060c82cd1398f000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51712060c82cd1398f000012'), :_id=>{"$ne"=>BSON::ObjectId('51712060c82cd1398f000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712060c82cd1398f000017'), "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"=>BSON::ObjectId('51712060c82cd1398f000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:45:52 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-19 10:45:52 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712060c82cd1398f000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712060c82cd1398f000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712060c82cd1398f000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712060c82cd1398f000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712060c82cd1398f000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('51712060c82cd1398f000012')}, "_id"=>BSON::ObjectId('51712060c82cd1398f000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712060c82cd1398f000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51712060c82cd1398f000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51712060c82cd1398f000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51712060c82cd1398f000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 10:45:52 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51712060c82cd1398f00001a'), "created_at"=>2013-04-19 10:45:52 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51712060c82cd1398f00001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 10:45:52 UTC, "created_at"=>2013-04-19 10:45:52 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51712060c82cd1398f00001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51712060c82cd1398f000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('51712060c82cd1398f000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51712060c82cd1398f000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51712060c82cd1398f00001b'), "_type"=>"Locomotive::ContentEntry51712060c82cd1398f000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51712060c82cd1398f000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51712060c82cd1398f000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-19 10:45:52 UTC, "site_id"=>BSON::ObjectId('51712060c82cd1398f000012'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:45:52 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51712060c82cd1398f000019", :_original_id=>BSON::ObjectId('51712060c82cd1398f00001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('51712060c82cd1398f000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51712060c82cd1398f00001c'), "_original_type"=>"Locomotive::ContentEntry51712060c82cd1398f000019", "_original_id"=>BSON::ObjectId('51712060c82cd1398f00001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-19 12:45:52 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5171205fc82cd1398f000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 120ms (Views: 114.2ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-19 12:45:53 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5171205fc82cd1398f000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 0.6ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('517120bbc82cd139dc000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"tqA3KFxzJM7VqyjYESEc", "encrypted_password"=>"9cbc3a6fe94b002728db075b266a2ad43922a23e", "updated_at"=>2013-04-19 10:47:23 UTC, "created_at"=>2013-04-19 10:47:23 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('517120bbc82cd139dc000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-19 10:47:22 UTC, "updated_at"=>2013-04-19 10:47:23 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('517120bbc82cd139dc000003'), "account_id"=>BSON::ObjectId('517120bbc82cd139dc000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('517120bbc82cd139dc000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517120bbc82cd139dc000001'), :_id=>{"$ne"=>BSON::ObjectId('517120bbc82cd139dc000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517120bbc82cd139dc000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('517120bbc82cd139dc000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:47:23 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 10:47:23 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517120bbc82cd139dc000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517120bbc82cd139dc000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517120bbc82cd139dc000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517120bbc82cd139dc000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517120bbc82cd139dc000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('517120bbc82cd139dc000001')}, "_id"=>BSON::ObjectId('517120bbc82cd139dc000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517120bbc82cd139dc000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('517120bbc82cd139dc000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517120bbc82cd139dc000001'), :_id=>{"$ne"=>BSON::ObjectId('517120bbc82cd139dc000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517120bbc82cd139dc000001'), :_id=>{"$ne"=>BSON::ObjectId('517120bbc82cd139dc000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517120bbc82cd139dc000001'), :_id=>{"$ne"=>BSON::ObjectId('517120bbc82cd139dc000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517120bbc82cd139dc000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('517120bbc82cd139dc000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:47:23 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 10:47:23 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517120bbc82cd139dc000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517120bbc82cd139dc000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517120bbc82cd139dc000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517120bbc82cd139dc000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('517120bbc82cd139dc000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('517120bbc82cd139dc000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('517120bbc82cd139dc000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 10:47:24 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('517120bbc82cd139dc000008'), "created_at"=>2013-04-19 10:47:24 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('517120bbc82cd139dc000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 10:47:24 UTC, "created_at"=>2013-04-19 10:47:24 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('517120bbc82cd139dc000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('517120bcc82cd139dc000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-19 10:47:24 UTC, "created_at"=>2013-04-19 10:47:24 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517120bcc82cd139dc00000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry517120bbc82cd139dc000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('517120bbc82cd139dc000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517120bbc82cd139dc000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('517120bcc82cd139dc00000a'), "_type"=>"Locomotive::ContentEntry517120bbc82cd139dc000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry517120bbc82cd139dc000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517120bbc82cd139dc000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-19 10:47:24 UTC, "site_id"=>BSON::ObjectId('517120bbc82cd139dc000001'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:47:24 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517120bbc82cd139dc000007", :_original_id=>BSON::ObjectId('517120bcc82cd139dc00000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('517120bbc82cd139dc000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517120bcc82cd139dc00000b'), "_original_type"=>"Locomotive::ContentEntry517120bbc82cd139dc000007", "_original_id"=>BSON::ObjectId('517120bcc82cd139dc00000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517120bcc82cd139dc00000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry517120bbc82cd139dc000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('517120bbc82cd139dc000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517120bbc82cd139dc000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('517120bcc82cd139dc00000c'), "_type"=>"Locomotive::ContentEntry517120bbc82cd139dc000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry517120bbc82cd139dc000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517120bbc82cd139dc000007'), "_slug"=>"hidden", "updated_at"=>2013-04-19 10:47:24 UTC, "site_id"=>BSON::ObjectId('517120bbc82cd139dc000001'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:47:24 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517120bbc82cd139dc000007", :_original_id=>BSON::ObjectId('517120bcc82cd139dc00000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('517120bbc82cd139dc000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517120bcc82cd139dc00000d'), "_original_type"=>"Locomotive::ContentEntry517120bbc82cd139dc000007", "_original_id"=>BSON::ObjectId('517120bcc82cd139dc00000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('517120bbc82cd139dc000001'), :parent_id=>BSON::ObjectId('517120bbc82cd139dc000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517120bbc82cd139dc000004'), :site_id=>BSON::ObjectId('517120bbc82cd139dc000001'), :_id=>{"$ne"=>BSON::ObjectId('517120bcc82cd139dc00000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517120bbc82cd139dc000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517120bbc82cd139dc000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517120bcc82cd139dc00000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('517120bbc82cd139dc000001'), "parent_id"=>BSON::ObjectId('517120bbc82cd139dc000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 10:47:24 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-19 10:47:24 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517120bbc82cd139dc000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517120bcc82cd139dc00000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517120bcc82cd139dc00000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517120bcc82cd139dc00000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517120bcc82cd139dc00000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('517120bbc82cd139dc000001')}, "_id"=>BSON::ObjectId('517120bcc82cd139dc00000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517120bcc82cd139dc00000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('517120bbc82cd139dc000001'), :parent_id=>BSON::ObjectId('517120bbc82cd139dc000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517120bbc82cd139dc000004'), :site_id=>BSON::ObjectId('517120bbc82cd139dc000001'), :_id=>{"$ne"=>BSON::ObjectId('517120bcc82cd139dc000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517120bbc82cd139dc000004'), :site_id=>BSON::ObjectId('517120bbc82cd139dc000001'), :_id=>{"$ne"=>BSON::ObjectId('517120bcc82cd139dc000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('517120bbc82cd139dc000004'), :site_id=>BSON::ObjectId('517120bbc82cd139dc000001'), :_id=>{"$ne"=>BSON::ObjectId('517120bcc82cd139dc000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517120bbc82cd139dc000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517120bbc82cd139dc000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517120bcc82cd139dc000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('517120bbc82cd139dc000001'), "parent_id"=>BSON::ObjectId('517120bbc82cd139dc000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 10:47:24 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-19 10:47:24 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517120bbc82cd139dc000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517120bcc82cd139dc000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517120bcc82cd139dc000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517120bcc82cd139dc000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517120bcc82cd139dc000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('517120bbc82cd139dc000001')}, "_id"=>BSON::ObjectId('517120bcc82cd139dc000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517120bcc82cd139dc000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517120bbc82cd139dc000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('517120bbc82cd139dc000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('517120bbc82cd139dc000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:47:24 UTC}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517120bbc82cd139dc000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517120bbc82cd139dc000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517120bbc82cd139dc000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('517120bbc82cd139dc000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('517120bbc82cd139dc000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('517120bcc82cd139dc000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-19 10:47:22 UTC, "updated_at"=>2013-04-19 10:47:24 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('517120bcc82cd139dc000013'), "account_id"=>BSON::ObjectId('517120bbc82cd139dc000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('517120bcc82cd139dc000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517120bcc82cd139dc000012'), :_id=>{"$ne"=>BSON::ObjectId('517120bcc82cd139dc000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517120bcc82cd139dc000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('517120bcc82cd139dc000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:47:24 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 10:47:24 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517120bcc82cd139dc000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517120bcc82cd139dc000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517120bcc82cd139dc000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517120bcc82cd139dc000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517120bcc82cd139dc000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('517120bcc82cd139dc000012')}, "_id"=>BSON::ObjectId('517120bcc82cd139dc000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517120bcc82cd139dc000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('517120bcc82cd139dc000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517120bcc82cd139dc000012'), :_id=>{"$ne"=>BSON::ObjectId('517120bcc82cd139dc000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517120bcc82cd139dc000012'), :_id=>{"$ne"=>BSON::ObjectId('517120bcc82cd139dc000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517120bcc82cd139dc000012'), :_id=>{"$ne"=>BSON::ObjectId('517120bcc82cd139dc000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517120bcc82cd139dc000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('517120bcc82cd139dc000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:47:24 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 10:47:24 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517120bcc82cd139dc000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517120bcc82cd139dc000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517120bcc82cd139dc000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517120bcc82cd139dc000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('517120bcc82cd139dc000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517120bcc82cd139dc000012'), :_id=>{"$ne"=>BSON::ObjectId('517120bcc82cd139dc000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517120bcc82cd139dc000012'), :_id=>{"$ne"=>BSON::ObjectId('517120bcc82cd139dc000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517120bcc82cd139dc000012'), :_id=>{"$ne"=>BSON::ObjectId('517120bcc82cd139dc000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517120bcc82cd139dc000017'), "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"=>BSON::ObjectId('517120bcc82cd139dc000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:47:24 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-19 10:47:24 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517120bcc82cd139dc000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517120bcc82cd139dc000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517120bcc82cd139dc000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517120bcc82cd139dc000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517120bcc82cd139dc000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('517120bcc82cd139dc000012')}, "_id"=>BSON::ObjectId('517120bcc82cd139dc000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517120bcc82cd139dc000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('517120bcc82cd139dc000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('517120bcc82cd139dc000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('517120bcc82cd139dc000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 10:47:24 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('517120bcc82cd139dc00001a'), "created_at"=>2013-04-19 10:47:24 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('517120bcc82cd139dc00001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 10:47:24 UTC, "created_at"=>2013-04-19 10:47:24 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517120bcc82cd139dc00001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry517120bcc82cd139dc000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('517120bcc82cd139dc000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517120bcc82cd139dc000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('517120bcc82cd139dc00001b'), "_type"=>"Locomotive::ContentEntry517120bcc82cd139dc000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry517120bcc82cd139dc000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517120bcc82cd139dc000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-19 10:47:24 UTC, "site_id"=>BSON::ObjectId('517120bcc82cd139dc000012'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:47:24 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517120bcc82cd139dc000019", :_original_id=>BSON::ObjectId('517120bcc82cd139dc00001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('517120bcc82cd139dc000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517120bcc82cd139dc00001c'), "_original_type"=>"Locomotive::ContentEntry517120bcc82cd139dc000019", "_original_id"=>BSON::ObjectId('517120bcc82cd139dc00001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-19 12:47:24 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517120bbc82cd139dc000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 23ms (Views: 18.9ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-19 12:47:24 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517120bbc82cd139dc000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_keywords=>{"$in"=>["findable", "en:findable"]}}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.4ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51712113c82cd13a30000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"NowxhS5W7tbFHSrCnsSc", "encrypted_password"=>"c4fad5733e0cb147201c61e8ddc1f4e8a4954d49", "updated_at"=>2013-04-19 10:48:51 UTC, "created_at"=>2013-04-19 10:48:51 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51712113c82cd13a30000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-19 10:48:51 UTC, "updated_at"=>2013-04-19 10:48:51 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51712113c82cd13a30000003'), "account_id"=>BSON::ObjectId('51712113c82cd13a30000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51712113c82cd13a30000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712113c82cd13a30000001'), :_id=>{"$ne"=>BSON::ObjectId('51712114c82cd13a30000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712114c82cd13a30000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51712113c82cd13a30000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:48:52 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 10:48:52 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712114c82cd13a30000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712113c82cd13a30000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712114c82cd13a30000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712114c82cd13a30000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712114c82cd13a30000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51712113c82cd13a30000001')}, "_id"=>BSON::ObjectId('51712114c82cd13a30000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712114c82cd13a30000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51712113c82cd13a30000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712113c82cd13a30000001'), :_id=>{"$ne"=>BSON::ObjectId('51712114c82cd13a30000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712113c82cd13a30000001'), :_id=>{"$ne"=>BSON::ObjectId('51712114c82cd13a30000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51712113c82cd13a30000001'), :_id=>{"$ne"=>BSON::ObjectId('51712114c82cd13a30000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712114c82cd13a30000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51712113c82cd13a30000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:48:52 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 10:48:52 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712113c82cd13a30000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712114c82cd13a30000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712114c82cd13a30000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712114c82cd13a30000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51712113c82cd13a30000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51712114c82cd13a30000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51712113c82cd13a30000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 10:48:52 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51712114c82cd13a30000008'), "created_at"=>2013-04-19 10:48:52 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51712114c82cd13a30000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 10:48:52 UTC, "created_at"=>2013-04-19 10:48:52 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51712114c82cd13a30000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51712114c82cd13a30000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-19 10:48:52 UTC, "created_at"=>2013-04-19 10:48:52 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51712114c82cd13a3000000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51712114c82cd13a30000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51712114c82cd13a30000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51712114c82cd13a30000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51712114c82cd13a3000000a'), "_type"=>"Locomotive::ContentEntry51712114c82cd13a30000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51712114c82cd13a30000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51712114c82cd13a30000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-19 10:48:52 UTC, "site_id"=>BSON::ObjectId('51712113c82cd13a30000001'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:48:52 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51712114c82cd13a30000007", :_original_id=>BSON::ObjectId('51712114c82cd13a3000000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51712113c82cd13a30000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51712114c82cd13a3000000b'), "_original_type"=>"Locomotive::ContentEntry51712114c82cd13a30000007", "_original_id"=>BSON::ObjectId('51712114c82cd13a3000000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51712114c82cd13a3000000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51712114c82cd13a30000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51712114c82cd13a30000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51712114c82cd13a30000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51712114c82cd13a3000000c'), "_type"=>"Locomotive::ContentEntry51712114c82cd13a30000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51712114c82cd13a30000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51712114c82cd13a30000007'), "_slug"=>"hidden", "updated_at"=>2013-04-19 10:48:52 UTC, "site_id"=>BSON::ObjectId('51712113c82cd13a30000001'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:48:52 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51712114c82cd13a30000007", :_original_id=>BSON::ObjectId('51712114c82cd13a3000000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51712113c82cd13a30000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51712114c82cd13a3000000d'), "_original_type"=>"Locomotive::ContentEntry51712114c82cd13a30000007", "_original_id"=>BSON::ObjectId('51712114c82cd13a3000000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51712113c82cd13a30000001'), :parent_id=>BSON::ObjectId('51712114c82cd13a30000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51712114c82cd13a30000004'), :site_id=>BSON::ObjectId('51712113c82cd13a30000001'), :_id=>{"$ne"=>BSON::ObjectId('51712114c82cd13a3000000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51712114c82cd13a30000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51712114c82cd13a30000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712114c82cd13a3000000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51712113c82cd13a30000001'), "parent_id"=>BSON::ObjectId('51712114c82cd13a30000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 10:48:52 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-19 10:48:52 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712113c82cd13a30000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712114c82cd13a3000000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712114c82cd13a3000000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712114c82cd13a3000000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712114c82cd13a3000000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51712113c82cd13a30000001')}, "_id"=>BSON::ObjectId('51712114c82cd13a3000000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712114c82cd13a3000000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('51712113c82cd13a30000001'), :parent_id=>BSON::ObjectId('51712114c82cd13a30000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51712114c82cd13a30000004'), :site_id=>BSON::ObjectId('51712113c82cd13a30000001'), :_id=>{"$ne"=>BSON::ObjectId('51712114c82cd13a30000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51712114c82cd13a30000004'), :site_id=>BSON::ObjectId('51712113c82cd13a30000001'), :_id=>{"$ne"=>BSON::ObjectId('51712114c82cd13a30000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('51712114c82cd13a30000004'), :site_id=>BSON::ObjectId('51712113c82cd13a30000001'), :_id=>{"$ne"=>BSON::ObjectId('51712114c82cd13a30000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51712114c82cd13a30000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51712114c82cd13a30000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712114c82cd13a30000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('51712113c82cd13a30000001'), "parent_id"=>BSON::ObjectId('51712114c82cd13a30000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 10:48:52 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-19 10:48:52 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712113c82cd13a30000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712114c82cd13a30000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712114c82cd13a30000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712114c82cd13a30000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712114c82cd13a30000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('51712113c82cd13a30000001')}, "_id"=>BSON::ObjectId('51712114c82cd13a30000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712114c82cd13a30000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712113c82cd13a30000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('51712113c82cd13a30000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('51712114c82cd13a30000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712113c82cd13a30000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712114c82cd13a30000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712114c82cd13a30000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('51712114c82cd13a30000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('51712113c82cd13a30000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('51712114c82cd13a30000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-19 10:48:51 UTC, "updated_at"=>2013-04-19 10:48:52 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51712114c82cd13a30000013'), "account_id"=>BSON::ObjectId('51712113c82cd13a30000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51712114c82cd13a30000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712114c82cd13a30000012'), :_id=>{"$ne"=>BSON::ObjectId('51712114c82cd13a30000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712114c82cd13a30000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51712114c82cd13a30000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:48:52 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 10:48:52 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712114c82cd13a30000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712114c82cd13a30000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712114c82cd13a30000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712114c82cd13a30000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712114c82cd13a30000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51712114c82cd13a30000012')}, "_id"=>BSON::ObjectId('51712114c82cd13a30000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712114c82cd13a30000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51712114c82cd13a30000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712114c82cd13a30000012'), :_id=>{"$ne"=>BSON::ObjectId('51712114c82cd13a30000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712114c82cd13a30000012'), :_id=>{"$ne"=>BSON::ObjectId('51712114c82cd13a30000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51712114c82cd13a30000012'), :_id=>{"$ne"=>BSON::ObjectId('51712114c82cd13a30000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712114c82cd13a30000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51712114c82cd13a30000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:48:52 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 10:48:52 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712114c82cd13a30000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712114c82cd13a30000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712114c82cd13a30000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712114c82cd13a30000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('51712114c82cd13a30000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712114c82cd13a30000012'), :_id=>{"$ne"=>BSON::ObjectId('51712114c82cd13a30000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712114c82cd13a30000012'), :_id=>{"$ne"=>BSON::ObjectId('51712114c82cd13a30000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51712114c82cd13a30000012'), :_id=>{"$ne"=>BSON::ObjectId('51712114c82cd13a30000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712114c82cd13a30000017'), "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"=>BSON::ObjectId('51712114c82cd13a30000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:48:52 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-19 10:48:52 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712114c82cd13a30000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712114c82cd13a30000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712114c82cd13a30000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712114c82cd13a30000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712114c82cd13a30000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('51712114c82cd13a30000012')}, "_id"=>BSON::ObjectId('51712114c82cd13a30000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712114c82cd13a30000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51712114c82cd13a30000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51712114c82cd13a30000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51712114c82cd13a30000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 10:48:52 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51712114c82cd13a3000001a'), "created_at"=>2013-04-19 10:48:52 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51712114c82cd13a3000001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 10:48:52 UTC, "created_at"=>2013-04-19 10:48:52 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51712114c82cd13a3000001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51712114c82cd13a30000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('51712114c82cd13a30000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51712114c82cd13a30000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51712114c82cd13a3000001b'), "_type"=>"Locomotive::ContentEntry51712114c82cd13a30000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51712114c82cd13a30000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51712114c82cd13a30000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-19 10:48:52 UTC, "site_id"=>BSON::ObjectId('51712114c82cd13a30000012'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:48:52 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51712114c82cd13a30000019", :_original_id=>BSON::ObjectId('51712114c82cd13a3000001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('51712114c82cd13a30000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51712114c82cd13a3000001c'), "_original_type"=>"Locomotive::ContentEntry51712114c82cd13a30000019", "_original_id"=>BSON::ObjectId('51712114c82cd13a3000001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-19 12:48:52 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712113c82cd13a30000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 22ms (Views: 18.0ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-19 12:48:52 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712113c82cd13a30000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51712168c82cd13a8e000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"v6nypUSvB25zUpQJxVZE", "encrypted_password"=>"73bbacbd7873e370189cf33baf318dec2acb0861", "updated_at"=>2013-04-19 10:50:16 UTC, "created_at"=>2013-04-19 10:50:16 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51712168c82cd13a8e000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-19 10:50:16 UTC, "updated_at"=>2013-04-19 10:50:16 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51712168c82cd13a8e000003'), "account_id"=>BSON::ObjectId('51712168c82cd13a8e000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51712168c82cd13a8e000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712168c82cd13a8e000001'), :_id=>{"$ne"=>BSON::ObjectId('51712169c82cd13a8e000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712169c82cd13a8e000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51712168c82cd13a8e000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:50:17 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 10:50:17 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712169c82cd13a8e000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712168c82cd13a8e000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712169c82cd13a8e000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712169c82cd13a8e000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712169c82cd13a8e000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51712168c82cd13a8e000001')}, "_id"=>BSON::ObjectId('51712169c82cd13a8e000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712169c82cd13a8e000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51712168c82cd13a8e000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712168c82cd13a8e000001'), :_id=>{"$ne"=>BSON::ObjectId('51712169c82cd13a8e000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712168c82cd13a8e000001'), :_id=>{"$ne"=>BSON::ObjectId('51712169c82cd13a8e000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51712168c82cd13a8e000001'), :_id=>{"$ne"=>BSON::ObjectId('51712169c82cd13a8e000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712169c82cd13a8e000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51712168c82cd13a8e000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:50:17 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 10:50:17 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712168c82cd13a8e000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712169c82cd13a8e000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712169c82cd13a8e000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712169c82cd13a8e000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51712168c82cd13a8e000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51712169c82cd13a8e000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51712168c82cd13a8e000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 10:50:17 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51712169c82cd13a8e000008'), "created_at"=>2013-04-19 10:50:17 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51712169c82cd13a8e000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 10:50:17 UTC, "created_at"=>2013-04-19 10:50:17 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51712169c82cd13a8e000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51712169c82cd13a8e000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-19 10:50:17 UTC, "created_at"=>2013-04-19 10:50:17 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51712169c82cd13a8e00000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51712169c82cd13a8e000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51712169c82cd13a8e000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51712169c82cd13a8e000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51712169c82cd13a8e00000a'), "_type"=>"Locomotive::ContentEntry51712169c82cd13a8e000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51712169c82cd13a8e000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51712169c82cd13a8e000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-19 10:50:17 UTC, "site_id"=>BSON::ObjectId('51712168c82cd13a8e000001'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:50:17 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51712169c82cd13a8e000007", :_original_id=>BSON::ObjectId('51712169c82cd13a8e00000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51712168c82cd13a8e000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51712169c82cd13a8e00000b'), "_original_type"=>"Locomotive::ContentEntry51712169c82cd13a8e000007", "_original_id"=>BSON::ObjectId('51712169c82cd13a8e00000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51712169c82cd13a8e00000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51712169c82cd13a8e000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51712169c82cd13a8e000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51712169c82cd13a8e000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51712169c82cd13a8e00000c'), "_type"=>"Locomotive::ContentEntry51712169c82cd13a8e000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51712169c82cd13a8e000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51712169c82cd13a8e000007'), "_slug"=>"hidden", "updated_at"=>2013-04-19 10:50:17 UTC, "site_id"=>BSON::ObjectId('51712168c82cd13a8e000001'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:50:17 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51712169c82cd13a8e000007", :_original_id=>BSON::ObjectId('51712169c82cd13a8e00000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51712168c82cd13a8e000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51712169c82cd13a8e00000d'), "_original_type"=>"Locomotive::ContentEntry51712169c82cd13a8e000007", "_original_id"=>BSON::ObjectId('51712169c82cd13a8e00000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51712168c82cd13a8e000001'), :parent_id=>BSON::ObjectId('51712169c82cd13a8e000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51712169c82cd13a8e000004'), :site_id=>BSON::ObjectId('51712168c82cd13a8e000001'), :_id=>{"$ne"=>BSON::ObjectId('51712169c82cd13a8e00000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51712169c82cd13a8e000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51712169c82cd13a8e000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712169c82cd13a8e00000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51712168c82cd13a8e000001'), "parent_id"=>BSON::ObjectId('51712169c82cd13a8e000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 10:50:17 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-19 10:50:17 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712168c82cd13a8e000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712169c82cd13a8e00000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712169c82cd13a8e00000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712169c82cd13a8e00000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712169c82cd13a8e00000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51712168c82cd13a8e000001')}, "_id"=>BSON::ObjectId('51712169c82cd13a8e00000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712169c82cd13a8e00000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('51712168c82cd13a8e000001'), :parent_id=>BSON::ObjectId('51712169c82cd13a8e000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51712169c82cd13a8e000004'), :site_id=>BSON::ObjectId('51712168c82cd13a8e000001'), :_id=>{"$ne"=>BSON::ObjectId('51712169c82cd13a8e000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51712169c82cd13a8e000004'), :site_id=>BSON::ObjectId('51712168c82cd13a8e000001'), :_id=>{"$ne"=>BSON::ObjectId('51712169c82cd13a8e000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('51712169c82cd13a8e000004'), :site_id=>BSON::ObjectId('51712168c82cd13a8e000001'), :_id=>{"$ne"=>BSON::ObjectId('51712169c82cd13a8e000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51712169c82cd13a8e000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51712169c82cd13a8e000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712169c82cd13a8e000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('51712168c82cd13a8e000001'), "parent_id"=>BSON::ObjectId('51712169c82cd13a8e000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 10:50:17 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-19 10:50:17 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712168c82cd13a8e000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712169c82cd13a8e000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712169c82cd13a8e000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712169c82cd13a8e000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712169c82cd13a8e000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('51712168c82cd13a8e000001')}, "_id"=>BSON::ObjectId('51712169c82cd13a8e000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712169c82cd13a8e000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712168c82cd13a8e000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('51712168c82cd13a8e000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('51712169c82cd13a8e000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712168c82cd13a8e000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712169c82cd13a8e000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712169c82cd13a8e000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('51712169c82cd13a8e000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('51712168c82cd13a8e000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('51712169c82cd13a8e000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-19 10:50:16 UTC, "updated_at"=>2013-04-19 10:50:17 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51712169c82cd13a8e000013'), "account_id"=>BSON::ObjectId('51712168c82cd13a8e000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51712169c82cd13a8e000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712169c82cd13a8e000012'), :_id=>{"$ne"=>BSON::ObjectId('51712169c82cd13a8e000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712169c82cd13a8e000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51712169c82cd13a8e000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:50:17 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 10:50:17 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712169c82cd13a8e000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712169c82cd13a8e000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712169c82cd13a8e000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712169c82cd13a8e000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712169c82cd13a8e000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51712169c82cd13a8e000012')}, "_id"=>BSON::ObjectId('51712169c82cd13a8e000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712169c82cd13a8e000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51712169c82cd13a8e000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712169c82cd13a8e000012'), :_id=>{"$ne"=>BSON::ObjectId('51712169c82cd13a8e000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712169c82cd13a8e000012'), :_id=>{"$ne"=>BSON::ObjectId('51712169c82cd13a8e000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51712169c82cd13a8e000012'), :_id=>{"$ne"=>BSON::ObjectId('51712169c82cd13a8e000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712169c82cd13a8e000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51712169c82cd13a8e000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:50:17 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 10:50:17 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712169c82cd13a8e000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712169c82cd13a8e000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712169c82cd13a8e000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712169c82cd13a8e000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('51712169c82cd13a8e000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712169c82cd13a8e000012'), :_id=>{"$ne"=>BSON::ObjectId('51712169c82cd13a8e000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712169c82cd13a8e000012'), :_id=>{"$ne"=>BSON::ObjectId('51712169c82cd13a8e000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51712169c82cd13a8e000012'), :_id=>{"$ne"=>BSON::ObjectId('51712169c82cd13a8e000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712169c82cd13a8e000017'), "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"=>BSON::ObjectId('51712169c82cd13a8e000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:50:17 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-19 10:50:17 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712169c82cd13a8e000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712169c82cd13a8e000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712169c82cd13a8e000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712169c82cd13a8e000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712169c82cd13a8e000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('51712169c82cd13a8e000012')}, "_id"=>BSON::ObjectId('51712169c82cd13a8e000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712169c82cd13a8e000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51712169c82cd13a8e000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51712169c82cd13a8e000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51712169c82cd13a8e000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 10:50:17 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51712169c82cd13a8e00001a'), "created_at"=>2013-04-19 10:50:17 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51712169c82cd13a8e00001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 10:50:17 UTC, "created_at"=>2013-04-19 10:50:17 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51712169c82cd13a8e00001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51712169c82cd13a8e000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('51712169c82cd13a8e000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51712169c82cd13a8e000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51712169c82cd13a8e00001b'), "_type"=>"Locomotive::ContentEntry51712169c82cd13a8e000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51712169c82cd13a8e000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51712169c82cd13a8e000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-19 10:50:17 UTC, "site_id"=>BSON::ObjectId('51712169c82cd13a8e000012'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:50:17 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51712169c82cd13a8e000019", :_original_id=>BSON::ObjectId('51712169c82cd13a8e00001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('51712169c82cd13a8e000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51712169c82cd13a8e00001c'), "_original_type"=>"Locomotive::ContentEntry51712169c82cd13a8e000019", "_original_id"=>BSON::ObjectId('51712169c82cd13a8e00001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-19 12:50:17 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712168c82cd13a8e000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 78ms (Views: 73.2ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-19 12:50:17 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712168c82cd13a8e000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('51712168c82cd13a8e000001'), :_keywords=>{"$in"=>["findable", "en:findable"]}}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.4ms) Started GET "/findable" for 127.0.0.1 at 2013-04-19 12:50:17 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"path"=>"findable"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712168c82cd13a8e000001'), :depth=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.2ms) Started GET "/" for 127.0.0.1 at 2013-04-19 12:50:17 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712168c82cd13a8e000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.2ms) Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-04-19 12:50:17 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712168c82cd13a8e000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('51712168c82cd13a8e000001'), :_keywords=>{"$in"=>["not", "found", "en:not", "en:found"]}}) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.2ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('5171217ac82cd13aa8000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"DkLrjy6CVmoYi3qsepCy", "encrypted_password"=>"8d24e26eb0f9067a139aee9bdd23d14d98a0d17a", "updated_at"=>2013-04-19 10:50:34 UTC, "created_at"=>2013-04-19 10:50:34 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('5171217ac82cd13aa8000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-19 10:50:34 UTC, "updated_at"=>2013-04-19 10:50:34 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5171217ac82cd13aa8000003'), "account_id"=>BSON::ObjectId('5171217ac82cd13aa8000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5171217ac82cd13aa8000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5171217ac82cd13aa8000001'), :_id=>{"$ne"=>BSON::ObjectId('5171217bc82cd13aa8000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5171217bc82cd13aa8000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5171217ac82cd13aa8000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:50:35 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 10:50:35 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5171217bc82cd13aa8000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5171217ac82cd13aa8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5171217bc82cd13aa8000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5171217bc82cd13aa8000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5171217bc82cd13aa8000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5171217ac82cd13aa8000001')}, "_id"=>BSON::ObjectId('5171217bc82cd13aa8000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5171217bc82cd13aa8000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5171217ac82cd13aa8000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5171217ac82cd13aa8000001'), :_id=>{"$ne"=>BSON::ObjectId('5171217bc82cd13aa8000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5171217ac82cd13aa8000001'), :_id=>{"$ne"=>BSON::ObjectId('5171217bc82cd13aa8000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5171217ac82cd13aa8000001'), :_id=>{"$ne"=>BSON::ObjectId('5171217bc82cd13aa8000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5171217bc82cd13aa8000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5171217ac82cd13aa8000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:50:35 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 10:50:35 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5171217ac82cd13aa8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5171217bc82cd13aa8000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5171217bc82cd13aa8000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5171217bc82cd13aa8000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5171217ac82cd13aa8000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5171217bc82cd13aa8000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5171217ac82cd13aa8000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 10:50:35 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5171217bc82cd13aa8000008'), "created_at"=>2013-04-19 10:50:35 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5171217bc82cd13aa8000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 10:50:35 UTC, "created_at"=>2013-04-19 10:50:35 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('5171217bc82cd13aa8000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('5171217bc82cd13aa8000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-19 10:50:35 UTC, "created_at"=>2013-04-19 10:50:35 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5171217bc82cd13aa800000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5171217bc82cd13aa8000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('5171217bc82cd13aa8000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5171217bc82cd13aa8000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5171217bc82cd13aa800000a'), "_type"=>"Locomotive::ContentEntry5171217bc82cd13aa8000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5171217bc82cd13aa8000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5171217bc82cd13aa8000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-19 10:50:35 UTC, "site_id"=>BSON::ObjectId('5171217ac82cd13aa8000001'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:50:35 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5171217bc82cd13aa8000007", :_original_id=>BSON::ObjectId('5171217bc82cd13aa800000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('5171217ac82cd13aa8000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5171217bc82cd13aa800000b'), "_original_type"=>"Locomotive::ContentEntry5171217bc82cd13aa8000007", "_original_id"=>BSON::ObjectId('5171217bc82cd13aa800000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5171217bc82cd13aa800000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry5171217bc82cd13aa8000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('5171217bc82cd13aa8000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5171217bc82cd13aa8000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('5171217bc82cd13aa800000c'), "_type"=>"Locomotive::ContentEntry5171217bc82cd13aa8000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5171217bc82cd13aa8000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5171217bc82cd13aa8000007'), "_slug"=>"hidden", "updated_at"=>2013-04-19 10:50:35 UTC, "site_id"=>BSON::ObjectId('5171217ac82cd13aa8000001'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:50:35 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5171217bc82cd13aa8000007", :_original_id=>BSON::ObjectId('5171217bc82cd13aa800000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('5171217ac82cd13aa8000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5171217bc82cd13aa800000d'), "_original_type"=>"Locomotive::ContentEntry5171217bc82cd13aa8000007", "_original_id"=>BSON::ObjectId('5171217bc82cd13aa800000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('5171217ac82cd13aa8000001'), :parent_id=>BSON::ObjectId('5171217bc82cd13aa8000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5171217bc82cd13aa8000004'), :site_id=>BSON::ObjectId('5171217ac82cd13aa8000001'), :_id=>{"$ne"=>BSON::ObjectId('5171217bc82cd13aa800000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5171217bc82cd13aa8000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5171217bc82cd13aa8000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5171217bc82cd13aa800000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('5171217ac82cd13aa8000001'), "parent_id"=>BSON::ObjectId('5171217bc82cd13aa8000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 10:50:35 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-19 10:50:35 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5171217ac82cd13aa8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5171217bc82cd13aa800000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5171217bc82cd13aa800000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5171217bc82cd13aa800000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5171217bc82cd13aa800000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('5171217ac82cd13aa8000001')}, "_id"=>BSON::ObjectId('5171217bc82cd13aa800000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5171217bc82cd13aa800000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('5171217ac82cd13aa8000001'), :parent_id=>BSON::ObjectId('5171217bc82cd13aa8000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5171217bc82cd13aa8000004'), :site_id=>BSON::ObjectId('5171217ac82cd13aa8000001'), :_id=>{"$ne"=>BSON::ObjectId('5171217bc82cd13aa8000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5171217bc82cd13aa8000004'), :site_id=>BSON::ObjectId('5171217ac82cd13aa8000001'), :_id=>{"$ne"=>BSON::ObjectId('5171217bc82cd13aa8000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('5171217bc82cd13aa8000004'), :site_id=>BSON::ObjectId('5171217ac82cd13aa8000001'), :_id=>{"$ne"=>BSON::ObjectId('5171217bc82cd13aa8000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5171217bc82cd13aa8000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5171217bc82cd13aa8000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5171217bc82cd13aa8000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('5171217ac82cd13aa8000001'), "parent_id"=>BSON::ObjectId('5171217bc82cd13aa8000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 10:50:35 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-19 10:50:35 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5171217ac82cd13aa8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5171217bc82cd13aa8000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5171217bc82cd13aa8000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5171217bc82cd13aa8000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5171217bc82cd13aa8000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('5171217ac82cd13aa8000001')}, "_id"=>BSON::ObjectId('5171217bc82cd13aa8000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5171217bc82cd13aa8000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5171217ac82cd13aa8000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('5171217ac82cd13aa8000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('5171217bc82cd13aa8000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5171217ac82cd13aa8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5171217bc82cd13aa8000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5171217bc82cd13aa8000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('5171217bc82cd13aa8000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('5171217ac82cd13aa8000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('5171217bc82cd13aa8000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-19 10:50:34 UTC, "updated_at"=>2013-04-19 10:50:35 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5171217bc82cd13aa8000013'), "account_id"=>BSON::ObjectId('5171217ac82cd13aa8000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5171217bc82cd13aa8000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5171217bc82cd13aa8000012'), :_id=>{"$ne"=>BSON::ObjectId('5171217bc82cd13aa8000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5171217bc82cd13aa8000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5171217bc82cd13aa8000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:50:35 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 10:50:35 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5171217bc82cd13aa8000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5171217bc82cd13aa8000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5171217bc82cd13aa8000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5171217bc82cd13aa8000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5171217bc82cd13aa8000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5171217bc82cd13aa8000012')}, "_id"=>BSON::ObjectId('5171217bc82cd13aa8000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5171217bc82cd13aa8000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5171217bc82cd13aa8000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5171217bc82cd13aa8000012'), :_id=>{"$ne"=>BSON::ObjectId('5171217bc82cd13aa8000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5171217bc82cd13aa8000012'), :_id=>{"$ne"=>BSON::ObjectId('5171217bc82cd13aa8000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5171217bc82cd13aa8000012'), :_id=>{"$ne"=>BSON::ObjectId('5171217bc82cd13aa8000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5171217bc82cd13aa8000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5171217bc82cd13aa8000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:50:35 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 10:50:35 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5171217bc82cd13aa8000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5171217bc82cd13aa8000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5171217bc82cd13aa8000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5171217bc82cd13aa8000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('5171217bc82cd13aa8000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5171217bc82cd13aa8000012'), :_id=>{"$ne"=>BSON::ObjectId('5171217bc82cd13aa8000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5171217bc82cd13aa8000012'), :_id=>{"$ne"=>BSON::ObjectId('5171217bc82cd13aa8000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5171217bc82cd13aa8000012'), :_id=>{"$ne"=>BSON::ObjectId('5171217bc82cd13aa8000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5171217bc82cd13aa8000017'), "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"=>BSON::ObjectId('5171217bc82cd13aa8000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 10:50:35 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-19 10:50:35 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5171217bc82cd13aa8000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5171217bc82cd13aa8000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5171217bc82cd13aa8000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5171217bc82cd13aa8000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5171217bc82cd13aa8000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('5171217bc82cd13aa8000012')}, "_id"=>BSON::ObjectId('5171217bc82cd13aa8000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5171217bc82cd13aa8000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5171217bc82cd13aa8000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5171217bc82cd13aa8000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5171217bc82cd13aa8000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 10:50:35 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5171217bc82cd13aa800001a'), "created_at"=>2013-04-19 10:50:35 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5171217bc82cd13aa800001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 10:50:35 UTC, "created_at"=>2013-04-19 10:50:35 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5171217bc82cd13aa800001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5171217bc82cd13aa8000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('5171217bc82cd13aa8000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5171217bc82cd13aa8000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5171217bc82cd13aa800001b'), "_type"=>"Locomotive::ContentEntry5171217bc82cd13aa8000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5171217bc82cd13aa8000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5171217bc82cd13aa8000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-19 10:50:35 UTC, "site_id"=>BSON::ObjectId('5171217bc82cd13aa8000012'), "_label_field_name"=>"name", "created_at"=>2013-04-19 10:50:35 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5171217bc82cd13aa8000019", :_original_id=>BSON::ObjectId('5171217bc82cd13aa800001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('5171217bc82cd13aa8000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5171217bc82cd13aa800001c'), "_original_type"=>"Locomotive::ContentEntry5171217bc82cd13aa8000019", "_original_id"=>BSON::ObjectId('5171217bc82cd13aa800001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-19 12:50:35 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5171217ac82cd13aa8000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 124ms (Views: 118.1ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-19 12:50:35 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5171217ac82cd13aa8000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 6ms (Views: 0.6ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51712653c82cd13c33000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"DAEhRVMxKz2zQkqfsQbs", "encrypted_password"=>"9e10576a0b554612b8354b092f60496398ef282f", "updated_at"=>2013-04-19 11:11:15 UTC, "created_at"=>2013-04-19 11:11:15 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51712653c82cd13c33000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-19 11:11:14 UTC, "updated_at"=>2013-04-19 11:11:15 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51712653c82cd13c33000003'), "account_id"=>BSON::ObjectId('51712653c82cd13c33000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51712653c82cd13c33000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712653c82cd13c33000001'), :_id=>{"$ne"=>BSON::ObjectId('51712653c82cd13c33000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712653c82cd13c33000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51712653c82cd13c33000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 11:11:16 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 11:11:16 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712653c82cd13c33000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712653c82cd13c33000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712653c82cd13c33000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712653c82cd13c33000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712653c82cd13c33000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51712653c82cd13c33000001')}, "_id"=>BSON::ObjectId('51712654c82cd13c33000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712653c82cd13c33000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51712653c82cd13c33000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712653c82cd13c33000001'), :_id=>{"$ne"=>BSON::ObjectId('51712654c82cd13c33000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712653c82cd13c33000001'), :_id=>{"$ne"=>BSON::ObjectId('51712654c82cd13c33000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51712653c82cd13c33000001'), :_id=>{"$ne"=>BSON::ObjectId('51712654c82cd13c33000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712654c82cd13c33000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51712653c82cd13c33000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 11:11:16 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 11:11:16 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712653c82cd13c33000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712654c82cd13c33000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712654c82cd13c33000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712654c82cd13c33000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51712653c82cd13c33000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51712654c82cd13c33000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51712653c82cd13c33000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 11:11:16 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51712654c82cd13c33000008'), "created_at"=>2013-04-19 11:11:16 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51712654c82cd13c33000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 11:11:16 UTC, "created_at"=>2013-04-19 11:11:16 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51712654c82cd13c33000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51712654c82cd13c33000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-19 11:11:16 UTC, "created_at"=>2013-04-19 11:11:16 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51712654c82cd13c3300000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51712654c82cd13c33000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51712654c82cd13c33000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51712654c82cd13c33000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51712654c82cd13c3300000a'), "_type"=>"Locomotive::ContentEntry51712654c82cd13c33000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51712654c82cd13c33000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51712654c82cd13c33000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-19 11:11:16 UTC, "site_id"=>BSON::ObjectId('51712653c82cd13c33000001'), "_label_field_name"=>"name", "created_at"=>2013-04-19 11:11:16 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51712654c82cd13c33000007", :_original_id=>BSON::ObjectId('51712654c82cd13c3300000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51712653c82cd13c33000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51712654c82cd13c3300000b'), "_original_type"=>"Locomotive::ContentEntry51712654c82cd13c33000007", "_original_id"=>BSON::ObjectId('51712654c82cd13c3300000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51712654c82cd13c3300000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51712654c82cd13c33000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51712654c82cd13c33000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51712654c82cd13c33000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51712654c82cd13c3300000c'), "_type"=>"Locomotive::ContentEntry51712654c82cd13c33000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51712654c82cd13c33000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51712654c82cd13c33000007'), "_slug"=>"hidden", "updated_at"=>2013-04-19 11:11:16 UTC, "site_id"=>BSON::ObjectId('51712653c82cd13c33000001'), "_label_field_name"=>"name", "created_at"=>2013-04-19 11:11:16 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51712654c82cd13c33000007", :_original_id=>BSON::ObjectId('51712654c82cd13c3300000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51712653c82cd13c33000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51712654c82cd13c3300000d'), "_original_type"=>"Locomotive::ContentEntry51712654c82cd13c33000007", "_original_id"=>BSON::ObjectId('51712654c82cd13c3300000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51712653c82cd13c33000001'), :parent_id=>BSON::ObjectId('51712653c82cd13c33000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51712653c82cd13c33000004'), :site_id=>BSON::ObjectId('51712653c82cd13c33000001'), :_id=>{"$ne"=>BSON::ObjectId('51712654c82cd13c3300000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51712653c82cd13c33000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51712653c82cd13c33000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712654c82cd13c3300000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51712653c82cd13c33000001'), "parent_id"=>BSON::ObjectId('51712653c82cd13c33000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 11:11:16 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-19 11:11:16 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712653c82cd13c33000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712654c82cd13c3300000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712654c82cd13c3300000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712654c82cd13c3300000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712654c82cd13c3300000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51712653c82cd13c33000001')}, "_id"=>BSON::ObjectId('51712654c82cd13c3300000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712654c82cd13c3300000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('51712653c82cd13c33000001'), :parent_id=>BSON::ObjectId('51712653c82cd13c33000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51712653c82cd13c33000004'), :site_id=>BSON::ObjectId('51712653c82cd13c33000001'), :_id=>{"$ne"=>BSON::ObjectId('51712654c82cd13c33000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51712653c82cd13c33000004'), :site_id=>BSON::ObjectId('51712653c82cd13c33000001'), :_id=>{"$ne"=>BSON::ObjectId('51712654c82cd13c33000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('51712653c82cd13c33000004'), :site_id=>BSON::ObjectId('51712653c82cd13c33000001'), :_id=>{"$ne"=>BSON::ObjectId('51712654c82cd13c33000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51712653c82cd13c33000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51712653c82cd13c33000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712654c82cd13c33000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('51712653c82cd13c33000001'), "parent_id"=>BSON::ObjectId('51712653c82cd13c33000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 11:11:16 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-19 11:11:16 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712653c82cd13c33000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712654c82cd13c33000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712654c82cd13c33000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712654c82cd13c33000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712654c82cd13c33000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('51712653c82cd13c33000001')}, "_id"=>BSON::ObjectId('51712654c82cd13c33000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712654c82cd13c33000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712653c82cd13c33000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('51712653c82cd13c33000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('51712653c82cd13c33000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712653c82cd13c33000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712653c82cd13c33000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712653c82cd13c33000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('51712654c82cd13c33000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('51712653c82cd13c33000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('51712654c82cd13c33000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-19 11:11:14 UTC, "updated_at"=>2013-04-19 11:11:16 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51712654c82cd13c33000013'), "account_id"=>BSON::ObjectId('51712653c82cd13c33000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51712654c82cd13c33000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712654c82cd13c33000012'), :_id=>{"$ne"=>BSON::ObjectId('51712654c82cd13c33000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712654c82cd13c33000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51712654c82cd13c33000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 11:11:16 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 11:11:16 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712654c82cd13c33000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712654c82cd13c33000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712654c82cd13c33000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712654c82cd13c33000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712654c82cd13c33000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51712654c82cd13c33000012')}, "_id"=>BSON::ObjectId('51712654c82cd13c33000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712654c82cd13c33000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51712654c82cd13c33000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712654c82cd13c33000012'), :_id=>{"$ne"=>BSON::ObjectId('51712654c82cd13c33000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712654c82cd13c33000012'), :_id=>{"$ne"=>BSON::ObjectId('51712654c82cd13c33000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51712654c82cd13c33000012'), :_id=>{"$ne"=>BSON::ObjectId('51712654c82cd13c33000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712654c82cd13c33000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51712654c82cd13c33000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 11:11:16 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 11:11:16 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712654c82cd13c33000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712654c82cd13c33000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712654c82cd13c33000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712654c82cd13c33000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('51712654c82cd13c33000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712654c82cd13c33000012'), :_id=>{"$ne"=>BSON::ObjectId('51712654c82cd13c33000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712654c82cd13c33000012'), :_id=>{"$ne"=>BSON::ObjectId('51712654c82cd13c33000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51712654c82cd13c33000012'), :_id=>{"$ne"=>BSON::ObjectId('51712654c82cd13c33000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712654c82cd13c33000017'), "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"=>BSON::ObjectId('51712654c82cd13c33000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 11:11:16 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-19 11:11:16 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712654c82cd13c33000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712654c82cd13c33000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712654c82cd13c33000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712654c82cd13c33000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712654c82cd13c33000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('51712654c82cd13c33000012')}, "_id"=>BSON::ObjectId('51712654c82cd13c33000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712654c82cd13c33000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51712654c82cd13c33000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51712654c82cd13c33000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51712654c82cd13c33000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 11:11:16 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51712654c82cd13c3300001a'), "created_at"=>2013-04-19 11:11:16 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51712654c82cd13c3300001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 11:11:16 UTC, "created_at"=>2013-04-19 11:11:16 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51712654c82cd13c3300001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51712654c82cd13c33000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('51712654c82cd13c33000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51712654c82cd13c33000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51712654c82cd13c3300001b'), "_type"=>"Locomotive::ContentEntry51712654c82cd13c33000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51712654c82cd13c33000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51712654c82cd13c33000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-19 11:11:16 UTC, "site_id"=>BSON::ObjectId('51712654c82cd13c33000012'), "_label_field_name"=>"name", "created_at"=>2013-04-19 11:11:16 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51712654c82cd13c33000019", :_original_id=>BSON::ObjectId('51712654c82cd13c3300001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('51712654c82cd13c33000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51712654c82cd13c3300001c'), "_original_type"=>"Locomotive::ContentEntry51712654c82cd13c33000019", "_original_id"=>BSON::ObjectId('51712654c82cd13c3300001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-19 13:11:16 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712653c82cd13c33000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 108ms (Views: 102.1ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-19 13:11:16 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712653c82cd13c33000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 6ms (Views: 0.5ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51712670c82cd13c4a000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"6yZqGLpqsiAQgPWjfidD", "encrypted_password"=>"c123b65cff78de765f3ee712cbe2d43f665d2e2a", "updated_at"=>2013-04-19 11:11:44 UTC, "created_at"=>2013-04-19 11:11:44 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51712670c82cd13c4a000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-19 11:11:44 UTC, "updated_at"=>2013-04-19 11:11:44 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51712670c82cd13c4a000003'), "account_id"=>BSON::ObjectId('51712670c82cd13c4a000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51712670c82cd13c4a000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712670c82cd13c4a000001'), :_id=>{"$ne"=>BSON::ObjectId('51712671c82cd13c4a000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712671c82cd13c4a000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51712670c82cd13c4a000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 11:11:45 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 11:11:45 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712671c82cd13c4a000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712670c82cd13c4a000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712671c82cd13c4a000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712671c82cd13c4a000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712671c82cd13c4a000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51712670c82cd13c4a000001')}, "_id"=>BSON::ObjectId('51712671c82cd13c4a000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712671c82cd13c4a000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51712670c82cd13c4a000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712670c82cd13c4a000001'), :_id=>{"$ne"=>BSON::ObjectId('51712671c82cd13c4a000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712670c82cd13c4a000001'), :_id=>{"$ne"=>BSON::ObjectId('51712671c82cd13c4a000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51712670c82cd13c4a000001'), :_id=>{"$ne"=>BSON::ObjectId('51712671c82cd13c4a000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712671c82cd13c4a000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51712670c82cd13c4a000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 11:11:45 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 11:11:45 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712670c82cd13c4a000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712671c82cd13c4a000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712671c82cd13c4a000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712671c82cd13c4a000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51712670c82cd13c4a000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51712671c82cd13c4a000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51712670c82cd13c4a000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 11:11:45 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51712671c82cd13c4a000008'), "created_at"=>2013-04-19 11:11:45 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51712671c82cd13c4a000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 11:11:45 UTC, "created_at"=>2013-04-19 11:11:45 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51712671c82cd13c4a000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51712671c82cd13c4a000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-19 11:11:45 UTC, "created_at"=>2013-04-19 11:11:45 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51712671c82cd13c4a00000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51712671c82cd13c4a000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51712671c82cd13c4a000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51712671c82cd13c4a000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51712671c82cd13c4a00000a'), "_type"=>"Locomotive::ContentEntry51712671c82cd13c4a000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51712671c82cd13c4a000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51712671c82cd13c4a000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-19 11:11:45 UTC, "site_id"=>BSON::ObjectId('51712670c82cd13c4a000001'), "_label_field_name"=>"name", "created_at"=>2013-04-19 11:11:45 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51712671c82cd13c4a000007", :_original_id=>BSON::ObjectId('51712671c82cd13c4a00000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51712670c82cd13c4a000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51712671c82cd13c4a00000b'), "_original_type"=>"Locomotive::ContentEntry51712671c82cd13c4a000007", "_original_id"=>BSON::ObjectId('51712671c82cd13c4a00000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51712671c82cd13c4a00000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51712671c82cd13c4a000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51712671c82cd13c4a000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51712671c82cd13c4a000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51712671c82cd13c4a00000c'), "_type"=>"Locomotive::ContentEntry51712671c82cd13c4a000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51712671c82cd13c4a000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51712671c82cd13c4a000007'), "_slug"=>"hidden", "updated_at"=>2013-04-19 11:11:45 UTC, "site_id"=>BSON::ObjectId('51712670c82cd13c4a000001'), "_label_field_name"=>"name", "created_at"=>2013-04-19 11:11:45 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51712671c82cd13c4a000007", :_original_id=>BSON::ObjectId('51712671c82cd13c4a00000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51712670c82cd13c4a000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51712671c82cd13c4a00000d'), "_original_type"=>"Locomotive::ContentEntry51712671c82cd13c4a000007", "_original_id"=>BSON::ObjectId('51712671c82cd13c4a00000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51712670c82cd13c4a000001'), :parent_id=>BSON::ObjectId('51712671c82cd13c4a000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51712671c82cd13c4a000004'), :site_id=>BSON::ObjectId('51712670c82cd13c4a000001'), :_id=>{"$ne"=>BSON::ObjectId('51712671c82cd13c4a00000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51712671c82cd13c4a000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51712671c82cd13c4a000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712671c82cd13c4a00000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51712670c82cd13c4a000001'), "parent_id"=>BSON::ObjectId('51712671c82cd13c4a000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 11:11:45 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-19 11:11:45 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712670c82cd13c4a000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712671c82cd13c4a00000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712671c82cd13c4a00000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712671c82cd13c4a00000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712671c82cd13c4a00000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51712670c82cd13c4a000001')}, "_id"=>BSON::ObjectId('51712671c82cd13c4a00000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712671c82cd13c4a00000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('51712670c82cd13c4a000001'), :parent_id=>BSON::ObjectId('51712671c82cd13c4a000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51712671c82cd13c4a000004'), :site_id=>BSON::ObjectId('51712670c82cd13c4a000001'), :_id=>{"$ne"=>BSON::ObjectId('51712671c82cd13c4a000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51712671c82cd13c4a000004'), :site_id=>BSON::ObjectId('51712670c82cd13c4a000001'), :_id=>{"$ne"=>BSON::ObjectId('51712671c82cd13c4a000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('51712671c82cd13c4a000004'), :site_id=>BSON::ObjectId('51712670c82cd13c4a000001'), :_id=>{"$ne"=>BSON::ObjectId('51712671c82cd13c4a000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51712671c82cd13c4a000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51712671c82cd13c4a000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712671c82cd13c4a000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('51712670c82cd13c4a000001'), "parent_id"=>BSON::ObjectId('51712671c82cd13c4a000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-19 11:11:45 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-19 11:11:45 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712670c82cd13c4a000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712671c82cd13c4a000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712671c82cd13c4a000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712671c82cd13c4a000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712671c82cd13c4a000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('51712670c82cd13c4a000001')}, "_id"=>BSON::ObjectId('51712671c82cd13c4a000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712671c82cd13c4a000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712670c82cd13c4a000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('51712670c82cd13c4a000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('51712671c82cd13c4a000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712670c82cd13c4a000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712671c82cd13c4a000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712671c82cd13c4a000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('51712671c82cd13c4a000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('51712670c82cd13c4a000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('51712671c82cd13c4a000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-19 11:11:44 UTC, "updated_at"=>2013-04-19 11:11:45 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51712671c82cd13c4a000013'), "account_id"=>BSON::ObjectId('51712670c82cd13c4a000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51712671c82cd13c4a000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712671c82cd13c4a000012'), :_id=>{"$ne"=>BSON::ObjectId('51712671c82cd13c4a000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712671c82cd13c4a000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51712671c82cd13c4a000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 11:11:45 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-19 11:11:45 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712671c82cd13c4a000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712671c82cd13c4a000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712671c82cd13c4a000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712671c82cd13c4a000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712671c82cd13c4a000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51712671c82cd13c4a000012')}, "_id"=>BSON::ObjectId('51712671c82cd13c4a000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712671c82cd13c4a000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51712671c82cd13c4a000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712671c82cd13c4a000012'), :_id=>{"$ne"=>BSON::ObjectId('51712671c82cd13c4a000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712671c82cd13c4a000012'), :_id=>{"$ne"=>BSON::ObjectId('51712671c82cd13c4a000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51712671c82cd13c4a000012'), :_id=>{"$ne"=>BSON::ObjectId('51712671c82cd13c4a000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712671c82cd13c4a000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51712671c82cd13c4a000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 11:11:45 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-19 11:11:45 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712671c82cd13c4a000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712671c82cd13c4a000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712671c82cd13c4a000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712671c82cd13c4a000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('51712671c82cd13c4a000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712671c82cd13c4a000012'), :_id=>{"$ne"=>BSON::ObjectId('51712671c82cd13c4a000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51712671c82cd13c4a000012'), :_id=>{"$ne"=>BSON::ObjectId('51712671c82cd13c4a000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51712671c82cd13c4a000012'), :_id=>{"$ne"=>BSON::ObjectId('51712671c82cd13c4a000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51712671c82cd13c4a000017'), "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"=>BSON::ObjectId('51712671c82cd13c4a000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-19 11:11:45 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-19 11:11:45 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712671c82cd13c4a000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51712671c82cd13c4a000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51712671c82cd13c4a000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51712671c82cd13c4a000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51712671c82cd13c4a000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('51712671c82cd13c4a000012')}, "_id"=>BSON::ObjectId('51712671c82cd13c4a000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51712671c82cd13c4a000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51712671c82cd13c4a000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51712671c82cd13c4a000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51712671c82cd13c4a000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-19 11:11:45 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51712671c82cd13c4a00001a'), "created_at"=>2013-04-19 11:11:45 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51712671c82cd13c4a00001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-19 11:11:45 UTC, "created_at"=>2013-04-19 11:11:45 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51712671c82cd13c4a00001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51712671c82cd13c4a000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('51712671c82cd13c4a000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51712671c82cd13c4a000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51712671c82cd13c4a00001b'), "_type"=>"Locomotive::ContentEntry51712671c82cd13c4a000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51712671c82cd13c4a000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51712671c82cd13c4a000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-19 11:11:45 UTC, "site_id"=>BSON::ObjectId('51712671c82cd13c4a000012'), "_label_field_name"=>"name", "created_at"=>2013-04-19 11:11:45 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51712671c82cd13c4a000019", :_original_id=>BSON::ObjectId('51712671c82cd13c4a00001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('51712671c82cd13c4a000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51712671c82cd13c4a00001c'), "_original_type"=>"Locomotive::ContentEntry51712671c82cd13c4a000019", "_original_id"=>BSON::ObjectId('51712671c82cd13c4a00001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-19 13:11:45 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712670c82cd13c4a000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 108ms (Views: 102.0ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-19 13:11:45 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51712670c82cd13c4a000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('51712670c82cd13c4a000001'), :_keywords=>{"$in"=>["findable", "en:findable"]}}) Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 0.6ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('5174fb55c82cd1ae86000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"ExByrbp5suV4zjrMQ6zF", "encrypted_password"=>"17abcbd960e9bdcdc25de9cb605bb88049003a98", "updated_at"=>2013-04-22 08:56:53 UTC, "created_at"=>2013-04-22 08:56:53 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('5174fb55c82cd1ae86000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 08:56:52 UTC, "updated_at"=>2013-04-22 08:56:53 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174fb55c82cd1ae86000003'), "account_id"=>BSON::ObjectId('5174fb55c82cd1ae86000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fb55c82cd1ae86000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fb55c82cd1ae86000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174fb55c82cd1ae86000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 08:56:53 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 08:56:53 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fb55c82cd1ae86000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fb55c82cd1ae86000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fb55c82cd1ae86000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fb55c82cd1ae86000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fb55c82cd1ae86000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000001')}, "_id"=>BSON::ObjectId('5174fb55c82cd1ae86000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fb55c82cd1ae86000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fb55c82cd1ae86000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fb55c82cd1ae86000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fb55c82cd1ae86000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fb55c82cd1ae86000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174fb55c82cd1ae86000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 08:56:53 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 08:56:53 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fb55c82cd1ae86000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fb55c82cd1ae86000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fb55c82cd1ae86000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fb55c82cd1ae86000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174fb55c82cd1ae86000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174fb55c82cd1ae86000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 08:56:53 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174fb55c82cd1ae86000008'), "created_at"=>2013-04-22 08:56:53 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174fb55c82cd1ae86000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 08:56:53 UTC, "created_at"=>2013-04-22 08:56:53 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('5174fb55c82cd1ae86000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('5174fb55c82cd1ae86000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 08:56:53 UTC, "created_at"=>2013-04-22 08:56:53 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fb55c82cd1ae8600000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174fb55c82cd1ae86000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('5174fb55c82cd1ae86000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fb55c82cd1ae86000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174fb55c82cd1ae8600000a'), "_type"=>"Locomotive::ContentEntry5174fb55c82cd1ae86000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fb55c82cd1ae86000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fb55c82cd1ae86000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 08:56:53 UTC, "site_id"=>BSON::ObjectId('5174fb55c82cd1ae86000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 08:56:53 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fb55c82cd1ae86000007", :_original_id=>BSON::ObjectId('5174fb55c82cd1ae8600000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fb55c82cd1ae8600000b'), "_original_type"=>"Locomotive::ContentEntry5174fb55c82cd1ae86000007", "_original_id"=>BSON::ObjectId('5174fb55c82cd1ae8600000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fb55c82cd1ae8600000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry5174fb55c82cd1ae86000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('5174fb55c82cd1ae86000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fb55c82cd1ae86000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('5174fb55c82cd1ae8600000c'), "_type"=>"Locomotive::ContentEntry5174fb55c82cd1ae86000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fb55c82cd1ae86000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fb55c82cd1ae86000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 08:56:53 UTC, "site_id"=>BSON::ObjectId('5174fb55c82cd1ae86000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 08:56:53 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fb55c82cd1ae86000007", :_original_id=>BSON::ObjectId('5174fb55c82cd1ae8600000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fb55c82cd1ae8600000d'), "_original_type"=>"Locomotive::ContentEntry5174fb55c82cd1ae86000007", "_original_id"=>BSON::ObjectId('5174fb55c82cd1ae8600000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000001'), :parent_id=>BSON::ObjectId('5174fb55c82cd1ae86000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fb55c82cd1ae86000004'), :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fb55c82cd1ae8600000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174fb55c82cd1ae86000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174fb55c82cd1ae86000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fb55c82cd1ae8600000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('5174fb55c82cd1ae86000001'), "parent_id"=>BSON::ObjectId('5174fb55c82cd1ae86000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 08:56:53 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-22 08:56:53 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fb55c82cd1ae86000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fb55c82cd1ae8600000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fb55c82cd1ae8600000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fb55c82cd1ae8600000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fb55c82cd1ae8600000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000001')}, "_id"=>BSON::ObjectId('5174fb55c82cd1ae8600000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fb55c82cd1ae8600000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000001'), :parent_id=>BSON::ObjectId('5174fb55c82cd1ae86000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fb55c82cd1ae86000004'), :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fb55c82cd1ae86000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fb55c82cd1ae86000004'), :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fb55c82cd1ae86000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('5174fb55c82cd1ae86000004'), :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fb55c82cd1ae86000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174fb55c82cd1ae86000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174fb55c82cd1ae86000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fb55c82cd1ae86000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('5174fb55c82cd1ae86000001'), "parent_id"=>BSON::ObjectId('5174fb55c82cd1ae86000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 08:56:53 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-22 08:56:53 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fb55c82cd1ae86000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fb55c82cd1ae86000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fb55c82cd1ae86000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fb55c82cd1ae86000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fb55c82cd1ae86000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000001')}, "_id"=>BSON::ObjectId('5174fb55c82cd1ae86000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fb55c82cd1ae86000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fb55c82cd1ae86000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('5174fb55c82cd1ae86000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('5174fb55c82cd1ae86000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fb55c82cd1ae86000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fb55c82cd1ae86000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fb55c82cd1ae86000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('5174fb55c82cd1ae86000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('5174fb55c82cd1ae86000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('5174fb55c82cd1ae86000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-22 08:56:52 UTC, "updated_at"=>2013-04-22 08:56:53 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174fb55c82cd1ae86000013'), "account_id"=>BSON::ObjectId('5174fb55c82cd1ae86000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fb55c82cd1ae86000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fb55c82cd1ae86000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174fb55c82cd1ae86000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 08:56:53 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 08:56:53 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fb55c82cd1ae86000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fb55c82cd1ae86000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fb55c82cd1ae86000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fb55c82cd1ae86000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fb55c82cd1ae86000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000012')}, "_id"=>BSON::ObjectId('5174fb55c82cd1ae86000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fb55c82cd1ae86000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fb55c82cd1ae86000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fb55c82cd1ae86000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fb55c82cd1ae86000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fb55c82cd1ae86000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174fb55c82cd1ae86000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 08:56:53 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 08:56:53 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fb55c82cd1ae86000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fb55c82cd1ae86000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fb55c82cd1ae86000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fb55c82cd1ae86000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fb55c82cd1ae86000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fb55c82cd1ae86000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fb55c82cd1ae86000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fb55c82cd1ae86000017'), "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"=>BSON::ObjectId('5174fb55c82cd1ae86000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 08:56:53 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-22 08:56:53 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fb55c82cd1ae86000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fb55c82cd1ae86000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fb55c82cd1ae86000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fb55c82cd1ae86000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fb55c82cd1ae86000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000012')}, "_id"=>BSON::ObjectId('5174fb55c82cd1ae86000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fb55c82cd1ae86000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174fb55c82cd1ae86000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174fb55c82cd1ae86000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 08:56:53 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174fb55c82cd1ae8600001a'), "created_at"=>2013-04-22 08:56:53 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174fb55c82cd1ae8600001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 08:56:53 UTC, "created_at"=>2013-04-22 08:56:53 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fb55c82cd1ae8600001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174fb55c82cd1ae86000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('5174fb55c82cd1ae86000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fb55c82cd1ae86000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174fb55c82cd1ae8600001b'), "_type"=>"Locomotive::ContentEntry5174fb55c82cd1ae86000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fb55c82cd1ae86000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fb55c82cd1ae86000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-22 08:56:53 UTC, "site_id"=>BSON::ObjectId('5174fb55c82cd1ae86000012'), "_label_field_name"=>"name", "created_at"=>2013-04-22 08:56:53 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fb55c82cd1ae86000019", :_original_id=>BSON::ObjectId('5174fb55c82cd1ae8600001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('5174fb55c82cd1ae86000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fb55c82cd1ae8600001c'), "_original_type"=>"Locomotive::ContentEntry5174fb55c82cd1ae86000019", "_original_id"=>BSON::ObjectId('5174fb55c82cd1ae8600001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-22 10:56:53 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fb55c82cd1ae86000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 85ms (Views: 81.1ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-22 10:56:54 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fb55c82cd1ae86000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('5174fb55c82cd1ae86000001'), :_keywords=>{"$in"=>["findable", "en:findable"]}}) Rendered text template (0.0ms) Completed 200 OK in 6ms (Views: 0.4ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"eTxQWZznY4WyXCyvzE9C", "encrypted_password"=>"4f44a8d0f44868f1aac6d994e308fdf0d0c0d20d", "updated_at"=>2013-04-22 08:57:43 UTC, "created_at"=>2013-04-22 08:57:43 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 08:57:43 UTC, "updated_at"=>2013-04-22 08:57:43 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000003'), "account_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fb87c82cd1ae9e000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 08:57:43 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 08:57:43 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fb87c82cd1ae9e000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fb87c82cd1ae9e000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fb87c82cd1ae9e000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174fb87c82cd1ae9e000001')}, "_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fb87c82cd1ae9e000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fb87c82cd1ae9e000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fb87c82cd1ae9e000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 08:57:43 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 08:57:43 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fb87c82cd1ae9e000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fb87c82cd1ae9e000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174fb87c82cd1ae9e000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 08:57:43 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000008'), "created_at"=>2013-04-22 08:57:43 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 08:57:43 UTC, "created_at"=>2013-04-22 08:57:43 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 08:57:44 UTC, "created_at"=>2013-04-22 08:57:44 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fb88c82cd1ae9e00000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174fb87c82cd1ae9e000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('5174fb87c82cd1ae9e000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fb87c82cd1ae9e000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174fb88c82cd1ae9e00000a'), "_type"=>"Locomotive::ContentEntry5174fb87c82cd1ae9e000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fb87c82cd1ae9e000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 08:57:44 UTC, "site_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 08:57:44 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fb87c82cd1ae9e000007", :_original_id=>BSON::ObjectId('5174fb88c82cd1ae9e00000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fb88c82cd1ae9e00000b'), "_original_type"=>"Locomotive::ContentEntry5174fb87c82cd1ae9e000007", "_original_id"=>BSON::ObjectId('5174fb88c82cd1ae9e00000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fb88c82cd1ae9e00000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry5174fb87c82cd1ae9e000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('5174fb87c82cd1ae9e000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fb87c82cd1ae9e000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('5174fb88c82cd1ae9e00000c'), "_type"=>"Locomotive::ContentEntry5174fb87c82cd1ae9e000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fb87c82cd1ae9e000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 08:57:44 UTC, "site_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 08:57:44 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fb87c82cd1ae9e000007", :_original_id=>BSON::ObjectId('5174fb88c82cd1ae9e00000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fb88c82cd1ae9e00000d'), "_original_type"=>"Locomotive::ContentEntry5174fb87c82cd1ae9e000007", "_original_id"=>BSON::ObjectId('5174fb88c82cd1ae9e00000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), :parent_id=>BSON::ObjectId('5174fb87c82cd1ae9e000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fb87c82cd1ae9e000004'), :site_id=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fb88c82cd1ae9e00000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174fb87c82cd1ae9e000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174fb87c82cd1ae9e000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fb88c82cd1ae9e00000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), "parent_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 08:57:44 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-22 08:57:44 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fb88c82cd1ae9e00000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fb88c82cd1ae9e00000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fb88c82cd1ae9e00000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fb88c82cd1ae9e00000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('5174fb87c82cd1ae9e000001')}, "_id"=>BSON::ObjectId('5174fb88c82cd1ae9e00000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fb88c82cd1ae9e00000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), :parent_id=>BSON::ObjectId('5174fb87c82cd1ae9e000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fb87c82cd1ae9e000004'), :site_id=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fb88c82cd1ae9e000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fb87c82cd1ae9e000004'), :site_id=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fb88c82cd1ae9e000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('5174fb87c82cd1ae9e000004'), :site_id=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fb88c82cd1ae9e000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174fb87c82cd1ae9e000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174fb87c82cd1ae9e000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), "parent_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 08:57:44 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-22 08:57:44 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fb88c82cd1ae9e000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fb88c82cd1ae9e000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fb88c82cd1ae9e000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('5174fb87c82cd1ae9e000001')}, "_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('5174fb87c82cd1ae9e000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 08:57:44 UTC}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fb87c82cd1ae9e000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fb87c82cd1ae9e000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-22 08:57:43 UTC, "updated_at"=>2013-04-22 08:57:44 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000013'), "account_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174fb88c82cd1ae9e000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fb88c82cd1ae9e000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fb88c82cd1ae9e000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 08:57:44 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 08:57:44 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fb88c82cd1ae9e000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fb88c82cd1ae9e000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fb88c82cd1ae9e000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174fb88c82cd1ae9e000012')}, "_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174fb88c82cd1ae9e000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fb88c82cd1ae9e000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fb88c82cd1ae9e000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fb88c82cd1ae9e000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fb88c82cd1ae9e000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fb88c82cd1ae9e000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fb88c82cd1ae9e000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 08:57:44 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 08:57:44 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fb88c82cd1ae9e000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fb88c82cd1ae9e000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('5174fb88c82cd1ae9e000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fb88c82cd1ae9e000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fb88c82cd1ae9e000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fb88c82cd1ae9e000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fb88c82cd1ae9e000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fb88c82cd1ae9e000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fb88c82cd1ae9e000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000017'), "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"=>BSON::ObjectId('5174fb88c82cd1ae9e000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 08:57:44 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-22 08:57:44 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fb88c82cd1ae9e000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fb88c82cd1ae9e000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fb88c82cd1ae9e000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('5174fb88c82cd1ae9e000012')}, "_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174fb88c82cd1ae9e000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 08:57:44 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174fb88c82cd1ae9e00001a'), "created_at"=>2013-04-22 08:57:44 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174fb88c82cd1ae9e00001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 08:57:44 UTC, "created_at"=>2013-04-22 08:57:44 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fb88c82cd1ae9e00001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174fb88c82cd1ae9e000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('5174fb88c82cd1ae9e000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fb88c82cd1ae9e000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174fb88c82cd1ae9e00001b'), "_type"=>"Locomotive::ContentEntry5174fb88c82cd1ae9e000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fb88c82cd1ae9e000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-22 08:57:44 UTC, "site_id"=>BSON::ObjectId('5174fb88c82cd1ae9e000012'), "_label_field_name"=>"name", "created_at"=>2013-04-22 08:57:44 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fb88c82cd1ae9e000019", :_original_id=>BSON::ObjectId('5174fb88c82cd1ae9e00001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('5174fb88c82cd1ae9e000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fb88c82cd1ae9e00001c'), "_original_type"=>"Locomotive::ContentEntry5174fb88c82cd1ae9e000019", "_original_id"=>BSON::ObjectId('5174fb88c82cd1ae9e00001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-22 10:57:44 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 71ms (Views: 66.5ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-22 10:57:44 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('5174fb87c82cd1ae9e000001'), :_keywords=>{"$in"=>["findable", "en:findable"]}}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.4ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('5174fbcfc82cd1aea8000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"vZr7iStLRmZEsTAjPhvx", "encrypted_password"=>"890ef9e3117ac591df4a0d8f1c1761b89d11c5a2", "updated_at"=>2013-04-22 08:58:55 UTC, "created_at"=>2013-04-22 08:58:55 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 08:58:55 UTC, "updated_at"=>2013-04-22 08:58:55 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174fbcfc82cd1aea8000003'), "account_id"=>BSON::ObjectId('5174fbcfc82cd1aea8000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fbd0c82cd1aea8000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 08:58:56 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 08:58:56 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fbd0c82cd1aea8000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fbd0c82cd1aea8000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fbd0c82cd1aea8000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174fbcfc82cd1aea8000001')}, "_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fbd0c82cd1aea8000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fbd0c82cd1aea8000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fbd0c82cd1aea8000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 08:58:56 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 08:58:56 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fbd0c82cd1aea8000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fbd0c82cd1aea8000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174fbcfc82cd1aea8000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 08:58:56 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000008'), "created_at"=>2013-04-22 08:58:56 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 08:58:56 UTC, "created_at"=>2013-04-22 08:58:56 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 08:58:56 UTC, "created_at"=>2013-04-22 08:58:56 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fbd0c82cd1aea800000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174fbd0c82cd1aea8000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('5174fbd0c82cd1aea8000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fbd0c82cd1aea8000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174fbd0c82cd1aea800000a'), "_type"=>"Locomotive::ContentEntry5174fbd0c82cd1aea8000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fbd0c82cd1aea8000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 08:58:56 UTC, "site_id"=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 08:58:56 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fbd0c82cd1aea8000007", :_original_id=>BSON::ObjectId('5174fbd0c82cd1aea800000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fbd0c82cd1aea800000b'), "_original_type"=>"Locomotive::ContentEntry5174fbd0c82cd1aea8000007", "_original_id"=>BSON::ObjectId('5174fbd0c82cd1aea800000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fbd0c82cd1aea800000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry5174fbd0c82cd1aea8000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('5174fbd0c82cd1aea8000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fbd0c82cd1aea8000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('5174fbd0c82cd1aea800000c'), "_type"=>"Locomotive::ContentEntry5174fbd0c82cd1aea8000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fbd0c82cd1aea8000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 08:58:56 UTC, "site_id"=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 08:58:56 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fbd0c82cd1aea8000007", :_original_id=>BSON::ObjectId('5174fbd0c82cd1aea800000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fbd0c82cd1aea800000d'), "_original_type"=>"Locomotive::ContentEntry5174fbd0c82cd1aea8000007", "_original_id"=>BSON::ObjectId('5174fbd0c82cd1aea800000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), :parent_id=>BSON::ObjectId('5174fbd0c82cd1aea8000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fbd0c82cd1aea8000004'), :site_id=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fbd0c82cd1aea800000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174fbd0c82cd1aea8000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174fbd0c82cd1aea8000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fbd0c82cd1aea800000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), "parent_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 08:58:56 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-22 08:58:56 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fbd0c82cd1aea800000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fbd0c82cd1aea800000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fbd0c82cd1aea800000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fbd0c82cd1aea800000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('5174fbcfc82cd1aea8000001')}, "_id"=>BSON::ObjectId('5174fbd0c82cd1aea800000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fbd0c82cd1aea800000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), :parent_id=>BSON::ObjectId('5174fbd0c82cd1aea8000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fbd0c82cd1aea8000004'), :site_id=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fbd0c82cd1aea8000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fbd0c82cd1aea8000004'), :site_id=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fbd0c82cd1aea8000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('5174fbd0c82cd1aea8000004'), :site_id=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fbd0c82cd1aea8000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174fbd0c82cd1aea8000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174fbd0c82cd1aea8000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), "parent_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 08:58:56 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-22 08:58:56 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fbd0c82cd1aea8000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fbd0c82cd1aea8000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fbd0c82cd1aea8000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('5174fbcfc82cd1aea8000001')}, "_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('5174fbcfc82cd1aea8000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fbd0c82cd1aea8000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fbd0c82cd1aea8000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('5174fbcfc82cd1aea8000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-22 08:58:55 UTC, "updated_at"=>2013-04-22 08:58:56 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000013'), "account_id"=>BSON::ObjectId('5174fbcfc82cd1aea8000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174fbd0c82cd1aea8000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fbd0c82cd1aea8000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fbd0c82cd1aea8000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 08:58:56 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 08:58:56 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fbd0c82cd1aea8000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fbd0c82cd1aea8000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fbd0c82cd1aea8000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174fbd0c82cd1aea8000012')}, "_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174fbd0c82cd1aea8000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fbd0c82cd1aea8000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fbd0c82cd1aea8000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fbd0c82cd1aea8000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fbd0c82cd1aea8000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fbd0c82cd1aea8000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fbd0c82cd1aea8000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 08:58:56 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 08:58:56 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fbd0c82cd1aea8000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fbd0c82cd1aea8000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('5174fbd0c82cd1aea8000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fbd0c82cd1aea8000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fbd0c82cd1aea8000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fbd0c82cd1aea8000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fbd0c82cd1aea8000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fbd0c82cd1aea8000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fbd0c82cd1aea8000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000017'), "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"=>BSON::ObjectId('5174fbd0c82cd1aea8000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 08:58:56 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-22 08:58:56 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fbd0c82cd1aea8000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fbd0c82cd1aea8000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fbd0c82cd1aea8000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('5174fbd0c82cd1aea8000012')}, "_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174fbd0c82cd1aea8000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 08:58:56 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174fbd0c82cd1aea800001a'), "created_at"=>2013-04-22 08:58:56 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174fbd0c82cd1aea800001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 08:58:56 UTC, "created_at"=>2013-04-22 08:58:56 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fbd0c82cd1aea800001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174fbd0c82cd1aea8000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('5174fbd0c82cd1aea8000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fbd0c82cd1aea8000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174fbd0c82cd1aea800001b'), "_type"=>"Locomotive::ContentEntry5174fbd0c82cd1aea8000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fbd0c82cd1aea8000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-22 08:58:56 UTC, "site_id"=>BSON::ObjectId('5174fbd0c82cd1aea8000012'), "_label_field_name"=>"name", "created_at"=>2013-04-22 08:58:56 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fbd0c82cd1aea8000019", :_original_id=>BSON::ObjectId('5174fbd0c82cd1aea800001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('5174fbd0c82cd1aea8000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fbd0c82cd1aea800001c'), "_original_type"=>"Locomotive::ContentEntry5174fbd0c82cd1aea8000019", "_original_id"=>BSON::ObjectId('5174fbd0c82cd1aea800001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-22 10:58:56 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 23ms (Views: 18.4ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-22 10:58:56 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('5174fbcfc82cd1aea8000001'), :_keywords=>{"$in"=>["findable", "en:findable"]}}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.3ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"AiWfYxxnR5RF3vFW2eqt", "encrypted_password"=>"5c8b2679d3e599c41ce8826c8342e6e3f2f5aa8f", "updated_at"=>2013-04-22 08:59:54 UTC, "created_at"=>2013-04-22 08:59:54 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 08:59:54 UTC, "updated_at"=>2013-04-22 08:59:54 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000003'), "account_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fc0ac82cd1aeb8000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 08:59:54 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 08:59:54 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fc0ac82cd1aeb8000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fc0ac82cd1aeb8000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000001')}, "_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fc0ac82cd1aeb8000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fc0ac82cd1aeb8000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fc0ac82cd1aeb8000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 08:59:54 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 08:59:54 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fc0ac82cd1aeb8000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fc0ac82cd1aeb8000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 08:59:54 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000008'), "created_at"=>2013-04-22 08:59:54 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 08:59:54 UTC, "created_at"=>2013-04-22 08:59:54 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 08:59:54 UTC, "created_at"=>2013-04-22 08:59:54 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fc0ac82cd1aeb800000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174fc0ac82cd1aeb8000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fc0ac82cd1aeb8000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174fc0ac82cd1aeb800000a'), "_type"=>"Locomotive::ContentEntry5174fc0ac82cd1aeb8000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fc0ac82cd1aeb8000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 08:59:54 UTC, "site_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 08:59:54 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fc0ac82cd1aeb8000007", :_original_id=>BSON::ObjectId('5174fc0ac82cd1aeb800000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fc0ac82cd1aeb800000b'), "_original_type"=>"Locomotive::ContentEntry5174fc0ac82cd1aeb8000007", "_original_id"=>BSON::ObjectId('5174fc0ac82cd1aeb800000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fc0ac82cd1aeb800000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry5174fc0ac82cd1aeb8000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fc0ac82cd1aeb8000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('5174fc0ac82cd1aeb800000c'), "_type"=>"Locomotive::ContentEntry5174fc0ac82cd1aeb8000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fc0ac82cd1aeb8000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 08:59:54 UTC, "site_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 08:59:54 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fc0ac82cd1aeb8000007", :_original_id=>BSON::ObjectId('5174fc0ac82cd1aeb800000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fc0ac82cd1aeb800000d'), "_original_type"=>"Locomotive::ContentEntry5174fc0ac82cd1aeb8000007", "_original_id"=>BSON::ObjectId('5174fc0ac82cd1aeb800000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), :parent_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000004'), :site_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fc0ac82cd1aeb800000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174fc0ac82cd1aeb8000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174fc0ac82cd1aeb8000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fc0ac82cd1aeb800000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), "parent_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 08:59:54 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-22 08:59:54 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fc0ac82cd1aeb800000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fc0ac82cd1aeb800000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fc0ac82cd1aeb800000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fc0ac82cd1aeb800000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000001')}, "_id"=>BSON::ObjectId('5174fc0ac82cd1aeb800000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fc0ac82cd1aeb800000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), :parent_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000004'), :site_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fc0ac82cd1aeb8000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000004'), :site_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fc0ac82cd1aeb8000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000004'), :site_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fc0ac82cd1aeb8000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174fc0ac82cd1aeb8000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174fc0ac82cd1aeb8000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), "parent_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 08:59:54 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-22 08:59:54 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fc0ac82cd1aeb8000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fc0ac82cd1aeb8000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000001')}, "_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fc0ac82cd1aeb8000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fc0ac82cd1aeb8000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('5174fc0bc82cd1aeb8000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-22 08:59:54 UTC, "updated_at"=>2013-04-22 08:59:55 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174fc0bc82cd1aeb8000013'), "account_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174fc0bc82cd1aeb8000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc0bc82cd1aeb8000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fc0bc82cd1aeb8000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fc0bc82cd1aeb8000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174fc0bc82cd1aeb8000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 08:59:55 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 08:59:55 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc0bc82cd1aeb8000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fc0bc82cd1aeb8000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fc0bc82cd1aeb8000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fc0bc82cd1aeb8000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fc0bc82cd1aeb8000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174fc0bc82cd1aeb8000012')}, "_id"=>BSON::ObjectId('5174fc0bc82cd1aeb8000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fc0bc82cd1aeb8000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174fc0bc82cd1aeb8000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc0bc82cd1aeb8000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fc0bc82cd1aeb8000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc0bc82cd1aeb8000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fc0bc82cd1aeb8000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc0bc82cd1aeb8000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fc0bc82cd1aeb8000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fc0bc82cd1aeb8000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174fc0bc82cd1aeb8000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 08:59:55 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 08:59:55 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc0bc82cd1aeb8000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fc0bc82cd1aeb8000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fc0bc82cd1aeb8000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fc0bc82cd1aeb8000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('5174fc0bc82cd1aeb8000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc0bc82cd1aeb8000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fc0bc82cd1aeb8000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc0bc82cd1aeb8000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fc0bc82cd1aeb8000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc0bc82cd1aeb8000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fc0bc82cd1aeb8000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fc0bc82cd1aeb8000017'), "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"=>BSON::ObjectId('5174fc0bc82cd1aeb8000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 08:59:55 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-22 08:59:55 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc0bc82cd1aeb8000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fc0bc82cd1aeb8000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fc0bc82cd1aeb8000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fc0bc82cd1aeb8000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fc0bc82cd1aeb8000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('5174fc0bc82cd1aeb8000012')}, "_id"=>BSON::ObjectId('5174fc0bc82cd1aeb8000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fc0bc82cd1aeb8000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174fc0bc82cd1aeb8000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174fc0bc82cd1aeb8000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174fc0bc82cd1aeb8000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 08:59:55 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174fc0bc82cd1aeb800001a'), "created_at"=>2013-04-22 08:59:55 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174fc0bc82cd1aeb800001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 08:59:55 UTC, "created_at"=>2013-04-22 08:59:55 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fc0bc82cd1aeb800001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174fc0bc82cd1aeb8000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('5174fc0bc82cd1aeb8000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fc0bc82cd1aeb8000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174fc0bc82cd1aeb800001b'), "_type"=>"Locomotive::ContentEntry5174fc0bc82cd1aeb8000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fc0bc82cd1aeb8000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fc0bc82cd1aeb8000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-22 08:59:55 UTC, "site_id"=>BSON::ObjectId('5174fc0bc82cd1aeb8000012'), "_label_field_name"=>"name", "created_at"=>2013-04-22 08:59:55 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fc0bc82cd1aeb8000019", :_original_id=>BSON::ObjectId('5174fc0bc82cd1aeb800001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('5174fc0bc82cd1aeb8000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fc0bc82cd1aeb800001c'), "_original_type"=>"Locomotive::ContentEntry5174fc0bc82cd1aeb8000019", "_original_id"=>BSON::ObjectId('5174fc0bc82cd1aeb800001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-22 10:59:55 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 22ms (Views: 17.5ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-22 10:59:55 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('5174fc0ac82cd1aeb8000001'), :_keywords=>{"$in"=>["findable", "en:findable"]}}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.3ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('5174fc30c82cd1aee3000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"KDbySJaqsxkd2D3Xq6KY", "encrypted_password"=>"544f0a15fac4234b9d7f9e659ce834663966eae1", "updated_at"=>2013-04-22 09:00:32 UTC, "created_at"=>2013-04-22 09:00:32 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('5174fc30c82cd1aee3000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 09:00:32 UTC, "updated_at"=>2013-04-22 09:00:32 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174fc30c82cd1aee3000003'), "account_id"=>BSON::ObjectId('5174fc30c82cd1aee3000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174fc30c82cd1aee3000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc30c82cd1aee3000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fc30c82cd1aee3000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fc30c82cd1aee3000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174fc30c82cd1aee3000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:00:32 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:00:32 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fc30c82cd1aee3000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc30c82cd1aee3000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fc30c82cd1aee3000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fc30c82cd1aee3000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fc30c82cd1aee3000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174fc30c82cd1aee3000001')}, "_id"=>BSON::ObjectId('5174fc30c82cd1aee3000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fc30c82cd1aee3000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174fc30c82cd1aee3000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc30c82cd1aee3000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fc30c82cd1aee3000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc30c82cd1aee3000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fc30c82cd1aee3000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc30c82cd1aee3000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fc30c82cd1aee3000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fc30c82cd1aee3000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174fc30c82cd1aee3000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:00:32 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:00:32 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc30c82cd1aee3000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fc30c82cd1aee3000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fc30c82cd1aee3000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fc30c82cd1aee3000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174fc30c82cd1aee3000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174fc30c82cd1aee3000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174fc30c82cd1aee3000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:00:33 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174fc30c82cd1aee3000008'), "created_at"=>2013-04-22 09:00:33 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174fc30c82cd1aee3000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:00:33 UTC, "created_at"=>2013-04-22 09:00:33 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('5174fc30c82cd1aee3000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('5174fc31c82cd1aee3000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 09:00:33 UTC, "created_at"=>2013-04-22 09:00:33 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fc31c82cd1aee300000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174fc30c82cd1aee3000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('5174fc30c82cd1aee3000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fc30c82cd1aee3000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174fc31c82cd1aee300000a'), "_type"=>"Locomotive::ContentEntry5174fc30c82cd1aee3000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fc30c82cd1aee3000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fc30c82cd1aee3000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 09:00:33 UTC, "site_id"=>BSON::ObjectId('5174fc30c82cd1aee3000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:00:33 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fc30c82cd1aee3000007", :_original_id=>BSON::ObjectId('5174fc31c82cd1aee300000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('5174fc30c82cd1aee3000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fc31c82cd1aee300000b'), "_original_type"=>"Locomotive::ContentEntry5174fc30c82cd1aee3000007", "_original_id"=>BSON::ObjectId('5174fc31c82cd1aee300000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fc31c82cd1aee300000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry5174fc30c82cd1aee3000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('5174fc30c82cd1aee3000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fc30c82cd1aee3000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('5174fc31c82cd1aee300000c'), "_type"=>"Locomotive::ContentEntry5174fc30c82cd1aee3000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fc30c82cd1aee3000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fc30c82cd1aee3000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 09:00:33 UTC, "site_id"=>BSON::ObjectId('5174fc30c82cd1aee3000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:00:33 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fc30c82cd1aee3000007", :_original_id=>BSON::ObjectId('5174fc31c82cd1aee300000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('5174fc30c82cd1aee3000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fc31c82cd1aee300000d'), "_original_type"=>"Locomotive::ContentEntry5174fc30c82cd1aee3000007", "_original_id"=>BSON::ObjectId('5174fc31c82cd1aee300000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('5174fc30c82cd1aee3000001'), :parent_id=>BSON::ObjectId('5174fc30c82cd1aee3000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fc30c82cd1aee3000004'), :site_id=>BSON::ObjectId('5174fc30c82cd1aee3000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fc31c82cd1aee300000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174fc30c82cd1aee3000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174fc30c82cd1aee3000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fc31c82cd1aee300000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('5174fc30c82cd1aee3000001'), "parent_id"=>BSON::ObjectId('5174fc30c82cd1aee3000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:00:33 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-22 09:00:33 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc30c82cd1aee3000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fc31c82cd1aee300000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fc31c82cd1aee300000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fc31c82cd1aee300000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fc31c82cd1aee300000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('5174fc30c82cd1aee3000001')}, "_id"=>BSON::ObjectId('5174fc31c82cd1aee300000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fc31c82cd1aee300000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('5174fc30c82cd1aee3000001'), :parent_id=>BSON::ObjectId('5174fc30c82cd1aee3000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fc30c82cd1aee3000004'), :site_id=>BSON::ObjectId('5174fc30c82cd1aee3000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fc31c82cd1aee3000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fc30c82cd1aee3000004'), :site_id=>BSON::ObjectId('5174fc30c82cd1aee3000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fc31c82cd1aee3000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('5174fc30c82cd1aee3000004'), :site_id=>BSON::ObjectId('5174fc30c82cd1aee3000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fc31c82cd1aee3000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174fc30c82cd1aee3000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174fc30c82cd1aee3000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fc31c82cd1aee3000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('5174fc30c82cd1aee3000001'), "parent_id"=>BSON::ObjectId('5174fc30c82cd1aee3000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:00:33 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-22 09:00:33 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc30c82cd1aee3000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fc31c82cd1aee3000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fc31c82cd1aee3000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fc31c82cd1aee3000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fc31c82cd1aee3000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('5174fc30c82cd1aee3000001')}, "_id"=>BSON::ObjectId('5174fc31c82cd1aee3000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fc31c82cd1aee3000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc30c82cd1aee3000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('5174fc30c82cd1aee3000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('5174fc30c82cd1aee3000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:00:33 UTC}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc30c82cd1aee3000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fc30c82cd1aee3000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fc30c82cd1aee3000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('5174fc30c82cd1aee3000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('5174fc30c82cd1aee3000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('5174fc31c82cd1aee3000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-22 09:00:32 UTC, "updated_at"=>2013-04-22 09:00:33 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174fc31c82cd1aee3000013'), "account_id"=>BSON::ObjectId('5174fc30c82cd1aee3000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174fc31c82cd1aee3000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc31c82cd1aee3000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fc31c82cd1aee3000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fc31c82cd1aee3000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174fc31c82cd1aee3000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:00:33 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:00:33 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc31c82cd1aee3000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fc31c82cd1aee3000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fc31c82cd1aee3000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fc31c82cd1aee3000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fc31c82cd1aee3000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174fc31c82cd1aee3000012')}, "_id"=>BSON::ObjectId('5174fc31c82cd1aee3000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fc31c82cd1aee3000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174fc31c82cd1aee3000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc31c82cd1aee3000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fc31c82cd1aee3000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc31c82cd1aee3000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fc31c82cd1aee3000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc31c82cd1aee3000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fc31c82cd1aee3000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fc31c82cd1aee3000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174fc31c82cd1aee3000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:00:33 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:00:33 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc31c82cd1aee3000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fc31c82cd1aee3000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fc31c82cd1aee3000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fc31c82cd1aee3000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('5174fc31c82cd1aee3000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc31c82cd1aee3000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fc31c82cd1aee3000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc31c82cd1aee3000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fc31c82cd1aee3000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc31c82cd1aee3000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fc31c82cd1aee3000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fc31c82cd1aee3000017'), "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"=>BSON::ObjectId('5174fc31c82cd1aee3000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:00:33 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-22 09:00:33 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc31c82cd1aee3000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fc31c82cd1aee3000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fc31c82cd1aee3000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fc31c82cd1aee3000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fc31c82cd1aee3000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('5174fc31c82cd1aee3000012')}, "_id"=>BSON::ObjectId('5174fc31c82cd1aee3000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fc31c82cd1aee3000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174fc31c82cd1aee3000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174fc31c82cd1aee3000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174fc31c82cd1aee3000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:00:33 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174fc31c82cd1aee300001a'), "created_at"=>2013-04-22 09:00:33 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174fc31c82cd1aee300001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:00:33 UTC, "created_at"=>2013-04-22 09:00:33 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fc31c82cd1aee300001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174fc31c82cd1aee3000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('5174fc31c82cd1aee3000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fc31c82cd1aee3000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174fc31c82cd1aee300001b'), "_type"=>"Locomotive::ContentEntry5174fc31c82cd1aee3000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fc31c82cd1aee3000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fc31c82cd1aee3000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-22 09:00:33 UTC, "site_id"=>BSON::ObjectId('5174fc31c82cd1aee3000012'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:00:33 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fc31c82cd1aee3000019", :_original_id=>BSON::ObjectId('5174fc31c82cd1aee300001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('5174fc31c82cd1aee3000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fc31c82cd1aee300001c'), "_original_type"=>"Locomotive::ContentEntry5174fc31c82cd1aee3000019", "_original_id"=>BSON::ObjectId('5174fc31c82cd1aee300001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-22 11:00:33 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc30c82cd1aee3000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 26ms (Views: 21.5ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-22 11:00:33 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc30c82cd1aee3000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('5174fc30c82cd1aee3000001'), :_keywords=>{"$in"=>["findable", "en:findable"]}}) Rendered text template (0.0ms) Completed 200 OK in 6ms (Views: 0.4ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('5174fc74c82cd1af13000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"EiipJXzq1zQaUJy6gyEq", "encrypted_password"=>"88ec332066d113e864222c2f69f7ee26e7b292f9", "updated_at"=>2013-04-22 09:01:40 UTC, "created_at"=>2013-04-22 09:01:40 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('5174fc74c82cd1af13000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 09:01:40 UTC, "updated_at"=>2013-04-22 09:01:40 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174fc74c82cd1af13000003'), "account_id"=>BSON::ObjectId('5174fc74c82cd1af13000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174fc74c82cd1af13000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc74c82cd1af13000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fc75c82cd1af13000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fc75c82cd1af13000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174fc74c82cd1af13000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:01:41 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:01:41 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fc75c82cd1af13000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc74c82cd1af13000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fc75c82cd1af13000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fc75c82cd1af13000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fc75c82cd1af13000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174fc74c82cd1af13000001')}, "_id"=>BSON::ObjectId('5174fc75c82cd1af13000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fc75c82cd1af13000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174fc74c82cd1af13000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc74c82cd1af13000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fc75c82cd1af13000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc74c82cd1af13000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fc75c82cd1af13000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc74c82cd1af13000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fc75c82cd1af13000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fc75c82cd1af13000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174fc74c82cd1af13000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:01:41 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:01:41 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc74c82cd1af13000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fc75c82cd1af13000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fc75c82cd1af13000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fc75c82cd1af13000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174fc74c82cd1af13000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174fc75c82cd1af13000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174fc74c82cd1af13000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:01:41 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174fc75c82cd1af13000008'), "created_at"=>2013-04-22 09:01:41 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174fc75c82cd1af13000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:01:41 UTC, "created_at"=>2013-04-22 09:01:41 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('5174fc75c82cd1af13000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('5174fc75c82cd1af13000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 09:01:41 UTC, "created_at"=>2013-04-22 09:01:41 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fc75c82cd1af1300000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174fc75c82cd1af13000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('5174fc75c82cd1af13000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fc75c82cd1af13000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174fc75c82cd1af1300000a'), "_type"=>"Locomotive::ContentEntry5174fc75c82cd1af13000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fc75c82cd1af13000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fc75c82cd1af13000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 09:01:41 UTC, "site_id"=>BSON::ObjectId('5174fc74c82cd1af13000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:01:41 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fc75c82cd1af13000007", :_original_id=>BSON::ObjectId('5174fc75c82cd1af1300000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('5174fc74c82cd1af13000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fc75c82cd1af1300000b'), "_original_type"=>"Locomotive::ContentEntry5174fc75c82cd1af13000007", "_original_id"=>BSON::ObjectId('5174fc75c82cd1af1300000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fc75c82cd1af1300000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry5174fc75c82cd1af13000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('5174fc75c82cd1af13000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fc75c82cd1af13000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('5174fc75c82cd1af1300000c'), "_type"=>"Locomotive::ContentEntry5174fc75c82cd1af13000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fc75c82cd1af13000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fc75c82cd1af13000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 09:01:41 UTC, "site_id"=>BSON::ObjectId('5174fc74c82cd1af13000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:01:41 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fc75c82cd1af13000007", :_original_id=>BSON::ObjectId('5174fc75c82cd1af1300000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('5174fc74c82cd1af13000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fc75c82cd1af1300000d'), "_original_type"=>"Locomotive::ContentEntry5174fc75c82cd1af13000007", "_original_id"=>BSON::ObjectId('5174fc75c82cd1af1300000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('5174fc74c82cd1af13000001'), :parent_id=>BSON::ObjectId('5174fc75c82cd1af13000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fc75c82cd1af13000004'), :site_id=>BSON::ObjectId('5174fc74c82cd1af13000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fc75c82cd1af1300000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174fc75c82cd1af13000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174fc75c82cd1af13000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fc75c82cd1af1300000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('5174fc74c82cd1af13000001'), "parent_id"=>BSON::ObjectId('5174fc75c82cd1af13000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:01:41 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-22 09:01:41 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc74c82cd1af13000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fc75c82cd1af1300000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fc75c82cd1af1300000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fc75c82cd1af1300000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fc75c82cd1af1300000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('5174fc74c82cd1af13000001')}, "_id"=>BSON::ObjectId('5174fc75c82cd1af1300000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fc75c82cd1af1300000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('5174fc74c82cd1af13000001'), :parent_id=>BSON::ObjectId('5174fc75c82cd1af13000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fc75c82cd1af13000004'), :site_id=>BSON::ObjectId('5174fc74c82cd1af13000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fc75c82cd1af13000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fc75c82cd1af13000004'), :site_id=>BSON::ObjectId('5174fc74c82cd1af13000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fc75c82cd1af13000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('5174fc75c82cd1af13000004'), :site_id=>BSON::ObjectId('5174fc74c82cd1af13000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fc75c82cd1af13000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174fc75c82cd1af13000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174fc75c82cd1af13000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fc75c82cd1af13000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('5174fc74c82cd1af13000001'), "parent_id"=>BSON::ObjectId('5174fc75c82cd1af13000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:01:41 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-22 09:01:41 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc74c82cd1af13000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fc75c82cd1af13000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fc75c82cd1af13000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fc75c82cd1af13000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fc75c82cd1af13000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('5174fc74c82cd1af13000001')}, "_id"=>BSON::ObjectId('5174fc75c82cd1af13000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fc75c82cd1af13000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc74c82cd1af13000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('5174fc74c82cd1af13000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('5174fc75c82cd1af13000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc74c82cd1af13000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fc75c82cd1af13000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fc75c82cd1af13000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('5174fc75c82cd1af13000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('5174fc74c82cd1af13000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('5174fc75c82cd1af13000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-22 09:01:40 UTC, "updated_at"=>2013-04-22 09:01:41 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174fc75c82cd1af13000013'), "account_id"=>BSON::ObjectId('5174fc74c82cd1af13000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174fc75c82cd1af13000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc75c82cd1af13000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fc75c82cd1af13000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fc75c82cd1af13000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174fc75c82cd1af13000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:01:41 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:01:41 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc75c82cd1af13000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fc75c82cd1af13000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fc75c82cd1af13000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fc75c82cd1af13000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fc75c82cd1af13000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174fc75c82cd1af13000012')}, "_id"=>BSON::ObjectId('5174fc75c82cd1af13000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fc75c82cd1af13000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174fc75c82cd1af13000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc75c82cd1af13000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fc75c82cd1af13000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc75c82cd1af13000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fc75c82cd1af13000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc75c82cd1af13000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fc75c82cd1af13000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fc75c82cd1af13000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174fc75c82cd1af13000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:01:41 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:01:41 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc75c82cd1af13000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fc75c82cd1af13000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fc75c82cd1af13000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fc75c82cd1af13000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('5174fc75c82cd1af13000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc75c82cd1af13000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fc75c82cd1af13000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc75c82cd1af13000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fc75c82cd1af13000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fc75c82cd1af13000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fc75c82cd1af13000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fc75c82cd1af13000017'), "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"=>BSON::ObjectId('5174fc75c82cd1af13000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:01:41 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-22 09:01:41 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc75c82cd1af13000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fc75c82cd1af13000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fc75c82cd1af13000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fc75c82cd1af13000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fc75c82cd1af13000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('5174fc75c82cd1af13000012')}, "_id"=>BSON::ObjectId('5174fc75c82cd1af13000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fc75c82cd1af13000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174fc75c82cd1af13000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174fc75c82cd1af13000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174fc75c82cd1af13000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:01:41 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174fc75c82cd1af1300001a'), "created_at"=>2013-04-22 09:01:41 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174fc75c82cd1af1300001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:01:41 UTC, "created_at"=>2013-04-22 09:01:41 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fc75c82cd1af1300001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174fc75c82cd1af13000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('5174fc75c82cd1af13000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fc75c82cd1af13000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174fc75c82cd1af1300001b'), "_type"=>"Locomotive::ContentEntry5174fc75c82cd1af13000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fc75c82cd1af13000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fc75c82cd1af13000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-22 09:01:41 UTC, "site_id"=>BSON::ObjectId('5174fc75c82cd1af13000012'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:01:41 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fc75c82cd1af13000019", :_original_id=>BSON::ObjectId('5174fc75c82cd1af1300001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('5174fc75c82cd1af13000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fc75c82cd1af1300001c'), "_original_type"=>"Locomotive::ContentEntry5174fc75c82cd1af13000019", "_original_id"=>BSON::ObjectId('5174fc75c82cd1af1300001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-22 11:01:41 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc74c82cd1af13000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 70ms (Views: 65.5ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-22 11:01:41 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fc74c82cd1af13000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('5174fc74c82cd1af13000001'), :_keywords=>{"$in"=>["findable", "en:findable"]}}) Rendered text template (0.0ms) Completed 200 OK in 6ms (Views: 0.3ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('5174fca3c82cd1af49000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"EDKyz8gvA7EFxgcVieMZ", "encrypted_password"=>"6eb77a1db04eec0eae939649fc4b4d57cbedf39b", "updated_at"=>2013-04-22 09:02:27 UTC, "created_at"=>2013-04-22 09:02:27 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('5174fca3c82cd1af49000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 09:02:27 UTC, "updated_at"=>2013-04-22 09:02:27 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174fca3c82cd1af49000003'), "account_id"=>BSON::ObjectId('5174fca3c82cd1af49000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174fca3c82cd1af49000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fca3c82cd1af49000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fca4c82cd1af49000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fca4c82cd1af49000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174fca3c82cd1af49000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:02:28 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:02:28 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fca4c82cd1af49000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fca3c82cd1af49000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fca4c82cd1af49000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fca4c82cd1af49000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fca4c82cd1af49000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174fca3c82cd1af49000001')}, "_id"=>BSON::ObjectId('5174fca4c82cd1af49000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fca4c82cd1af49000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174fca3c82cd1af49000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fca3c82cd1af49000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fca4c82cd1af49000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fca3c82cd1af49000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fca4c82cd1af49000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fca3c82cd1af49000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fca4c82cd1af49000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fca4c82cd1af49000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174fca3c82cd1af49000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:02:28 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:02:28 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fca3c82cd1af49000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fca4c82cd1af49000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fca4c82cd1af49000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fca4c82cd1af49000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174fca3c82cd1af49000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174fca4c82cd1af49000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174fca3c82cd1af49000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:02:28 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174fca4c82cd1af49000008'), "created_at"=>2013-04-22 09:02:28 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174fca4c82cd1af49000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:02:28 UTC, "created_at"=>2013-04-22 09:02:28 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('5174fca4c82cd1af49000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('5174fca4c82cd1af49000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 09:02:28 UTC, "created_at"=>2013-04-22 09:02:28 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fca4c82cd1af4900000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174fca4c82cd1af49000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('5174fca4c82cd1af49000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fca4c82cd1af49000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174fca4c82cd1af4900000a'), "_type"=>"Locomotive::ContentEntry5174fca4c82cd1af49000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fca4c82cd1af49000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fca4c82cd1af49000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 09:02:28 UTC, "site_id"=>BSON::ObjectId('5174fca3c82cd1af49000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:02:28 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fca4c82cd1af49000007", :_original_id=>BSON::ObjectId('5174fca4c82cd1af4900000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('5174fca3c82cd1af49000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fca4c82cd1af4900000b'), "_original_type"=>"Locomotive::ContentEntry5174fca4c82cd1af49000007", "_original_id"=>BSON::ObjectId('5174fca4c82cd1af4900000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fca4c82cd1af4900000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry5174fca4c82cd1af49000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('5174fca4c82cd1af49000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fca4c82cd1af49000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('5174fca4c82cd1af4900000c'), "_type"=>"Locomotive::ContentEntry5174fca4c82cd1af49000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fca4c82cd1af49000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fca4c82cd1af49000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 09:02:28 UTC, "site_id"=>BSON::ObjectId('5174fca3c82cd1af49000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:02:28 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fca4c82cd1af49000007", :_original_id=>BSON::ObjectId('5174fca4c82cd1af4900000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('5174fca3c82cd1af49000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fca4c82cd1af4900000d'), "_original_type"=>"Locomotive::ContentEntry5174fca4c82cd1af49000007", "_original_id"=>BSON::ObjectId('5174fca4c82cd1af4900000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('5174fca3c82cd1af49000001'), :parent_id=>BSON::ObjectId('5174fca4c82cd1af49000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fca4c82cd1af49000004'), :site_id=>BSON::ObjectId('5174fca3c82cd1af49000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fca4c82cd1af4900000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174fca4c82cd1af49000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174fca4c82cd1af49000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fca4c82cd1af4900000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('5174fca3c82cd1af49000001'), "parent_id"=>BSON::ObjectId('5174fca4c82cd1af49000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:02:28 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-22 09:02:28 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fca3c82cd1af49000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fca4c82cd1af4900000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fca4c82cd1af4900000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fca4c82cd1af4900000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fca4c82cd1af4900000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('5174fca3c82cd1af49000001')}, "_id"=>BSON::ObjectId('5174fca4c82cd1af4900000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fca4c82cd1af4900000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('5174fca3c82cd1af49000001'), :parent_id=>BSON::ObjectId('5174fca4c82cd1af49000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fca4c82cd1af49000004'), :site_id=>BSON::ObjectId('5174fca3c82cd1af49000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fca4c82cd1af49000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fca4c82cd1af49000004'), :site_id=>BSON::ObjectId('5174fca3c82cd1af49000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fca4c82cd1af49000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('5174fca4c82cd1af49000004'), :site_id=>BSON::ObjectId('5174fca3c82cd1af49000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fca4c82cd1af49000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174fca4c82cd1af49000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174fca4c82cd1af49000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fca4c82cd1af49000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('5174fca3c82cd1af49000001'), "parent_id"=>BSON::ObjectId('5174fca4c82cd1af49000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:02:28 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-22 09:02:28 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fca3c82cd1af49000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fca4c82cd1af49000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fca4c82cd1af49000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fca4c82cd1af49000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fca4c82cd1af49000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('5174fca3c82cd1af49000001')}, "_id"=>BSON::ObjectId('5174fca4c82cd1af49000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fca4c82cd1af49000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fca3c82cd1af49000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('5174fca3c82cd1af49000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('5174fca4c82cd1af49000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fca3c82cd1af49000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fca4c82cd1af49000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fca4c82cd1af49000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('5174fca4c82cd1af49000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('5174fca3c82cd1af49000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('5174fca4c82cd1af49000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-22 09:02:27 UTC, "updated_at"=>2013-04-22 09:02:28 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174fca4c82cd1af49000013'), "account_id"=>BSON::ObjectId('5174fca3c82cd1af49000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174fca4c82cd1af49000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fca4c82cd1af49000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fca4c82cd1af49000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fca4c82cd1af49000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174fca4c82cd1af49000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:02:28 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:02:28 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fca4c82cd1af49000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fca4c82cd1af49000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fca4c82cd1af49000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fca4c82cd1af49000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fca4c82cd1af49000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174fca4c82cd1af49000012')}, "_id"=>BSON::ObjectId('5174fca4c82cd1af49000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fca4c82cd1af49000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174fca4c82cd1af49000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fca4c82cd1af49000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fca4c82cd1af49000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fca4c82cd1af49000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fca4c82cd1af49000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fca4c82cd1af49000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fca4c82cd1af49000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fca4c82cd1af49000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174fca4c82cd1af49000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:02:28 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:02:28 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fca4c82cd1af49000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fca4c82cd1af49000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fca4c82cd1af49000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fca4c82cd1af49000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('5174fca4c82cd1af49000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fca4c82cd1af49000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fca4c82cd1af49000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fca4c82cd1af49000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fca4c82cd1af49000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fca4c82cd1af49000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fca4c82cd1af49000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fca4c82cd1af49000017'), "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"=>BSON::ObjectId('5174fca4c82cd1af49000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:02:28 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-22 09:02:28 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fca4c82cd1af49000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fca4c82cd1af49000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fca4c82cd1af49000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fca4c82cd1af49000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fca4c82cd1af49000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('5174fca4c82cd1af49000012')}, "_id"=>BSON::ObjectId('5174fca4c82cd1af49000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fca4c82cd1af49000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174fca4c82cd1af49000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174fca4c82cd1af49000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174fca4c82cd1af49000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:02:28 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174fca4c82cd1af4900001a'), "created_at"=>2013-04-22 09:02:28 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174fca4c82cd1af4900001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:02:28 UTC, "created_at"=>2013-04-22 09:02:28 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fca4c82cd1af4900001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174fca4c82cd1af49000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('5174fca4c82cd1af49000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fca4c82cd1af49000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174fca4c82cd1af4900001b'), "_type"=>"Locomotive::ContentEntry5174fca4c82cd1af49000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fca4c82cd1af49000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fca4c82cd1af49000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-22 09:02:28 UTC, "site_id"=>BSON::ObjectId('5174fca4c82cd1af49000012'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:02:28 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fca4c82cd1af49000019", :_original_id=>BSON::ObjectId('5174fca4c82cd1af4900001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('5174fca4c82cd1af49000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fca4c82cd1af4900001c'), "_original_type"=>"Locomotive::ContentEntry5174fca4c82cd1af49000019", "_original_id"=>BSON::ObjectId('5174fca4c82cd1af4900001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-22 11:02:28 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fca3c82cd1af49000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 25ms (Views: 20.5ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-22 11:02:28 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fca3c82cd1af49000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.4ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"6yPkAtw7zZLsxs2qmhkd", "encrypted_password"=>"3c49a3e0f3ef1d0df4c091d784ef5ac1f3868558", "updated_at"=>2013-04-22 09:02:56 UTC, "created_at"=>2013-04-22 09:02:56 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 09:02:56 UTC, "updated_at"=>2013-04-22 09:02:56 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000003'), "account_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fcc0c82cd1af5c000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:02:56 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:02:56 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fcc0c82cd1af5c000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fcc0c82cd1af5c000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fcc0c82cd1af5c000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174fcc0c82cd1af5c000001')}, "_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fcc0c82cd1af5c000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fcc0c82cd1af5c000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fcc0c82cd1af5c000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:02:56 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:02:56 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fcc0c82cd1af5c000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fcc0c82cd1af5c000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174fcc0c82cd1af5c000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:02:57 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000008'), "created_at"=>2013-04-22 09:02:57 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:02:56 UTC, "created_at"=>2013-04-22 09:02:56 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 09:02:57 UTC, "created_at"=>2013-04-22 09:02:57 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fcc1c82cd1af5c00000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174fcc0c82cd1af5c000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('5174fcc0c82cd1af5c000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fcc0c82cd1af5c000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174fcc1c82cd1af5c00000a'), "_type"=>"Locomotive::ContentEntry5174fcc0c82cd1af5c000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fcc0c82cd1af5c000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 09:02:57 UTC, "site_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:02:57 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fcc0c82cd1af5c000007", :_original_id=>BSON::ObjectId('5174fcc1c82cd1af5c00000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fcc1c82cd1af5c00000b'), "_original_type"=>"Locomotive::ContentEntry5174fcc0c82cd1af5c000007", "_original_id"=>BSON::ObjectId('5174fcc1c82cd1af5c00000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fcc1c82cd1af5c00000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry5174fcc0c82cd1af5c000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('5174fcc0c82cd1af5c000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fcc0c82cd1af5c000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('5174fcc1c82cd1af5c00000c'), "_type"=>"Locomotive::ContentEntry5174fcc0c82cd1af5c000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fcc0c82cd1af5c000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 09:02:57 UTC, "site_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:02:57 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fcc0c82cd1af5c000007", :_original_id=>BSON::ObjectId('5174fcc1c82cd1af5c00000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fcc1c82cd1af5c00000d'), "_original_type"=>"Locomotive::ContentEntry5174fcc0c82cd1af5c000007", "_original_id"=>BSON::ObjectId('5174fcc1c82cd1af5c00000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), :parent_id=>BSON::ObjectId('5174fcc0c82cd1af5c000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fcc0c82cd1af5c000004'), :site_id=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fcc1c82cd1af5c00000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174fcc0c82cd1af5c000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174fcc0c82cd1af5c000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fcc1c82cd1af5c00000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), "parent_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:02:57 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-22 09:02:57 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fcc1c82cd1af5c00000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fcc1c82cd1af5c00000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fcc1c82cd1af5c00000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fcc1c82cd1af5c00000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('5174fcc0c82cd1af5c000001')}, "_id"=>BSON::ObjectId('5174fcc1c82cd1af5c00000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fcc1c82cd1af5c00000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), :parent_id=>BSON::ObjectId('5174fcc0c82cd1af5c000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fcc0c82cd1af5c000004'), :site_id=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fcc1c82cd1af5c000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fcc0c82cd1af5c000004'), :site_id=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fcc1c82cd1af5c000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('5174fcc0c82cd1af5c000004'), :site_id=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fcc1c82cd1af5c000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174fcc0c82cd1af5c000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174fcc0c82cd1af5c000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), "parent_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:02:57 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-22 09:02:57 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fcc1c82cd1af5c000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fcc1c82cd1af5c000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fcc1c82cd1af5c000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('5174fcc0c82cd1af5c000001')}, "_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('5174fcc0c82cd1af5c000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:02:57 UTC}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fcc0c82cd1af5c000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fcc0c82cd1af5c000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-22 09:02:56 UTC, "updated_at"=>2013-04-22 09:02:57 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000013'), "account_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174fcc1c82cd1af5c000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fcc1c82cd1af5c000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fcc1c82cd1af5c000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:02:57 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:02:57 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fcc1c82cd1af5c000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fcc1c82cd1af5c000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fcc1c82cd1af5c000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174fcc1c82cd1af5c000012')}, "_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174fcc1c82cd1af5c000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fcc1c82cd1af5c000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fcc1c82cd1af5c000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fcc1c82cd1af5c000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fcc1c82cd1af5c000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fcc1c82cd1af5c000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fcc1c82cd1af5c000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:02:57 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:02:57 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fcc1c82cd1af5c000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fcc1c82cd1af5c000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('5174fcc1c82cd1af5c000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fcc1c82cd1af5c000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fcc1c82cd1af5c000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fcc1c82cd1af5c000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fcc1c82cd1af5c000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fcc1c82cd1af5c000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fcc1c82cd1af5c000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000017'), "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"=>BSON::ObjectId('5174fcc1c82cd1af5c000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:02:57 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-22 09:02:57 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fcc1c82cd1af5c000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fcc1c82cd1af5c000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fcc1c82cd1af5c000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('5174fcc1c82cd1af5c000012')}, "_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174fcc1c82cd1af5c000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:02:57 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174fcc1c82cd1af5c00001a'), "created_at"=>2013-04-22 09:02:57 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174fcc1c82cd1af5c00001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:02:57 UTC, "created_at"=>2013-04-22 09:02:57 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fcc1c82cd1af5c00001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174fcc1c82cd1af5c000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('5174fcc1c82cd1af5c000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fcc1c82cd1af5c000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174fcc1c82cd1af5c00001b'), "_type"=>"Locomotive::ContentEntry5174fcc1c82cd1af5c000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fcc1c82cd1af5c000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-22 09:02:57 UTC, "site_id"=>BSON::ObjectId('5174fcc1c82cd1af5c000012'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:02:57 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fcc1c82cd1af5c000019", :_original_id=>BSON::ObjectId('5174fcc1c82cd1af5c00001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('5174fcc1c82cd1af5c000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fcc1c82cd1af5c00001c'), "_original_type"=>"Locomotive::ContentEntry5174fcc1c82cd1af5c000019", "_original_id"=>BSON::ObjectId('5174fcc1c82cd1af5c00001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-22 11:02:57 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 22ms (Views: 18.1ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-22 11:02:57 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fcc0c82cd1af5c000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('5174fd05c82cd1af7d000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"SXT5uVpz4CvyCW3rYLAN", "encrypted_password"=>"aa2ea05a2721ed3fe4bd3632fa9b5e4f4c7e3ede", "updated_at"=>2013-04-22 09:04:05 UTC, "created_at"=>2013-04-22 09:04:05 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('5174fd05c82cd1af7d000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 09:04:05 UTC, "updated_at"=>2013-04-22 09:04:05 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174fd05c82cd1af7d000003'), "account_id"=>BSON::ObjectId('5174fd05c82cd1af7d000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174fd05c82cd1af7d000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fd05c82cd1af7d000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fd06c82cd1af7d000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fd06c82cd1af7d000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174fd05c82cd1af7d000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:04:06 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:04:06 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fd06c82cd1af7d000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fd05c82cd1af7d000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fd06c82cd1af7d000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fd06c82cd1af7d000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fd06c82cd1af7d000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174fd05c82cd1af7d000001')}, "_id"=>BSON::ObjectId('5174fd06c82cd1af7d000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fd06c82cd1af7d000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174fd05c82cd1af7d000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fd05c82cd1af7d000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fd06c82cd1af7d000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fd05c82cd1af7d000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fd06c82cd1af7d000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fd05c82cd1af7d000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fd06c82cd1af7d000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fd06c82cd1af7d000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174fd05c82cd1af7d000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:04:06 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:04:06 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fd05c82cd1af7d000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fd06c82cd1af7d000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fd06c82cd1af7d000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fd06c82cd1af7d000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174fd05c82cd1af7d000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174fd06c82cd1af7d000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174fd05c82cd1af7d000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:04:06 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174fd06c82cd1af7d000008'), "created_at"=>2013-04-22 09:04:06 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174fd06c82cd1af7d000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:04:06 UTC, "created_at"=>2013-04-22 09:04:06 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('5174fd06c82cd1af7d000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('5174fd06c82cd1af7d000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 09:04:06 UTC, "created_at"=>2013-04-22 09:04:06 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fd06c82cd1af7d00000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174fd06c82cd1af7d000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('5174fd06c82cd1af7d000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fd06c82cd1af7d000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174fd06c82cd1af7d00000a'), "_type"=>"Locomotive::ContentEntry5174fd06c82cd1af7d000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fd06c82cd1af7d000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fd06c82cd1af7d000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 09:04:06 UTC, "site_id"=>BSON::ObjectId('5174fd05c82cd1af7d000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:04:06 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fd06c82cd1af7d000007", :_original_id=>BSON::ObjectId('5174fd06c82cd1af7d00000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('5174fd05c82cd1af7d000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fd06c82cd1af7d00000b'), "_original_type"=>"Locomotive::ContentEntry5174fd06c82cd1af7d000007", "_original_id"=>BSON::ObjectId('5174fd06c82cd1af7d00000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fd06c82cd1af7d00000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry5174fd06c82cd1af7d000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('5174fd06c82cd1af7d000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fd06c82cd1af7d000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('5174fd06c82cd1af7d00000c'), "_type"=>"Locomotive::ContentEntry5174fd06c82cd1af7d000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fd06c82cd1af7d000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fd06c82cd1af7d000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 09:04:06 UTC, "site_id"=>BSON::ObjectId('5174fd05c82cd1af7d000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:04:06 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fd06c82cd1af7d000007", :_original_id=>BSON::ObjectId('5174fd06c82cd1af7d00000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('5174fd05c82cd1af7d000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fd06c82cd1af7d00000d'), "_original_type"=>"Locomotive::ContentEntry5174fd06c82cd1af7d000007", "_original_id"=>BSON::ObjectId('5174fd06c82cd1af7d00000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('5174fd05c82cd1af7d000001'), :parent_id=>BSON::ObjectId('5174fd06c82cd1af7d000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fd06c82cd1af7d000004'), :site_id=>BSON::ObjectId('5174fd05c82cd1af7d000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fd06c82cd1af7d00000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174fd06c82cd1af7d000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174fd06c82cd1af7d000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fd06c82cd1af7d00000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('5174fd05c82cd1af7d000001'), "parent_id"=>BSON::ObjectId('5174fd06c82cd1af7d000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:04:06 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-22 09:04:06 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fd05c82cd1af7d000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fd06c82cd1af7d00000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fd06c82cd1af7d00000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fd06c82cd1af7d00000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fd06c82cd1af7d00000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('5174fd05c82cd1af7d000001')}, "_id"=>BSON::ObjectId('5174fd06c82cd1af7d00000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fd06c82cd1af7d00000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('5174fd05c82cd1af7d000001'), :parent_id=>BSON::ObjectId('5174fd06c82cd1af7d000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fd06c82cd1af7d000004'), :site_id=>BSON::ObjectId('5174fd05c82cd1af7d000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fd06c82cd1af7d000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fd06c82cd1af7d000004'), :site_id=>BSON::ObjectId('5174fd05c82cd1af7d000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fd06c82cd1af7d000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('5174fd06c82cd1af7d000004'), :site_id=>BSON::ObjectId('5174fd05c82cd1af7d000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fd06c82cd1af7d000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174fd06c82cd1af7d000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174fd06c82cd1af7d000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fd06c82cd1af7d000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('5174fd05c82cd1af7d000001'), "parent_id"=>BSON::ObjectId('5174fd06c82cd1af7d000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:04:06 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-22 09:04:06 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fd05c82cd1af7d000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fd06c82cd1af7d000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fd06c82cd1af7d000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fd06c82cd1af7d000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fd06c82cd1af7d000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('5174fd05c82cd1af7d000001')}, "_id"=>BSON::ObjectId('5174fd06c82cd1af7d000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fd06c82cd1af7d000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fd05c82cd1af7d000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('5174fd05c82cd1af7d000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('5174fd06c82cd1af7d000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fd05c82cd1af7d000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fd06c82cd1af7d000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fd06c82cd1af7d000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('5174fd06c82cd1af7d000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('5174fd05c82cd1af7d000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('5174fd06c82cd1af7d000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-22 09:04:05 UTC, "updated_at"=>2013-04-22 09:04:06 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174fd06c82cd1af7d000013'), "account_id"=>BSON::ObjectId('5174fd05c82cd1af7d000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174fd06c82cd1af7d000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fd06c82cd1af7d000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fd06c82cd1af7d000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fd06c82cd1af7d000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174fd06c82cd1af7d000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:04:06 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:04:06 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fd06c82cd1af7d000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fd06c82cd1af7d000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fd06c82cd1af7d000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fd06c82cd1af7d000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fd06c82cd1af7d000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174fd06c82cd1af7d000012')}, "_id"=>BSON::ObjectId('5174fd06c82cd1af7d000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fd06c82cd1af7d000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174fd06c82cd1af7d000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fd06c82cd1af7d000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fd06c82cd1af7d000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fd06c82cd1af7d000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fd06c82cd1af7d000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fd06c82cd1af7d000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fd06c82cd1af7d000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fd06c82cd1af7d000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174fd06c82cd1af7d000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:04:06 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:04:06 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fd06c82cd1af7d000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fd06c82cd1af7d000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fd06c82cd1af7d000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fd06c82cd1af7d000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('5174fd06c82cd1af7d000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fd06c82cd1af7d000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fd06c82cd1af7d000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fd06c82cd1af7d000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fd06c82cd1af7d000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fd06c82cd1af7d000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fd06c82cd1af7d000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fd06c82cd1af7d000017'), "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"=>BSON::ObjectId('5174fd06c82cd1af7d000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:04:06 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-22 09:04:06 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fd06c82cd1af7d000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fd06c82cd1af7d000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fd06c82cd1af7d000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fd06c82cd1af7d000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fd06c82cd1af7d000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('5174fd06c82cd1af7d000012')}, "_id"=>BSON::ObjectId('5174fd06c82cd1af7d000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fd06c82cd1af7d000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174fd06c82cd1af7d000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174fd06c82cd1af7d000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174fd06c82cd1af7d000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:04:06 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174fd06c82cd1af7d00001a'), "created_at"=>2013-04-22 09:04:06 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174fd06c82cd1af7d00001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:04:06 UTC, "created_at"=>2013-04-22 09:04:06 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fd06c82cd1af7d00001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174fd06c82cd1af7d000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('5174fd06c82cd1af7d000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fd06c82cd1af7d000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174fd06c82cd1af7d00001b'), "_type"=>"Locomotive::ContentEntry5174fd06c82cd1af7d000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fd06c82cd1af7d000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fd06c82cd1af7d000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-22 09:04:06 UTC, "site_id"=>BSON::ObjectId('5174fd06c82cd1af7d000012'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:04:06 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fd06c82cd1af7d000019", :_original_id=>BSON::ObjectId('5174fd06c82cd1af7d00001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('5174fd06c82cd1af7d000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fd06c82cd1af7d00001c'), "_original_type"=>"Locomotive::ContentEntry5174fd06c82cd1af7d000019", "_original_id"=>BSON::ObjectId('5174fd06c82cd1af7d00001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-22 11:04:06 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fd05c82cd1af7d000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 27ms (Views: 22.6ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-22 11:04:06 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fd05c82cd1af7d000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.4ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('5174fd21c82cd1af93000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"FyisQcbtcTY4geZegsME", "encrypted_password"=>"3d88d4a0125748795df7e18ea447f1207289a007", "updated_at"=>2013-04-22 09:04:33 UTC, "created_at"=>2013-04-22 09:04:33 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('5174fd21c82cd1af93000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 09:04:32 UTC, "updated_at"=>2013-04-22 09:04:33 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174fd21c82cd1af93000003'), "account_id"=>BSON::ObjectId('5174fd21c82cd1af93000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174fd21c82cd1af93000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fd21c82cd1af93000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fd21c82cd1af93000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fd21c82cd1af93000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174fd21c82cd1af93000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:04:33 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:04:33 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fd21c82cd1af93000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fd21c82cd1af93000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fd21c82cd1af93000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fd21c82cd1af93000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fd21c82cd1af93000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174fd21c82cd1af93000001')}, "_id"=>BSON::ObjectId('5174fd21c82cd1af93000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fd21c82cd1af93000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174fd21c82cd1af93000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fd21c82cd1af93000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fd21c82cd1af93000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fd21c82cd1af93000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fd21c82cd1af93000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fd21c82cd1af93000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fd21c82cd1af93000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fd21c82cd1af93000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174fd21c82cd1af93000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:04:33 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:04:33 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fd21c82cd1af93000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fd21c82cd1af93000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fd21c82cd1af93000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fd21c82cd1af93000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174fd21c82cd1af93000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174fd21c82cd1af93000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174fd21c82cd1af93000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:04:33 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174fd21c82cd1af93000008'), "created_at"=>2013-04-22 09:04:33 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174fd21c82cd1af93000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:04:33 UTC, "created_at"=>2013-04-22 09:04:33 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('5174fd21c82cd1af93000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('5174fd21c82cd1af93000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 09:04:33 UTC, "created_at"=>2013-04-22 09:04:33 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fd21c82cd1af9300000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174fd21c82cd1af93000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('5174fd21c82cd1af93000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fd21c82cd1af93000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174fd21c82cd1af9300000a'), "_type"=>"Locomotive::ContentEntry5174fd21c82cd1af93000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fd21c82cd1af93000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fd21c82cd1af93000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 09:04:33 UTC, "site_id"=>BSON::ObjectId('5174fd21c82cd1af93000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:04:33 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fd21c82cd1af93000007", :_original_id=>BSON::ObjectId('5174fd21c82cd1af9300000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('5174fd21c82cd1af93000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fd21c82cd1af9300000b'), "_original_type"=>"Locomotive::ContentEntry5174fd21c82cd1af93000007", "_original_id"=>BSON::ObjectId('5174fd21c82cd1af9300000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fd21c82cd1af9300000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry5174fd21c82cd1af93000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('5174fd21c82cd1af93000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fd21c82cd1af93000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('5174fd21c82cd1af9300000c'), "_type"=>"Locomotive::ContentEntry5174fd21c82cd1af93000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fd21c82cd1af93000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fd21c82cd1af93000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 09:04:33 UTC, "site_id"=>BSON::ObjectId('5174fd21c82cd1af93000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:04:33 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fd21c82cd1af93000007", :_original_id=>BSON::ObjectId('5174fd21c82cd1af9300000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('5174fd21c82cd1af93000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fd21c82cd1af9300000d'), "_original_type"=>"Locomotive::ContentEntry5174fd21c82cd1af93000007", "_original_id"=>BSON::ObjectId('5174fd21c82cd1af9300000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('5174fd21c82cd1af93000001'), :parent_id=>BSON::ObjectId('5174fd21c82cd1af93000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fd21c82cd1af93000004'), :site_id=>BSON::ObjectId('5174fd21c82cd1af93000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fd21c82cd1af9300000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174fd21c82cd1af93000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174fd21c82cd1af93000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fd21c82cd1af9300000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('5174fd21c82cd1af93000001'), "parent_id"=>BSON::ObjectId('5174fd21c82cd1af93000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:04:33 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-22 09:04:33 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fd21c82cd1af93000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fd21c82cd1af9300000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fd21c82cd1af9300000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fd21c82cd1af9300000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fd21c82cd1af9300000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('5174fd21c82cd1af93000001')}, "_id"=>BSON::ObjectId('5174fd21c82cd1af9300000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fd21c82cd1af9300000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('5174fd21c82cd1af93000001'), :parent_id=>BSON::ObjectId('5174fd21c82cd1af93000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fd21c82cd1af93000004'), :site_id=>BSON::ObjectId('5174fd21c82cd1af93000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fd21c82cd1af93000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fd21c82cd1af93000004'), :site_id=>BSON::ObjectId('5174fd21c82cd1af93000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fd21c82cd1af93000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('5174fd21c82cd1af93000004'), :site_id=>BSON::ObjectId('5174fd21c82cd1af93000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fd21c82cd1af93000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174fd21c82cd1af93000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174fd21c82cd1af93000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fd21c82cd1af93000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('5174fd21c82cd1af93000001'), "parent_id"=>BSON::ObjectId('5174fd21c82cd1af93000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:04:33 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-22 09:04:33 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fd21c82cd1af93000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fd21c82cd1af93000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fd21c82cd1af93000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fd21c82cd1af93000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fd21c82cd1af93000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('5174fd21c82cd1af93000001')}, "_id"=>BSON::ObjectId('5174fd21c82cd1af93000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fd21c82cd1af93000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fd21c82cd1af93000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('5174fd21c82cd1af93000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('5174fd21c82cd1af93000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fd21c82cd1af93000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fd21c82cd1af93000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fd21c82cd1af93000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('5174fd21c82cd1af93000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('5174fd21c82cd1af93000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('5174fd21c82cd1af93000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-22 09:04:32 UTC, "updated_at"=>2013-04-22 09:04:33 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174fd21c82cd1af93000013'), "account_id"=>BSON::ObjectId('5174fd21c82cd1af93000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174fd21c82cd1af93000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fd21c82cd1af93000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fd21c82cd1af93000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fd21c82cd1af93000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174fd21c82cd1af93000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:04:33 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:04:33 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fd21c82cd1af93000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fd21c82cd1af93000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fd21c82cd1af93000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fd21c82cd1af93000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fd21c82cd1af93000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174fd21c82cd1af93000012')}, "_id"=>BSON::ObjectId('5174fd21c82cd1af93000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fd21c82cd1af93000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174fd21c82cd1af93000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fd21c82cd1af93000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fd21c82cd1af93000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fd21c82cd1af93000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fd21c82cd1af93000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fd21c82cd1af93000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fd21c82cd1af93000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fd21c82cd1af93000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174fd21c82cd1af93000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:04:33 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:04:33 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fd21c82cd1af93000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fd21c82cd1af93000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fd21c82cd1af93000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fd21c82cd1af93000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('5174fd21c82cd1af93000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fd21c82cd1af93000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fd21c82cd1af93000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fd21c82cd1af93000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fd21c82cd1af93000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fd21c82cd1af93000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fd21c82cd1af93000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fd21c82cd1af93000017'), "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"=>BSON::ObjectId('5174fd21c82cd1af93000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:04:33 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-22 09:04:33 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fd21c82cd1af93000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fd21c82cd1af93000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fd21c82cd1af93000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fd21c82cd1af93000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fd21c82cd1af93000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('5174fd21c82cd1af93000012')}, "_id"=>BSON::ObjectId('5174fd21c82cd1af93000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fd21c82cd1af93000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174fd21c82cd1af93000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174fd21c82cd1af93000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174fd21c82cd1af93000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:04:33 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174fd21c82cd1af9300001a'), "created_at"=>2013-04-22 09:04:33 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174fd21c82cd1af9300001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:04:33 UTC, "created_at"=>2013-04-22 09:04:33 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fd21c82cd1af9300001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174fd21c82cd1af93000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('5174fd21c82cd1af93000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fd21c82cd1af93000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174fd21c82cd1af9300001b'), "_type"=>"Locomotive::ContentEntry5174fd21c82cd1af93000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fd21c82cd1af93000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fd21c82cd1af93000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-22 09:04:33 UTC, "site_id"=>BSON::ObjectId('5174fd21c82cd1af93000012'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:04:33 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fd21c82cd1af93000019", :_original_id=>BSON::ObjectId('5174fd21c82cd1af9300001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('5174fd21c82cd1af93000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fd21c82cd1af9300001c'), "_original_type"=>"Locomotive::ContentEntry5174fd21c82cd1af93000019", "_original_id"=>BSON::ObjectId('5174fd21c82cd1af9300001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-22 11:04:33 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fd21c82cd1af93000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 23ms (Views: 18.2ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-22 11:04:33 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fd21c82cd1af93000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('5174fd21c82cd1af93000001'), :_keywords=>{"$in"=>["findable", "en:findable"]}}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.3ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('5174fe3fc82cd1b095000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"nQuRGHXTZH4gsUMQAS3J", "encrypted_password"=>"f591f2b2262a772d66992f5afd27738c762ebea7", "updated_at"=>2013-04-22 09:09:19 UTC, "created_at"=>2013-04-22 09:09:19 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('5174fe3fc82cd1b095000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 09:09:18 UTC, "updated_at"=>2013-04-22 09:09:19 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174fe3fc82cd1b095000003'), "account_id"=>BSON::ObjectId('5174fe3fc82cd1b095000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fe3fc82cd1b095000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fe3fc82cd1b095000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:09:19 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:09:19 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fe3fc82cd1b095000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fe3fc82cd1b095000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fe3fc82cd1b095000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fe3fc82cd1b095000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000001')}, "_id"=>BSON::ObjectId('5174fe3fc82cd1b095000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fe3fc82cd1b095000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fe3fc82cd1b095000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fe3fc82cd1b095000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fe3fc82cd1b095000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fe3fc82cd1b095000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:09:19 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:09:19 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fe3fc82cd1b095000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fe3fc82cd1b095000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fe3fc82cd1b095000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174fe3fc82cd1b095000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:09:19 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174fe3fc82cd1b095000008'), "created_at"=>2013-04-22 09:09:19 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174fe3fc82cd1b095000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:09:19 UTC, "created_at"=>2013-04-22 09:09:19 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('5174fe3fc82cd1b095000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('5174fe3fc82cd1b095000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 09:09:19 UTC, "created_at"=>2013-04-22 09:09:19 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fe3fc82cd1b09500000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174fe3fc82cd1b095000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('5174fe3fc82cd1b095000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fe3fc82cd1b095000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174fe3fc82cd1b09500000a'), "_type"=>"Locomotive::ContentEntry5174fe3fc82cd1b095000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fe3fc82cd1b095000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fe3fc82cd1b095000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 09:09:19 UTC, "site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:09:19 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fe3fc82cd1b095000007", :_original_id=>BSON::ObjectId('5174fe3fc82cd1b09500000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fe3fc82cd1b09500000b'), "_original_type"=>"Locomotive::ContentEntry5174fe3fc82cd1b095000007", "_original_id"=>BSON::ObjectId('5174fe3fc82cd1b09500000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fe3fc82cd1b09500000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry5174fe3fc82cd1b095000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('5174fe3fc82cd1b095000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fe3fc82cd1b095000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('5174fe3fc82cd1b09500000c'), "_type"=>"Locomotive::ContentEntry5174fe3fc82cd1b095000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fe3fc82cd1b095000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fe3fc82cd1b095000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 09:09:19 UTC, "site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:09:19 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fe3fc82cd1b095000007", :_original_id=>BSON::ObjectId('5174fe3fc82cd1b09500000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fe3fc82cd1b09500000d'), "_original_type"=>"Locomotive::ContentEntry5174fe3fc82cd1b095000007", "_original_id"=>BSON::ObjectId('5174fe3fc82cd1b09500000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000001'), :parent_id=>BSON::ObjectId('5174fe3fc82cd1b095000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fe3fc82cd1b095000004'), :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fe3fc82cd1b09500000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174fe3fc82cd1b095000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174fe3fc82cd1b095000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fe3fc82cd1b09500000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000001'), "parent_id"=>BSON::ObjectId('5174fe3fc82cd1b095000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:09:19 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-22 09:09:19 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fe3fc82cd1b09500000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fe3fc82cd1b09500000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fe3fc82cd1b09500000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fe3fc82cd1b09500000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000001')}, "_id"=>BSON::ObjectId('5174fe3fc82cd1b09500000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fe3fc82cd1b09500000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000001'), :parent_id=>BSON::ObjectId('5174fe3fc82cd1b095000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fe3fc82cd1b095000004'), :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fe3fc82cd1b095000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fe3fc82cd1b095000004'), :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fe3fc82cd1b095000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('5174fe3fc82cd1b095000004'), :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fe3fc82cd1b095000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174fe3fc82cd1b095000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174fe3fc82cd1b095000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fe3fc82cd1b095000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000001'), "parent_id"=>BSON::ObjectId('5174fe3fc82cd1b095000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:09:19 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-22 09:09:19 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fe3fc82cd1b095000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fe3fc82cd1b095000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fe3fc82cd1b095000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fe3fc82cd1b095000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000001')}, "_id"=>BSON::ObjectId('5174fe3fc82cd1b095000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fe3fc82cd1b095000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('5174fe3fc82cd1b095000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('5174fe3fc82cd1b095000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fe3fc82cd1b095000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fe3fc82cd1b095000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('5174fe3fc82cd1b095000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('5174fe3fc82cd1b095000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-22 09:09:18 UTC, "updated_at"=>2013-04-22 09:09:19 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174fe3fc82cd1b095000013'), "account_id"=>BSON::ObjectId('5174fe3fc82cd1b095000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fe3fc82cd1b095000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fe3fc82cd1b095000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:09:19 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:09:19 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fe3fc82cd1b095000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fe3fc82cd1b095000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fe3fc82cd1b095000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fe3fc82cd1b095000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000012')}, "_id"=>BSON::ObjectId('5174fe3fc82cd1b095000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fe3fc82cd1b095000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fe3fc82cd1b095000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fe3fc82cd1b095000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fe3fc82cd1b095000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fe3fc82cd1b095000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:09:19 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:09:19 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fe3fc82cd1b095000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fe3fc82cd1b095000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fe3fc82cd1b095000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fe3fc82cd1b095000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fe3fc82cd1b095000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fe3fc82cd1b095000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fe3fc82cd1b095000017'), "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"=>BSON::ObjectId('5174fe3fc82cd1b095000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:09:19 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-22 09:09:19 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fe3fc82cd1b095000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fe3fc82cd1b095000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fe3fc82cd1b095000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fe3fc82cd1b095000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000012')}, "_id"=>BSON::ObjectId('5174fe3fc82cd1b095000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fe3fc82cd1b095000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174fe3fc82cd1b095000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:09:19 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174fe3fc82cd1b09500001a'), "created_at"=>2013-04-22 09:09:19 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174fe3fc82cd1b09500001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:09:19 UTC, "created_at"=>2013-04-22 09:09:19 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fe3fc82cd1b09500001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174fe3fc82cd1b095000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('5174fe3fc82cd1b095000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fe3fc82cd1b095000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174fe3fc82cd1b09500001b'), "_type"=>"Locomotive::ContentEntry5174fe3fc82cd1b095000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fe3fc82cd1b095000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fe3fc82cd1b095000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-22 09:09:19 UTC, "site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000012'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:09:19 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fe3fc82cd1b095000019", :_original_id=>BSON::ObjectId('5174fe3fc82cd1b09500001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('5174fe3fc82cd1b095000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fe3fc82cd1b09500001c'), "_original_type"=>"Locomotive::ContentEntry5174fe3fc82cd1b095000019", "_original_id"=>BSON::ObjectId('5174fe3fc82cd1b09500001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-22 11:09:19 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 22ms (Views: 17.9ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-22 11:09:19 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000001'), :_keywords=>{"$in"=>["findable", "en:findable"]}}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.3ms) Started GET "/findable" for 127.0.0.1 at 2013-04-22 11:09:20 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"path"=>"findable"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000001'), :depth=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 6ms (Views: 0.7ms) Started GET "/" for 127.0.0.1 at 2013-04-22 11:09:20 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.3ms) Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-04-22 11:09:20 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('5174fe3fc82cd1b095000001'), :_keywords=>{"$in"=>["not", "found", "en:not", "en:found"]}}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.4ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"FpUc9jFeeJT1WCQUU4Fc", "encrypted_password"=>"0da1e98efa6b2db90fa5ae40f71317e3b8079aae", "updated_at"=>2013-04-22 09:09:42 UTC, "created_at"=>2013-04-22 09:09:42 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 09:09:41 UTC, "updated_at"=>2013-04-22 09:09:42 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000003'), "account_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fe56c82cd1b0ac000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:09:42 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:09:42 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fe56c82cd1b0ac000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fe56c82cd1b0ac000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fe56c82cd1b0ac000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000001')}, "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fe56c82cd1b0ac000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fe56c82cd1b0ac000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fe56c82cd1b0ac000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:09:42 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:09:42 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fe56c82cd1b0ac000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fe56c82cd1b0ac000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:09:42 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000008'), "created_at"=>2013-04-22 09:09:42 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:09:42 UTC, "created_at"=>2013-04-22 09:09:42 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 09:09:42 UTC, "created_at"=>2013-04-22 09:09:42 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fe56c82cd1b0ac00000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174fe56c82cd1b0ac000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('5174fe56c82cd1b0ac000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fe56c82cd1b0ac000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac00000a'), "_type"=>"Locomotive::ContentEntry5174fe56c82cd1b0ac000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fe56c82cd1b0ac000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 09:09:42 UTC, "site_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:09:42 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fe56c82cd1b0ac000007", :_original_id=>BSON::ObjectId('5174fe56c82cd1b0ac00000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac00000b'), "_original_type"=>"Locomotive::ContentEntry5174fe56c82cd1b0ac000007", "_original_id"=>BSON::ObjectId('5174fe56c82cd1b0ac00000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fe56c82cd1b0ac00000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry5174fe56c82cd1b0ac000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('5174fe56c82cd1b0ac000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fe56c82cd1b0ac000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac00000c'), "_type"=>"Locomotive::ContentEntry5174fe56c82cd1b0ac000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fe56c82cd1b0ac000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 09:09:42 UTC, "site_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:09:42 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fe56c82cd1b0ac000007", :_original_id=>BSON::ObjectId('5174fe56c82cd1b0ac00000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac00000d'), "_original_type"=>"Locomotive::ContentEntry5174fe56c82cd1b0ac000007", "_original_id"=>BSON::ObjectId('5174fe56c82cd1b0ac00000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), :parent_id=>BSON::ObjectId('5174fe56c82cd1b0ac000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fe56c82cd1b0ac000004'), :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fe56c82cd1b0ac00000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174fe56c82cd1b0ac000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174fe56c82cd1b0ac000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac00000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), "parent_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:09:42 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-22 09:09:42 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fe56c82cd1b0ac00000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fe56c82cd1b0ac00000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fe56c82cd1b0ac00000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fe56c82cd1b0ac00000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000001')}, "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac00000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fe56c82cd1b0ac00000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), :parent_id=>BSON::ObjectId('5174fe56c82cd1b0ac000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fe56c82cd1b0ac000004'), :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fe56c82cd1b0ac000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174fe56c82cd1b0ac000004'), :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fe56c82cd1b0ac000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('5174fe56c82cd1b0ac000004'), :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), :_id=>{"$ne"=>BSON::ObjectId('5174fe56c82cd1b0ac000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174fe56c82cd1b0ac000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174fe56c82cd1b0ac000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), "parent_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:09:42 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-22 09:09:42 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fe56c82cd1b0ac000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fe56c82cd1b0ac000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fe56c82cd1b0ac000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000001')}, "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('5174fe56c82cd1b0ac000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fe56c82cd1b0ac000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fe56c82cd1b0ac000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-22 09:09:41 UTC, "updated_at"=>2013-04-22 09:09:42 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000013'), "account_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fe56c82cd1b0ac000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:09:42 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:09:42 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fe56c82cd1b0ac000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fe56c82cd1b0ac000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fe56c82cd1b0ac000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000012')}, "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fe56c82cd1b0ac000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fe56c82cd1b0ac000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fe56c82cd1b0ac000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:09:42 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:09:42 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fe56c82cd1b0ac000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fe56c82cd1b0ac000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fe56c82cd1b0ac000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fe56c82cd1b0ac000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000012'), :_id=>{"$ne"=>BSON::ObjectId('5174fe56c82cd1b0ac000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000017'), "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"=>BSON::ObjectId('5174fe56c82cd1b0ac000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:09:42 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-22 09:09:42 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174fe56c82cd1b0ac000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174fe56c82cd1b0ac000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174fe56c82cd1b0ac000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000012')}, "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:09:42 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174fe56c82cd1b0ac00001a'), "created_at"=>2013-04-22 09:09:42 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac00001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:09:42 UTC, "created_at"=>2013-04-22 09:09:42 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174fe56c82cd1b0ac00001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174fe56c82cd1b0ac000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('5174fe56c82cd1b0ac000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174fe56c82cd1b0ac000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac00001b'), "_type"=>"Locomotive::ContentEntry5174fe56c82cd1b0ac000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174fe56c82cd1b0ac000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-22 09:09:42 UTC, "site_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000012'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:09:42 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174fe56c82cd1b0ac000019", :_original_id=>BSON::ObjectId('5174fe56c82cd1b0ac00001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('5174fe56c82cd1b0ac000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174fe56c82cd1b0ac00001c'), "_original_type"=>"Locomotive::ContentEntry5174fe56c82cd1b0ac000019", "_original_id"=>BSON::ObjectId('5174fe56c82cd1b0ac00001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-22 11:09:42 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 22ms (Views: 18.4ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-22 11:09:43 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174fe56c82cd1b0ac000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 220ms (Views: 0.5ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('5174ff01c82cd1b124000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"kuFyVnbLBrqC1e6TMhqH", "encrypted_password"=>"fde00f27017a0124c1fac8d1d4e969ef2a0db497", "updated_at"=>2013-04-22 09:12:33 UTC, "created_at"=>2013-04-22 09:12:33 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('5174ff01c82cd1b124000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 09:12:33 UTC, "updated_at"=>2013-04-22 09:12:33 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174ff01c82cd1b124000003'), "account_id"=>BSON::ObjectId('5174ff01c82cd1b124000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174ff01c82cd1b124000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff01c82cd1b124000001'), :_id=>{"$ne"=>BSON::ObjectId('5174ff01c82cd1b124000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174ff01c82cd1b124000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174ff01c82cd1b124000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:12:33 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:12:33 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174ff01c82cd1b124000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff01c82cd1b124000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174ff01c82cd1b124000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174ff01c82cd1b124000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174ff01c82cd1b124000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174ff01c82cd1b124000001')}, "_id"=>BSON::ObjectId('5174ff01c82cd1b124000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174ff01c82cd1b124000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174ff01c82cd1b124000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff01c82cd1b124000001'), :_id=>{"$ne"=>BSON::ObjectId('5174ff01c82cd1b124000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff01c82cd1b124000001'), :_id=>{"$ne"=>BSON::ObjectId('5174ff01c82cd1b124000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff01c82cd1b124000001'), :_id=>{"$ne"=>BSON::ObjectId('5174ff01c82cd1b124000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174ff01c82cd1b124000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174ff01c82cd1b124000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:12:33 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:12:33 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff01c82cd1b124000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174ff01c82cd1b124000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174ff01c82cd1b124000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174ff01c82cd1b124000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174ff01c82cd1b124000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174ff01c82cd1b124000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174ff01c82cd1b124000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:12:34 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174ff01c82cd1b124000008'), "created_at"=>2013-04-22 09:12:34 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174ff01c82cd1b124000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:12:34 UTC, "created_at"=>2013-04-22 09:12:34 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('5174ff01c82cd1b124000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('5174ff02c82cd1b124000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 09:12:34 UTC, "created_at"=>2013-04-22 09:12:34 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174ff02c82cd1b12400000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174ff01c82cd1b124000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('5174ff01c82cd1b124000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174ff01c82cd1b124000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174ff02c82cd1b12400000a'), "_type"=>"Locomotive::ContentEntry5174ff01c82cd1b124000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174ff01c82cd1b124000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174ff01c82cd1b124000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 09:12:34 UTC, "site_id"=>BSON::ObjectId('5174ff01c82cd1b124000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:12:34 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174ff01c82cd1b124000007", :_original_id=>BSON::ObjectId('5174ff02c82cd1b12400000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('5174ff01c82cd1b124000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174ff02c82cd1b12400000b'), "_original_type"=>"Locomotive::ContentEntry5174ff01c82cd1b124000007", "_original_id"=>BSON::ObjectId('5174ff02c82cd1b12400000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174ff02c82cd1b12400000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry5174ff01c82cd1b124000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('5174ff01c82cd1b124000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174ff01c82cd1b124000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174ff02c82cd1b12400000c'), "_type"=>"Locomotive::ContentEntry5174ff01c82cd1b124000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5174ff01c82cd1b124000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174ff01c82cd1b124000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 09:12:34 UTC, "site_id"=>BSON::ObjectId('5174ff01c82cd1b124000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:12:34 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174ff01c82cd1b124000007", :_original_id=>BSON::ObjectId('5174ff02c82cd1b12400000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('5174ff01c82cd1b124000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174ff02c82cd1b12400000d'), "_original_type"=>"Locomotive::ContentEntry5174ff01c82cd1b124000007", "_original_id"=>BSON::ObjectId('5174ff02c82cd1b12400000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:subdomain=>"acme"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"acme"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["acme.example.com"], "_id"=>BSON::ObjectId('5174ff02c82cd1b124000010'), "name"=>"Acme Website", "subdomain"=>"acme", "created_at"=>2013-04-22 09:12:33 UTC, "updated_at"=>2013-04-22 09:12:34 UTC}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174ff02c82cd1b124000010'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff02c82cd1b124000010'), :_id=>{"$ne"=>BSON::ObjectId('5174ff02c82cd1b124000011')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174ff02c82cd1b124000011'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174ff02c82cd1b124000010'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:12:34 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:12:34 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff02c82cd1b124000010'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174ff02c82cd1b124000011')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174ff02c82cd1b124000011')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174ff02c82cd1b124000011')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174ff02c82cd1b124000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174ff02c82cd1b124000010')}, "_id"=>BSON::ObjectId('5174ff02c82cd1b124000012'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174ff02c82cd1b124000011'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174ff02c82cd1b124000010'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff02c82cd1b124000010'), :_id=>{"$ne"=>BSON::ObjectId('5174ff02c82cd1b124000013')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff02c82cd1b124000010'), :_id=>{"$ne"=>BSON::ObjectId('5174ff02c82cd1b124000013')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff02c82cd1b124000010'), :_id=>{"$ne"=>BSON::ObjectId('5174ff02c82cd1b124000013')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174ff02c82cd1b124000013'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174ff02c82cd1b124000010'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:12:34 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:12:34 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff02c82cd1b124000010'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174ff02c82cd1b124000013')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174ff02c82cd1b124000013')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174ff02c82cd1b124000013')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174ff02c82cd1b124000010'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('5174ff43c82cd1b140000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"JN2NVFskquvRkykVsBy8", "encrypted_password"=>"40a2e5e8a57386b69aa9914fc431083c208d2fe2", "updated_at"=>2013-04-22 09:13:39 UTC, "created_at"=>2013-04-22 09:13:39 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('5174ff43c82cd1b140000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 09:13:39 UTC, "updated_at"=>2013-04-22 09:13:39 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174ff43c82cd1b140000003'), "account_id"=>BSON::ObjectId('5174ff43c82cd1b140000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174ff43c82cd1b140000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff43c82cd1b140000001'), :_id=>{"$ne"=>BSON::ObjectId('5174ff44c82cd1b140000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174ff44c82cd1b140000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174ff43c82cd1b140000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:13:40 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:13:40 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174ff44c82cd1b140000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff43c82cd1b140000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174ff44c82cd1b140000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174ff44c82cd1b140000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174ff44c82cd1b140000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174ff43c82cd1b140000001')}, "_id"=>BSON::ObjectId('5174ff44c82cd1b140000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174ff44c82cd1b140000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174ff43c82cd1b140000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff43c82cd1b140000001'), :_id=>{"$ne"=>BSON::ObjectId('5174ff44c82cd1b140000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff43c82cd1b140000001'), :_id=>{"$ne"=>BSON::ObjectId('5174ff44c82cd1b140000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff43c82cd1b140000001'), :_id=>{"$ne"=>BSON::ObjectId('5174ff44c82cd1b140000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174ff44c82cd1b140000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174ff43c82cd1b140000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:13:40 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:13:40 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff43c82cd1b140000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174ff44c82cd1b140000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174ff44c82cd1b140000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174ff44c82cd1b140000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174ff43c82cd1b140000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174ff44c82cd1b140000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174ff43c82cd1b140000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:13:40 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174ff44c82cd1b140000008'), "created_at"=>2013-04-22 09:13:40 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174ff44c82cd1b140000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:13:40 UTC, "created_at"=>2013-04-22 09:13:40 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('5174ff44c82cd1b140000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('5174ff44c82cd1b140000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 09:13:40 UTC, "created_at"=>2013-04-22 09:13:40 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174ff44c82cd1b14000000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174ff44c82cd1b140000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('5174ff44c82cd1b140000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174ff44c82cd1b140000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174ff44c82cd1b14000000a'), "_type"=>"Locomotive::ContentEntry5174ff44c82cd1b140000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174ff44c82cd1b140000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174ff44c82cd1b140000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 09:13:40 UTC, "site_id"=>BSON::ObjectId('5174ff43c82cd1b140000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:13:40 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174ff44c82cd1b140000007", :_original_id=>BSON::ObjectId('5174ff44c82cd1b14000000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('5174ff43c82cd1b140000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174ff44c82cd1b14000000b'), "_original_type"=>"Locomotive::ContentEntry5174ff44c82cd1b140000007", "_original_id"=>BSON::ObjectId('5174ff44c82cd1b14000000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174ff44c82cd1b14000000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry5174ff44c82cd1b140000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('5174ff44c82cd1b140000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174ff44c82cd1b140000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('5174ff44c82cd1b14000000c'), "_type"=>"Locomotive::ContentEntry5174ff44c82cd1b140000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5174ff44c82cd1b140000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174ff44c82cd1b140000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 09:13:40 UTC, "site_id"=>BSON::ObjectId('5174ff43c82cd1b140000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:13:40 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174ff44c82cd1b140000007", :_original_id=>BSON::ObjectId('5174ff44c82cd1b14000000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('5174ff43c82cd1b140000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174ff44c82cd1b14000000d'), "_original_type"=>"Locomotive::ContentEntry5174ff44c82cd1b140000007", "_original_id"=>BSON::ObjectId('5174ff44c82cd1b14000000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('5174ff43c82cd1b140000001'), :parent_id=>BSON::ObjectId('5174ff44c82cd1b140000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174ff44c82cd1b140000004'), :site_id=>BSON::ObjectId('5174ff43c82cd1b140000001'), :_id=>{"$ne"=>BSON::ObjectId('5174ff44c82cd1b14000000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174ff44c82cd1b140000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174ff44c82cd1b140000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174ff44c82cd1b14000000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('5174ff43c82cd1b140000001'), "parent_id"=>BSON::ObjectId('5174ff44c82cd1b140000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:13:40 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-22 09:13:40 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff43c82cd1b140000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174ff44c82cd1b14000000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174ff44c82cd1b14000000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174ff44c82cd1b14000000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174ff44c82cd1b14000000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('5174ff43c82cd1b140000001')}, "_id"=>BSON::ObjectId('5174ff44c82cd1b14000000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174ff44c82cd1b14000000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('5174ff43c82cd1b140000001'), :parent_id=>BSON::ObjectId('5174ff44c82cd1b140000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174ff44c82cd1b140000004'), :site_id=>BSON::ObjectId('5174ff43c82cd1b140000001'), :_id=>{"$ne"=>BSON::ObjectId('5174ff44c82cd1b140000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174ff44c82cd1b140000004'), :site_id=>BSON::ObjectId('5174ff43c82cd1b140000001'), :_id=>{"$ne"=>BSON::ObjectId('5174ff44c82cd1b140000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('5174ff44c82cd1b140000004'), :site_id=>BSON::ObjectId('5174ff43c82cd1b140000001'), :_id=>{"$ne"=>BSON::ObjectId('5174ff44c82cd1b140000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174ff44c82cd1b140000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174ff44c82cd1b140000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174ff44c82cd1b140000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('5174ff43c82cd1b140000001'), "parent_id"=>BSON::ObjectId('5174ff44c82cd1b140000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:13:40 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-22 09:13:40 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff43c82cd1b140000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174ff44c82cd1b140000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174ff44c82cd1b140000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174ff44c82cd1b140000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174ff44c82cd1b140000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('5174ff43c82cd1b140000001')}, "_id"=>BSON::ObjectId('5174ff44c82cd1b140000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174ff44c82cd1b140000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff43c82cd1b140000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('5174ff43c82cd1b140000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('5174ff44c82cd1b140000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff43c82cd1b140000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174ff44c82cd1b140000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174ff44c82cd1b140000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('5174ff44c82cd1b140000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('5174ff43c82cd1b140000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('5174ff44c82cd1b140000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-22 09:13:39 UTC, "updated_at"=>2013-04-22 09:13:40 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174ff44c82cd1b140000013'), "account_id"=>BSON::ObjectId('5174ff43c82cd1b140000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174ff44c82cd1b140000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff44c82cd1b140000012'), :_id=>{"$ne"=>BSON::ObjectId('5174ff44c82cd1b140000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174ff44c82cd1b140000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174ff44c82cd1b140000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:13:40 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:13:40 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff44c82cd1b140000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174ff44c82cd1b140000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174ff44c82cd1b140000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174ff44c82cd1b140000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174ff44c82cd1b140000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174ff44c82cd1b140000012')}, "_id"=>BSON::ObjectId('5174ff44c82cd1b140000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174ff44c82cd1b140000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174ff44c82cd1b140000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff44c82cd1b140000012'), :_id=>{"$ne"=>BSON::ObjectId('5174ff44c82cd1b140000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174ff44c82cd1b140000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174ff44c82cd1b140000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:13:40 UTC, "position"=>0, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:13:40 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff44c82cd1b140000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174ff44c82cd1b140000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174ff44c82cd1b140000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174ff44c82cd1b140000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('5174ff44c82cd1b140000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff44c82cd1b140000012'), :_id=>{"$ne"=>BSON::ObjectId('5174ff44c82cd1b140000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff44c82cd1b140000012'), :_id=>{"$ne"=>BSON::ObjectId('5174ff44c82cd1b140000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff44c82cd1b140000012'), :_id=>{"$ne"=>BSON::ObjectId('5174ff44c82cd1b140000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174ff44c82cd1b140000017'), "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"=>BSON::ObjectId('5174ff44c82cd1b140000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:13:40 UTC, "position"=>1, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-22 09:13:40 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff44c82cd1b140000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174ff44c82cd1b140000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174ff44c82cd1b140000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174ff44c82cd1b140000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174ff44c82cd1b140000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('5174ff44c82cd1b140000012')}, "_id"=>BSON::ObjectId('5174ff44c82cd1b140000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174ff44c82cd1b140000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174ff44c82cd1b140000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174ff44c82cd1b140000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174ff44c82cd1b140000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:13:40 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174ff44c82cd1b14000001a'), "created_at"=>2013-04-22 09:13:40 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174ff44c82cd1b14000001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:13:40 UTC, "created_at"=>2013-04-22 09:13:40 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174ff44c82cd1b14000001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174ff44c82cd1b140000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('5174ff44c82cd1b140000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174ff44c82cd1b140000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174ff44c82cd1b14000001b'), "_type"=>"Locomotive::ContentEntry5174ff44c82cd1b140000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174ff44c82cd1b140000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174ff44c82cd1b140000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-22 09:13:40 UTC, "site_id"=>BSON::ObjectId('5174ff44c82cd1b140000012'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:13:40 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174ff44c82cd1b140000019", :_original_id=>BSON::ObjectId('5174ff44c82cd1b14000001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('5174ff44c82cd1b140000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174ff44c82cd1b14000001c'), "_original_type"=>"Locomotive::ContentEntry5174ff44c82cd1b140000019", "_original_id"=>BSON::ObjectId('5174ff44c82cd1b14000001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-22 11:13:40 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{}, "fields"=>nil}).limit(-1) Redirected to http://test.example.com/locomotive/installation Filter chain halted as :require_site rendered or redirected Completed 302 Found in 4ms Started GET "/locomotive/installation" for 127.0.0.1 at 2013-04-22 11:13:40 +0200 Processing by Locomotive::InstallationController#show as HTML Parameters: {"step"=>1} MONGODB locomotive_search_test['locomotive_accounts'].find({}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{}, "fields"=>nil}).limit(-1) Rendered /usr/local/lib/ruby/gems/1.9.1/bundler/gems/engine-352092d17f05/app/views/locomotive/installation/step_1.html.haml within /locomotive/layouts/not_logged_in (118.1ms) Completed 200 OK in 141ms (Views: 139.4ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"RSLtemwwHnFy2g8vGraM", "encrypted_password"=>"0c46deab15f07eeacd61fafa4aca4e7323918e34", "updated_at"=>2013-04-22 09:14:18 UTC, "created_at"=>2013-04-22 09:14:18 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 09:14:18 UTC, "updated_at"=>2013-04-22 09:14:18 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000003'), "account_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), :_id=>{"$ne"=>BSON::ObjectId('5174ff6ac82cd1b15e000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:14:18 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:14:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174ff6ac82cd1b15e000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174ff6ac82cd1b15e000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174ff6ac82cd1b15e000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000001')}, "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), :_id=>{"$ne"=>BSON::ObjectId('5174ff6ac82cd1b15e000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), :_id=>{"$ne"=>BSON::ObjectId('5174ff6ac82cd1b15e000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), :_id=>{"$ne"=>BSON::ObjectId('5174ff6ac82cd1b15e000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:14:18 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:14:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174ff6ac82cd1b15e000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174ff6ac82cd1b15e000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:14:18 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000008'), "created_at"=>2013-04-22 09:14:18 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:14:18 UTC, "created_at"=>2013-04-22 09:14:18 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 09:14:18 UTC, "created_at"=>2013-04-22 09:14:18 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174ff6ac82cd1b15e00000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174ff6ac82cd1b15e000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('5174ff6ac82cd1b15e000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174ff6ac82cd1b15e000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e00000a'), "_type"=>"Locomotive::ContentEntry5174ff6ac82cd1b15e000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174ff6ac82cd1b15e000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 09:14:18 UTC, "site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:14:18 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174ff6ac82cd1b15e000007", :_original_id=>BSON::ObjectId('5174ff6ac82cd1b15e00000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e00000b'), "_original_type"=>"Locomotive::ContentEntry5174ff6ac82cd1b15e000007", "_original_id"=>BSON::ObjectId('5174ff6ac82cd1b15e00000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174ff6ac82cd1b15e00000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry5174ff6ac82cd1b15e000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('5174ff6ac82cd1b15e000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174ff6ac82cd1b15e000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e00000c'), "_type"=>"Locomotive::ContentEntry5174ff6ac82cd1b15e000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5174ff6ac82cd1b15e000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 09:14:18 UTC, "site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:14:18 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174ff6ac82cd1b15e000007", :_original_id=>BSON::ObjectId('5174ff6ac82cd1b15e00000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e00000d'), "_original_type"=>"Locomotive::ContentEntry5174ff6ac82cd1b15e000007", "_original_id"=>BSON::ObjectId('5174ff6ac82cd1b15e00000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), :parent_id=>BSON::ObjectId('5174ff6ac82cd1b15e000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174ff6ac82cd1b15e000004'), :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), :_id=>{"$ne"=>BSON::ObjectId('5174ff6ac82cd1b15e00000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174ff6ac82cd1b15e000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174ff6ac82cd1b15e000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e00000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), "parent_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:14:18 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-22 09:14:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174ff6ac82cd1b15e00000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174ff6ac82cd1b15e00000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174ff6ac82cd1b15e00000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174ff6ac82cd1b15e00000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000001')}, "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e00000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174ff6ac82cd1b15e00000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), :parent_id=>BSON::ObjectId('5174ff6ac82cd1b15e000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174ff6ac82cd1b15e000004'), :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), :_id=>{"$ne"=>BSON::ObjectId('5174ff6ac82cd1b15e000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5174ff6ac82cd1b15e000004'), :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), :_id=>{"$ne"=>BSON::ObjectId('5174ff6ac82cd1b15e000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('5174ff6ac82cd1b15e000004'), :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), :_id=>{"$ne"=>BSON::ObjectId('5174ff6ac82cd1b15e000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5174ff6ac82cd1b15e000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5174ff6ac82cd1b15e000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), "parent_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:14:18 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-22 09:14:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174ff6ac82cd1b15e000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174ff6ac82cd1b15e000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174ff6ac82cd1b15e000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000001')}, "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('5174ff6ac82cd1b15e000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174ff6ac82cd1b15e000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174ff6ac82cd1b15e000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-22 09:14:18 UTC, "updated_at"=>2013-04-22 09:14:18 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000013'), "account_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000012'), :_id=>{"$ne"=>BSON::ObjectId('5174ff6ac82cd1b15e000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:14:18 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:14:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174ff6ac82cd1b15e000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174ff6ac82cd1b15e000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174ff6ac82cd1b15e000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000012')}, "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000012'), :_id=>{"$ne"=>BSON::ObjectId('5174ff6ac82cd1b15e000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000012'), :_id=>{"$ne"=>BSON::ObjectId('5174ff6ac82cd1b15e000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000012'), :_id=>{"$ne"=>BSON::ObjectId('5174ff6ac82cd1b15e000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:14:18 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:14:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174ff6ac82cd1b15e000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174ff6ac82cd1b15e000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000012'), :_id=>{"$ne"=>BSON::ObjectId('5174ff6ac82cd1b15e000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000012'), :_id=>{"$ne"=>BSON::ObjectId('5174ff6ac82cd1b15e000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000012'), :_id=>{"$ne"=>BSON::ObjectId('5174ff6ac82cd1b15e000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000017'), "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"=>BSON::ObjectId('5174ff6ac82cd1b15e000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:14:18 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-22 09:14:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5174ff6ac82cd1b15e000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5174ff6ac82cd1b15e000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5174ff6ac82cd1b15e000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000012')}, "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:14:18 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5174ff6ac82cd1b15e00001a'), "created_at"=>2013-04-22 09:14:18 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e00001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:14:18 UTC, "created_at"=>2013-04-22 09:14:18 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5174ff6ac82cd1b15e00001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5174ff6ac82cd1b15e000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('5174ff6ac82cd1b15e000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5174ff6ac82cd1b15e000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e00001b'), "_type"=>"Locomotive::ContentEntry5174ff6ac82cd1b15e000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5174ff6ac82cd1b15e000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-22 09:14:18 UTC, "site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000012'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:14:18 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5174ff6ac82cd1b15e000019", :_original_id=>BSON::ObjectId('5174ff6ac82cd1b15e00001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('5174ff6ac82cd1b15e000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5174ff6ac82cd1b15e00001c'), "_original_type"=>"Locomotive::ContentEntry5174ff6ac82cd1b15e000019", "_original_id"=>BSON::ObjectId('5174ff6ac82cd1b15e00001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-22 11:14:19 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 78ms (Views: 73.1ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-22 11:14:19 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), :_keywords=>{"$in"=>["findable", "en:findable"]}}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.4ms) Started GET "/findable" for 127.0.0.1 at 2013-04-22 11:14:19 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"path"=>"findable"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), :depth=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.3ms) Started GET "/" for 127.0.0.1 at 2013-04-22 11:14:19 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.3ms) Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-04-22 11:14:19 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('5174ff6ac82cd1b15e000001'), :_keywords=>{"$in"=>["not", "found", "en:not", "en:found"]}}) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51750004c82cd1b200000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"BsHPQiszFf1XcXxCqzUq", "encrypted_password"=>"d1d23163e3a51392be6b07df59717d1ca5aaf401", "updated_at"=>2013-04-22 09:16:52 UTC, "created_at"=>2013-04-22 09:16:52 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51750004c82cd1b200000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 09:16:52 UTC, "updated_at"=>2013-04-22 09:16:52 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51750004c82cd1b200000003'), "account_id"=>BSON::ObjectId('51750004c82cd1b200000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51750004c82cd1b200000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51750004c82cd1b200000001'), :_id=>{"$ne"=>BSON::ObjectId('51750005c82cd1b200000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51750005c82cd1b200000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51750004c82cd1b200000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:16:53 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:16:53 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51750005c82cd1b200000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51750004c82cd1b200000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51750005c82cd1b200000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51750005c82cd1b200000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51750005c82cd1b200000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51750004c82cd1b200000001')}, "_id"=>BSON::ObjectId('51750005c82cd1b200000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51750005c82cd1b200000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51750004c82cd1b200000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51750004c82cd1b200000001'), :_id=>{"$ne"=>BSON::ObjectId('51750005c82cd1b200000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51750004c82cd1b200000001'), :_id=>{"$ne"=>BSON::ObjectId('51750005c82cd1b200000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51750004c82cd1b200000001'), :_id=>{"$ne"=>BSON::ObjectId('51750005c82cd1b200000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51750005c82cd1b200000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51750004c82cd1b200000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:16:53 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:16:53 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51750004c82cd1b200000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51750005c82cd1b200000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51750005c82cd1b200000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51750005c82cd1b200000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51750004c82cd1b200000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51750005c82cd1b200000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51750004c82cd1b200000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:16:53 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51750005c82cd1b200000008'), "created_at"=>2013-04-22 09:16:53 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51750005c82cd1b200000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:16:53 UTC, "created_at"=>2013-04-22 09:16:53 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51750005c82cd1b200000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51750005c82cd1b200000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 09:16:53 UTC, "created_at"=>2013-04-22 09:16:53 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51750005c82cd1b20000000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51750005c82cd1b200000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51750005c82cd1b200000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51750005c82cd1b200000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51750005c82cd1b20000000a'), "_type"=>"Locomotive::ContentEntry51750005c82cd1b200000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51750005c82cd1b200000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51750005c82cd1b200000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 09:16:53 UTC, "site_id"=>BSON::ObjectId('51750004c82cd1b200000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:16:53 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51750005c82cd1b200000007", :_original_id=>BSON::ObjectId('51750005c82cd1b20000000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51750004c82cd1b200000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51750005c82cd1b20000000b'), "_original_type"=>"Locomotive::ContentEntry51750005c82cd1b200000007", "_original_id"=>BSON::ObjectId('51750005c82cd1b20000000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51750005c82cd1b20000000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51750005c82cd1b200000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51750005c82cd1b200000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51750005c82cd1b200000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51750005c82cd1b20000000c'), "_type"=>"Locomotive::ContentEntry51750005c82cd1b200000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51750005c82cd1b200000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51750005c82cd1b200000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 09:16:53 UTC, "site_id"=>BSON::ObjectId('51750004c82cd1b200000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:16:53 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51750005c82cd1b200000007", :_original_id=>BSON::ObjectId('51750005c82cd1b20000000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51750004c82cd1b200000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51750005c82cd1b20000000d'), "_original_type"=>"Locomotive::ContentEntry51750005c82cd1b200000007", "_original_id"=>BSON::ObjectId('51750005c82cd1b20000000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:subdomain=>"acme"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"acme"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["acme.example.com"], "_id"=>BSON::ObjectId('51750005c82cd1b200000010'), "name"=>"Acme Website", "subdomain"=>"acme", "created_at"=>2013-04-22 09:16:52 UTC, "updated_at"=>2013-04-22 09:16:53 UTC}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51750005c82cd1b200000010'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51750005c82cd1b200000010'), :_id=>{"$ne"=>BSON::ObjectId('51750005c82cd1b200000011')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51750005c82cd1b200000011'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51750005c82cd1b200000010'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:16:53 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:16:53 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51750005c82cd1b200000010'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51750005c82cd1b200000011')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51750005c82cd1b200000011')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51750005c82cd1b200000011')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51750005c82cd1b200000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51750005c82cd1b200000010')}, "_id"=>BSON::ObjectId('51750005c82cd1b200000012'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51750005c82cd1b200000011'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51750005c82cd1b200000010'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51750005c82cd1b200000010'), :_id=>{"$ne"=>BSON::ObjectId('51750005c82cd1b200000013')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51750005c82cd1b200000010'), :_id=>{"$ne"=>BSON::ObjectId('51750005c82cd1b200000013')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51750005c82cd1b200000010'), :_id=>{"$ne"=>BSON::ObjectId('51750005c82cd1b200000013')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51750005c82cd1b200000013'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51750005c82cd1b200000010'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:16:53 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:16:53 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51750005c82cd1b200000010'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51750005c82cd1b200000013')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51750005c82cd1b200000013')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51750005c82cd1b200000013')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51750005c82cd1b200000010'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].remove({}) MONGODB locomotive_search_test['locomotive_sites'].remove({}) MONGODB locomotive_search_test['locomotive_pages'].remove({}) MONGODB locomotive_search_test['active_search_mongoid_models'].remove({}) MONGODB locomotive_search_test['locomotive_content_types'].remove({}) MONGODB locomotive_search_test['locomotive_content_entries'].remove({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('5175008ac82cd1b233000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"QtTZeyTosSqWxnvEEADQ", "encrypted_password"=>"30ea4adc8355f4e2be3d49c19c350b8be9b3eeae", "updated_at"=>2013-04-22 09:19:06 UTC, "created_at"=>2013-04-22 09:19:06 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('5175008ac82cd1b233000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 09:19:06 UTC, "updated_at"=>2013-04-22 09:19:06 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5175008ac82cd1b233000003'), "account_id"=>BSON::ObjectId('5175008ac82cd1b233000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5175008ac82cd1b233000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5175008ac82cd1b233000001'), :_id=>{"$ne"=>BSON::ObjectId('5175008ac82cd1b233000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5175008ac82cd1b233000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5175008ac82cd1b233000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:19:06 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:19:06 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5175008ac82cd1b233000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175008ac82cd1b233000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5175008ac82cd1b233000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5175008ac82cd1b233000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5175008ac82cd1b233000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5175008ac82cd1b233000001')}, "_id"=>BSON::ObjectId('5175008ac82cd1b233000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5175008ac82cd1b233000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5175008ac82cd1b233000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5175008ac82cd1b233000001'), :_id=>{"$ne"=>BSON::ObjectId('5175008ac82cd1b233000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5175008ac82cd1b233000001'), :_id=>{"$ne"=>BSON::ObjectId('5175008ac82cd1b233000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5175008ac82cd1b233000001'), :_id=>{"$ne"=>BSON::ObjectId('5175008ac82cd1b233000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5175008ac82cd1b233000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5175008ac82cd1b233000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:19:06 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:19:06 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175008ac82cd1b233000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5175008ac82cd1b233000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5175008ac82cd1b233000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5175008ac82cd1b233000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5175008ac82cd1b233000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5175008ac82cd1b233000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5175008ac82cd1b233000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:19:07 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5175008ac82cd1b233000008'), "created_at"=>2013-04-22 09:19:07 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5175008ac82cd1b233000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:19:07 UTC, "created_at"=>2013-04-22 09:19:07 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('5175008ac82cd1b233000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('5175008bc82cd1b233000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 09:19:07 UTC, "created_at"=>2013-04-22 09:19:07 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5175008bc82cd1b23300000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5175008ac82cd1b233000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('5175008ac82cd1b233000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5175008ac82cd1b233000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5175008bc82cd1b23300000a'), "_type"=>"Locomotive::ContentEntry5175008ac82cd1b233000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5175008ac82cd1b233000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5175008ac82cd1b233000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 09:19:07 UTC, "site_id"=>BSON::ObjectId('5175008ac82cd1b233000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:19:07 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5175008ac82cd1b233000007", :_original_id=>BSON::ObjectId('5175008bc82cd1b23300000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('5175008ac82cd1b233000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5175008bc82cd1b23300000b'), "_original_type"=>"Locomotive::ContentEntry5175008ac82cd1b233000007", "_original_id"=>BSON::ObjectId('5175008bc82cd1b23300000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5175008bc82cd1b23300000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry5175008ac82cd1b233000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('5175008ac82cd1b233000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5175008ac82cd1b233000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('5175008bc82cd1b23300000c'), "_type"=>"Locomotive::ContentEntry5175008ac82cd1b233000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5175008ac82cd1b233000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5175008ac82cd1b233000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 09:19:07 UTC, "site_id"=>BSON::ObjectId('5175008ac82cd1b233000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:19:07 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5175008ac82cd1b233000007", :_original_id=>BSON::ObjectId('5175008bc82cd1b23300000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('5175008ac82cd1b233000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5175008bc82cd1b23300000d'), "_original_type"=>"Locomotive::ContentEntry5175008ac82cd1b233000007", "_original_id"=>BSON::ObjectId('5175008bc82cd1b23300000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('5175008ac82cd1b233000001'), :parent_id=>BSON::ObjectId('5175008ac82cd1b233000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5175008ac82cd1b233000004'), :site_id=>BSON::ObjectId('5175008ac82cd1b233000001'), :_id=>{"$ne"=>BSON::ObjectId('5175008bc82cd1b23300000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5175008ac82cd1b233000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5175008ac82cd1b233000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5175008bc82cd1b23300000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('5175008ac82cd1b233000001'), "parent_id"=>BSON::ObjectId('5175008ac82cd1b233000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:19:07 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-22 09:19:07 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175008ac82cd1b233000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5175008bc82cd1b23300000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5175008bc82cd1b23300000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5175008bc82cd1b23300000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5175008bc82cd1b23300000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('5175008ac82cd1b233000001')}, "_id"=>BSON::ObjectId('5175008bc82cd1b23300000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5175008bc82cd1b23300000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('5175008ac82cd1b233000001'), :parent_id=>BSON::ObjectId('5175008ac82cd1b233000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5175008ac82cd1b233000004'), :site_id=>BSON::ObjectId('5175008ac82cd1b233000001'), :_id=>{"$ne"=>BSON::ObjectId('5175008bc82cd1b233000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5175008ac82cd1b233000004'), :site_id=>BSON::ObjectId('5175008ac82cd1b233000001'), :_id=>{"$ne"=>BSON::ObjectId('5175008bc82cd1b233000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('5175008ac82cd1b233000004'), :site_id=>BSON::ObjectId('5175008ac82cd1b233000001'), :_id=>{"$ne"=>BSON::ObjectId('5175008bc82cd1b233000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5175008ac82cd1b233000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5175008ac82cd1b233000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5175008bc82cd1b233000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('5175008ac82cd1b233000001'), "parent_id"=>BSON::ObjectId('5175008ac82cd1b233000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:19:07 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-22 09:19:07 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175008ac82cd1b233000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5175008bc82cd1b233000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5175008bc82cd1b233000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5175008bc82cd1b233000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5175008bc82cd1b233000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('5175008ac82cd1b233000001')}, "_id"=>BSON::ObjectId('5175008bc82cd1b233000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5175008bc82cd1b233000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175008ac82cd1b233000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('5175008ac82cd1b233000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('5175008ac82cd1b233000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:19:07 UTC}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175008ac82cd1b233000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5175008ac82cd1b233000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5175008ac82cd1b233000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('5175008ac82cd1b233000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('5175008ac82cd1b233000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('5175008bc82cd1b233000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-22 09:19:06 UTC, "updated_at"=>2013-04-22 09:19:07 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5175008bc82cd1b233000013'), "account_id"=>BSON::ObjectId('5175008ac82cd1b233000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5175008bc82cd1b233000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5175008bc82cd1b233000012'), :_id=>{"$ne"=>BSON::ObjectId('5175008bc82cd1b233000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5175008bc82cd1b233000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5175008bc82cd1b233000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:19:07 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:19:07 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175008bc82cd1b233000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5175008bc82cd1b233000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5175008bc82cd1b233000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5175008bc82cd1b233000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5175008bc82cd1b233000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5175008bc82cd1b233000012')}, "_id"=>BSON::ObjectId('5175008bc82cd1b233000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5175008bc82cd1b233000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5175008bc82cd1b233000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5175008bc82cd1b233000012'), :_id=>{"$ne"=>BSON::ObjectId('5175008bc82cd1b233000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5175008bc82cd1b233000012'), :_id=>{"$ne"=>BSON::ObjectId('5175008bc82cd1b233000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5175008bc82cd1b233000012'), :_id=>{"$ne"=>BSON::ObjectId('5175008bc82cd1b233000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5175008bc82cd1b233000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5175008bc82cd1b233000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:19:07 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:19:07 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175008bc82cd1b233000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5175008bc82cd1b233000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5175008bc82cd1b233000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5175008bc82cd1b233000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('5175008bc82cd1b233000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5175008bc82cd1b233000012'), :_id=>{"$ne"=>BSON::ObjectId('5175008bc82cd1b233000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5175008bc82cd1b233000012'), :_id=>{"$ne"=>BSON::ObjectId('5175008bc82cd1b233000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5175008bc82cd1b233000012'), :_id=>{"$ne"=>BSON::ObjectId('5175008bc82cd1b233000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5175008bc82cd1b233000017'), "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"=>BSON::ObjectId('5175008bc82cd1b233000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:19:07 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-22 09:19:07 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175008bc82cd1b233000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5175008bc82cd1b233000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5175008bc82cd1b233000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5175008bc82cd1b233000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5175008bc82cd1b233000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('5175008bc82cd1b233000012')}, "_id"=>BSON::ObjectId('5175008bc82cd1b233000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5175008bc82cd1b233000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5175008bc82cd1b233000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5175008bc82cd1b233000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5175008bc82cd1b233000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:19:07 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5175008bc82cd1b23300001a'), "created_at"=>2013-04-22 09:19:07 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5175008bc82cd1b23300001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:19:07 UTC, "created_at"=>2013-04-22 09:19:07 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5175008bc82cd1b23300001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5175008bc82cd1b233000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('5175008bc82cd1b233000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5175008bc82cd1b233000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5175008bc82cd1b23300001b'), "_type"=>"Locomotive::ContentEntry5175008bc82cd1b233000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5175008bc82cd1b233000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5175008bc82cd1b233000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-22 09:19:07 UTC, "site_id"=>BSON::ObjectId('5175008bc82cd1b233000012'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:19:07 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5175008bc82cd1b233000019", :_original_id=>BSON::ObjectId('5175008bc82cd1b23300001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('5175008bc82cd1b233000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5175008bc82cd1b23300001c'), "_original_type"=>"Locomotive::ContentEntry5175008bc82cd1b233000019", "_original_id"=>BSON::ObjectId('5175008bc82cd1b23300001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-22 11:19:07 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175008ac82cd1b233000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 26ms (Views: 21.3ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-22 11:19:07 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175008ac82cd1b233000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('5175008ac82cd1b233000001'), :_keywords=>{"$in"=>["findable", "en:findable"]}}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.3ms) Started GET "/findable" for 127.0.0.1 at 2013-04-22 11:19:07 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"path"=>"findable"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175008ac82cd1b233000001'), :depth=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms) Started GET "/" for 127.0.0.1 at 2013-04-22 11:19:07 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175008ac82cd1b233000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.2ms) Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-04-22 11:19:07 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175008ac82cd1b233000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('5175008ac82cd1b233000001'), :_keywords=>{"$in"=>["not", "found", "en:not", "en:found"]}}) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.2ms) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('517500adc82cd1b24e000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"w2jY8RyrQYp8oKN5PxTA", "encrypted_password"=>"f3085f6f2362ab00004d384246edf287a1841b92", "updated_at"=>2013-04-22 09:19:41 UTC, "created_at"=>2013-04-22 09:19:41 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('517500adc82cd1b24e000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 09:19:41 UTC, "updated_at"=>2013-04-22 09:19:41 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('517500adc82cd1b24e000003'), "account_id"=>BSON::ObjectId('517500adc82cd1b24e000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('517500adc82cd1b24e000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517500adc82cd1b24e000001'), :_id=>{"$ne"=>BSON::ObjectId('517500aec82cd1b24e000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517500aec82cd1b24e000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('517500adc82cd1b24e000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:19:42 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:19:42 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517500aec82cd1b24e000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500adc82cd1b24e000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517500aec82cd1b24e000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517500aec82cd1b24e000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517500aec82cd1b24e000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('517500adc82cd1b24e000001')}, "_id"=>BSON::ObjectId('517500aec82cd1b24e000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517500aec82cd1b24e000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('517500adc82cd1b24e000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517500adc82cd1b24e000001'), :_id=>{"$ne"=>BSON::ObjectId('517500aec82cd1b24e000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517500adc82cd1b24e000001'), :_id=>{"$ne"=>BSON::ObjectId('517500aec82cd1b24e000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517500adc82cd1b24e000001'), :_id=>{"$ne"=>BSON::ObjectId('517500aec82cd1b24e000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517500aec82cd1b24e000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('517500adc82cd1b24e000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:19:42 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:19:42 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500adc82cd1b24e000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517500aec82cd1b24e000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517500aec82cd1b24e000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517500aec82cd1b24e000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('517500adc82cd1b24e000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('517500aec82cd1b24e000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('517500adc82cd1b24e000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:19:42 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('517500aec82cd1b24e000008'), "created_at"=>2013-04-22 09:19:42 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('517500aec82cd1b24e000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:19:42 UTC, "created_at"=>2013-04-22 09:19:42 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('517500aec82cd1b24e000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('517500aec82cd1b24e000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 09:19:42 UTC, "created_at"=>2013-04-22 09:19:42 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517500aec82cd1b24e00000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry517500aec82cd1b24e000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('517500aec82cd1b24e000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517500aec82cd1b24e000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('517500aec82cd1b24e00000a'), "_type"=>"Locomotive::ContentEntry517500aec82cd1b24e000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry517500aec82cd1b24e000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517500aec82cd1b24e000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 09:19:42 UTC, "site_id"=>BSON::ObjectId('517500adc82cd1b24e000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:19:42 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517500aec82cd1b24e000007", :_original_id=>BSON::ObjectId('517500aec82cd1b24e00000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('517500adc82cd1b24e000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517500aec82cd1b24e00000b'), "_original_type"=>"Locomotive::ContentEntry517500aec82cd1b24e000007", "_original_id"=>BSON::ObjectId('517500aec82cd1b24e00000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517500aec82cd1b24e00000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry517500aec82cd1b24e000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('517500aec82cd1b24e000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517500aec82cd1b24e000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('517500aec82cd1b24e00000c'), "_type"=>"Locomotive::ContentEntry517500aec82cd1b24e000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry517500aec82cd1b24e000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517500aec82cd1b24e000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 09:19:42 UTC, "site_id"=>BSON::ObjectId('517500adc82cd1b24e000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:19:42 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517500aec82cd1b24e000007", :_original_id=>BSON::ObjectId('517500aec82cd1b24e00000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('517500adc82cd1b24e000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517500aec82cd1b24e00000d'), "_original_type"=>"Locomotive::ContentEntry517500aec82cd1b24e000007", "_original_id"=>BSON::ObjectId('517500aec82cd1b24e00000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('517500adc82cd1b24e000001'), :parent_id=>BSON::ObjectId('517500aec82cd1b24e000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517500aec82cd1b24e000004'), :site_id=>BSON::ObjectId('517500adc82cd1b24e000001'), :_id=>{"$ne"=>BSON::ObjectId('517500aec82cd1b24e00000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517500aec82cd1b24e000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517500aec82cd1b24e000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517500aec82cd1b24e00000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('517500adc82cd1b24e000001'), "parent_id"=>BSON::ObjectId('517500aec82cd1b24e000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:19:42 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-22 09:19:42 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500adc82cd1b24e000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517500aec82cd1b24e00000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517500aec82cd1b24e00000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517500aec82cd1b24e00000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517500aec82cd1b24e00000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('517500adc82cd1b24e000001')}, "_id"=>BSON::ObjectId('517500aec82cd1b24e00000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517500aec82cd1b24e00000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('517500adc82cd1b24e000001'), :parent_id=>BSON::ObjectId('517500aec82cd1b24e000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517500aec82cd1b24e000004'), :site_id=>BSON::ObjectId('517500adc82cd1b24e000001'), :_id=>{"$ne"=>BSON::ObjectId('517500aec82cd1b24e000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517500aec82cd1b24e000004'), :site_id=>BSON::ObjectId('517500adc82cd1b24e000001'), :_id=>{"$ne"=>BSON::ObjectId('517500aec82cd1b24e000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('517500aec82cd1b24e000004'), :site_id=>BSON::ObjectId('517500adc82cd1b24e000001'), :_id=>{"$ne"=>BSON::ObjectId('517500aec82cd1b24e000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517500aec82cd1b24e000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517500aec82cd1b24e000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517500aec82cd1b24e000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('517500adc82cd1b24e000001'), "parent_id"=>BSON::ObjectId('517500aec82cd1b24e000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:19:42 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-22 09:19:42 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500adc82cd1b24e000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517500aec82cd1b24e000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517500aec82cd1b24e000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517500aec82cd1b24e000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517500aec82cd1b24e000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('517500adc82cd1b24e000001')}, "_id"=>BSON::ObjectId('517500aec82cd1b24e000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517500aec82cd1b24e000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500adc82cd1b24e000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('517500adc82cd1b24e000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('517500aec82cd1b24e000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500adc82cd1b24e000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517500aec82cd1b24e000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517500aec82cd1b24e000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('517500aec82cd1b24e000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('517500adc82cd1b24e000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('517500aec82cd1b24e000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-22 09:19:41 UTC, "updated_at"=>2013-04-22 09:19:42 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('517500aec82cd1b24e000013'), "account_id"=>BSON::ObjectId('517500adc82cd1b24e000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('517500aec82cd1b24e000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517500aec82cd1b24e000012'), :_id=>{"$ne"=>BSON::ObjectId('517500aec82cd1b24e000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517500aec82cd1b24e000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('517500aec82cd1b24e000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:19:42 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:19:42 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500aec82cd1b24e000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517500aec82cd1b24e000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517500aec82cd1b24e000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517500aec82cd1b24e000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517500aec82cd1b24e000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('517500aec82cd1b24e000012')}, "_id"=>BSON::ObjectId('517500aec82cd1b24e000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517500aec82cd1b24e000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('517500aec82cd1b24e000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517500aec82cd1b24e000012'), :_id=>{"$ne"=>BSON::ObjectId('517500aec82cd1b24e000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517500aec82cd1b24e000012'), :_id=>{"$ne"=>BSON::ObjectId('517500aec82cd1b24e000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517500aec82cd1b24e000012'), :_id=>{"$ne"=>BSON::ObjectId('517500aec82cd1b24e000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517500aec82cd1b24e000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('517500aec82cd1b24e000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:19:42 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:19:42 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500aec82cd1b24e000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517500aec82cd1b24e000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517500aec82cd1b24e000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517500aec82cd1b24e000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('517500aec82cd1b24e000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517500aec82cd1b24e000012'), :_id=>{"$ne"=>BSON::ObjectId('517500aec82cd1b24e000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517500aec82cd1b24e000012'), :_id=>{"$ne"=>BSON::ObjectId('517500aec82cd1b24e000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517500aec82cd1b24e000012'), :_id=>{"$ne"=>BSON::ObjectId('517500aec82cd1b24e000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517500aec82cd1b24e000017'), "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"=>BSON::ObjectId('517500aec82cd1b24e000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:19:42 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-22 09:19:42 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500aec82cd1b24e000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517500aec82cd1b24e000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517500aec82cd1b24e000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517500aec82cd1b24e000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517500aec82cd1b24e000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('517500aec82cd1b24e000012')}, "_id"=>BSON::ObjectId('517500aec82cd1b24e000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517500aec82cd1b24e000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('517500aec82cd1b24e000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('517500aec82cd1b24e000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('517500aec82cd1b24e000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:19:42 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('517500aec82cd1b24e00001a'), "created_at"=>2013-04-22 09:19:42 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('517500aec82cd1b24e00001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:19:42 UTC, "created_at"=>2013-04-22 09:19:42 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517500aec82cd1b24e00001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry517500aec82cd1b24e000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('517500aec82cd1b24e000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517500aec82cd1b24e000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('517500aec82cd1b24e00001b'), "_type"=>"Locomotive::ContentEntry517500aec82cd1b24e000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry517500aec82cd1b24e000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517500aec82cd1b24e000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-22 09:19:42 UTC, "site_id"=>BSON::ObjectId('517500aec82cd1b24e000012'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:19:42 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517500aec82cd1b24e000019", :_original_id=>BSON::ObjectId('517500aec82cd1b24e00001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('517500aec82cd1b24e000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517500aec82cd1b24e00001c'), "_original_type"=>"Locomotive::ContentEntry517500aec82cd1b24e000019", "_original_id"=>BSON::ObjectId('517500aec82cd1b24e00001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-22 11:19:42 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500adc82cd1b24e000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 25ms (Views: 20.5ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-22 11:19:43 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500adc82cd1b24e000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('517500adc82cd1b24e000001'), :_keywords=>{"$in"=>["findable", "en:findable"]}}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.3ms) Started GET "/findable" for 127.0.0.1 at 2013-04-22 11:19:43 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"path"=>"findable"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500adc82cd1b24e000001'), :depth=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.4ms) Started GET "/" for 127.0.0.1 at 2013-04-22 11:19:43 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500adc82cd1b24e000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 2ms (Views: 0.2ms) Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-04-22 11:19:43 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500adc82cd1b24e000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('517500adc82cd1b24e000001'), :_keywords=>{"$in"=>["not", "found", "en:not", "en:found"]}}) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.2ms) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('517500c4c82cd1b26b000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"p4KEvwY6QSZPhRjfEdpX", "encrypted_password"=>"f45e0a92042ed3c875247f246505f29d21d2f41a", "updated_at"=>2013-04-22 09:20:04 UTC, "created_at"=>2013-04-22 09:20:04 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('517500c4c82cd1b26b000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 09:20:04 UTC, "updated_at"=>2013-04-22 09:20:04 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('517500c4c82cd1b26b000003'), "account_id"=>BSON::ObjectId('517500c4c82cd1b26b000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('517500c4c82cd1b26b000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517500c4c82cd1b26b000001'), :_id=>{"$ne"=>BSON::ObjectId('517500c5c82cd1b26b000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517500c5c82cd1b26b000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('517500c4c82cd1b26b000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:20:05 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:20:05 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517500c5c82cd1b26b000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500c4c82cd1b26b000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517500c5c82cd1b26b000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517500c5c82cd1b26b000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517500c5c82cd1b26b000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('517500c4c82cd1b26b000001')}, "_id"=>BSON::ObjectId('517500c5c82cd1b26b000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517500c5c82cd1b26b000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('517500c4c82cd1b26b000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517500c4c82cd1b26b000001'), :_id=>{"$ne"=>BSON::ObjectId('517500c5c82cd1b26b000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517500c4c82cd1b26b000001'), :_id=>{"$ne"=>BSON::ObjectId('517500c5c82cd1b26b000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517500c4c82cd1b26b000001'), :_id=>{"$ne"=>BSON::ObjectId('517500c5c82cd1b26b000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517500c5c82cd1b26b000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('517500c4c82cd1b26b000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:20:05 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:20:05 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500c4c82cd1b26b000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517500c5c82cd1b26b000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517500c5c82cd1b26b000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517500c5c82cd1b26b000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('517500c4c82cd1b26b000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('517500c5c82cd1b26b000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('517500c4c82cd1b26b000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:20:05 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('517500c5c82cd1b26b000008'), "created_at"=>2013-04-22 09:20:05 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('517500c5c82cd1b26b000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:20:05 UTC, "created_at"=>2013-04-22 09:20:05 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('517500c5c82cd1b26b000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('517500c5c82cd1b26b000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 09:20:05 UTC, "created_at"=>2013-04-22 09:20:05 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517500c5c82cd1b26b00000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry517500c5c82cd1b26b000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('517500c5c82cd1b26b000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517500c5c82cd1b26b000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('517500c5c82cd1b26b00000a'), "_type"=>"Locomotive::ContentEntry517500c5c82cd1b26b000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry517500c5c82cd1b26b000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517500c5c82cd1b26b000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 09:20:05 UTC, "site_id"=>BSON::ObjectId('517500c4c82cd1b26b000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:20:05 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517500c5c82cd1b26b000007", :_original_id=>BSON::ObjectId('517500c5c82cd1b26b00000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('517500c4c82cd1b26b000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517500c5c82cd1b26b00000b'), "_original_type"=>"Locomotive::ContentEntry517500c5c82cd1b26b000007", "_original_id"=>BSON::ObjectId('517500c5c82cd1b26b00000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517500c5c82cd1b26b00000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry517500c5c82cd1b26b000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('517500c5c82cd1b26b000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517500c5c82cd1b26b000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('517500c5c82cd1b26b00000c'), "_type"=>"Locomotive::ContentEntry517500c5c82cd1b26b000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry517500c5c82cd1b26b000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517500c5c82cd1b26b000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 09:20:05 UTC, "site_id"=>BSON::ObjectId('517500c4c82cd1b26b000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:20:05 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517500c5c82cd1b26b000007", :_original_id=>BSON::ObjectId('517500c5c82cd1b26b00000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('517500c4c82cd1b26b000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517500c5c82cd1b26b00000d'), "_original_type"=>"Locomotive::ContentEntry517500c5c82cd1b26b000007", "_original_id"=>BSON::ObjectId('517500c5c82cd1b26b00000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('517500c4c82cd1b26b000001'), :parent_id=>BSON::ObjectId('517500c5c82cd1b26b000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517500c5c82cd1b26b000004'), :site_id=>BSON::ObjectId('517500c4c82cd1b26b000001'), :_id=>{"$ne"=>BSON::ObjectId('517500c5c82cd1b26b00000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517500c5c82cd1b26b000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517500c5c82cd1b26b000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517500c5c82cd1b26b00000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('517500c4c82cd1b26b000001'), "parent_id"=>BSON::ObjectId('517500c5c82cd1b26b000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:20:05 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-22 09:20:05 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500c4c82cd1b26b000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517500c5c82cd1b26b00000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517500c5c82cd1b26b00000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517500c5c82cd1b26b00000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517500c5c82cd1b26b00000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('517500c4c82cd1b26b000001')}, "_id"=>BSON::ObjectId('517500c5c82cd1b26b00000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517500c5c82cd1b26b00000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('517500c4c82cd1b26b000001'), :parent_id=>BSON::ObjectId('517500c5c82cd1b26b000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517500c5c82cd1b26b000004'), :site_id=>BSON::ObjectId('517500c4c82cd1b26b000001'), :_id=>{"$ne"=>BSON::ObjectId('517500c5c82cd1b26b000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517500c5c82cd1b26b000004'), :site_id=>BSON::ObjectId('517500c4c82cd1b26b000001'), :_id=>{"$ne"=>BSON::ObjectId('517500c5c82cd1b26b000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('517500c5c82cd1b26b000004'), :site_id=>BSON::ObjectId('517500c4c82cd1b26b000001'), :_id=>{"$ne"=>BSON::ObjectId('517500c5c82cd1b26b000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517500c5c82cd1b26b000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517500c5c82cd1b26b000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517500c5c82cd1b26b000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('517500c4c82cd1b26b000001'), "parent_id"=>BSON::ObjectId('517500c5c82cd1b26b000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:20:05 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-22 09:20:05 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500c4c82cd1b26b000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517500c5c82cd1b26b000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517500c5c82cd1b26b000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517500c5c82cd1b26b000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517500c5c82cd1b26b000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('517500c4c82cd1b26b000001')}, "_id"=>BSON::ObjectId('517500c5c82cd1b26b000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517500c5c82cd1b26b000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500c4c82cd1b26b000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('517500c4c82cd1b26b000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('517500c5c82cd1b26b000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500c4c82cd1b26b000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517500c5c82cd1b26b000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517500c5c82cd1b26b000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('517500c5c82cd1b26b000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('517500c4c82cd1b26b000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('517500c5c82cd1b26b000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-22 09:20:04 UTC, "updated_at"=>2013-04-22 09:20:05 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('517500c5c82cd1b26b000013'), "account_id"=>BSON::ObjectId('517500c4c82cd1b26b000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('517500c5c82cd1b26b000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517500c5c82cd1b26b000012'), :_id=>{"$ne"=>BSON::ObjectId('517500c5c82cd1b26b000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517500c5c82cd1b26b000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('517500c5c82cd1b26b000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:20:05 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:20:05 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500c5c82cd1b26b000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517500c5c82cd1b26b000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517500c5c82cd1b26b000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517500c5c82cd1b26b000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517500c5c82cd1b26b000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('517500c5c82cd1b26b000012')}, "_id"=>BSON::ObjectId('517500c5c82cd1b26b000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517500c5c82cd1b26b000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('517500c5c82cd1b26b000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517500c5c82cd1b26b000012'), :_id=>{"$ne"=>BSON::ObjectId('517500c5c82cd1b26b000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517500c5c82cd1b26b000012'), :_id=>{"$ne"=>BSON::ObjectId('517500c5c82cd1b26b000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517500c5c82cd1b26b000012'), :_id=>{"$ne"=>BSON::ObjectId('517500c5c82cd1b26b000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517500c5c82cd1b26b000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('517500c5c82cd1b26b000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:20:05 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:20:05 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500c5c82cd1b26b000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517500c5c82cd1b26b000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517500c5c82cd1b26b000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517500c5c82cd1b26b000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('517500c5c82cd1b26b000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517500c5c82cd1b26b000012'), :_id=>{"$ne"=>BSON::ObjectId('517500c5c82cd1b26b000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517500c5c82cd1b26b000012'), :_id=>{"$ne"=>BSON::ObjectId('517500c5c82cd1b26b000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517500c5c82cd1b26b000012'), :_id=>{"$ne"=>BSON::ObjectId('517500c5c82cd1b26b000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517500c5c82cd1b26b000017'), "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"=>BSON::ObjectId('517500c5c82cd1b26b000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:20:05 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-22 09:20:05 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500c5c82cd1b26b000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517500c5c82cd1b26b000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517500c5c82cd1b26b000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517500c5c82cd1b26b000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517500c5c82cd1b26b000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('517500c5c82cd1b26b000012')}, "_id"=>BSON::ObjectId('517500c5c82cd1b26b000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517500c5c82cd1b26b000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('517500c5c82cd1b26b000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('517500c5c82cd1b26b000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('517500c5c82cd1b26b000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:20:05 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('517500c5c82cd1b26b00001a'), "created_at"=>2013-04-22 09:20:05 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('517500c5c82cd1b26b00001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:20:05 UTC, "created_at"=>2013-04-22 09:20:05 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517500c5c82cd1b26b00001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry517500c5c82cd1b26b000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('517500c5c82cd1b26b000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517500c5c82cd1b26b000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('517500c5c82cd1b26b00001b'), "_type"=>"Locomotive::ContentEntry517500c5c82cd1b26b000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry517500c5c82cd1b26b000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517500c5c82cd1b26b000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-22 09:20:05 UTC, "site_id"=>BSON::ObjectId('517500c5c82cd1b26b000012'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:20:05 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517500c5c82cd1b26b000019", :_original_id=>BSON::ObjectId('517500c5c82cd1b26b00001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('517500c5c82cd1b26b000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517500c5c82cd1b26b00001c'), "_original_type"=>"Locomotive::ContentEntry517500c5c82cd1b26b000019", "_original_id"=>BSON::ObjectId('517500c5c82cd1b26b00001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-22 11:20:05 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500c4c82cd1b26b000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 25ms (Views: 19.4ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-22 11:20:05 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500c4c82cd1b26b000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('517500c4c82cd1b26b000001'), :_keywords=>{"$in"=>["findable", "en:findable"]}}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.4ms) Started GET "/findable" for 127.0.0.1 at 2013-04-22 11:20:05 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"path"=>"findable"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500c4c82cd1b26b000001'), :depth=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.4ms) Started GET "/" for 127.0.0.1 at 2013-04-22 11:20:05 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500c4c82cd1b26b000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.3ms) Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-04-22 11:20:05 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500c4c82cd1b26b000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('517500c4c82cd1b26b000001'), :_keywords=>{"$in"=>["not", "found", "en:not", "en:found"]}}) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('517500e9c82cd1b285000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"DbKqSBjzq5ZArHQPuqPs", "encrypted_password"=>"24ab1cd4af96e0173dc368a0a9bfe5d1a514335b", "updated_at"=>2013-04-22 09:20:41 UTC, "created_at"=>2013-04-22 09:20:41 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('517500e9c82cd1b285000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 09:20:41 UTC, "updated_at"=>2013-04-22 09:20:41 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('517500e9c82cd1b285000003'), "account_id"=>BSON::ObjectId('517500e9c82cd1b285000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('517500eac82cd1b287000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"5kaytE379pwqysGkVNDf", "encrypted_password"=>"e4804288919498c21bb0f3ec091ecd0118e98ff3", "updated_at"=>2013-04-22 09:20:42 UTC, "created_at"=>2013-04-22 09:20:42 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('517500eac82cd1b287000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 09:20:41 UTC, "updated_at"=>2013-04-22 09:20:42 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('517500eac82cd1b287000003'), "account_id"=>BSON::ObjectId('517500eac82cd1b287000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('517500e9c82cd1b285000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517500e9c82cd1b285000001'), :_id=>{"$ne"=>BSON::ObjectId('517500eac82cd1b285000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517500eac82cd1b285000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('517500e9c82cd1b285000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:20:42 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:20:42 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517500eac82cd1b285000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500e9c82cd1b285000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517500eac82cd1b285000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517500eac82cd1b285000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517500eac82cd1b285000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('517500e9c82cd1b285000001')}, "_id"=>BSON::ObjectId('517500eac82cd1b285000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517500eac82cd1b285000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('517500e9c82cd1b285000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517500e9c82cd1b285000001'), :_id=>{"$ne"=>BSON::ObjectId('517500eac82cd1b285000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517500e9c82cd1b285000001'), :_id=>{"$ne"=>BSON::ObjectId('517500eac82cd1b285000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517500e9c82cd1b285000001'), :_id=>{"$ne"=>BSON::ObjectId('517500eac82cd1b285000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517500eac82cd1b285000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('517500e9c82cd1b285000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:20:42 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:20:42 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500e9c82cd1b285000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517500eac82cd1b285000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517500eac82cd1b285000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517500eac82cd1b285000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('517500e9c82cd1b285000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('517500eac82cd1b285000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('517500e9c82cd1b285000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:20:42 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('517500eac82cd1b285000008'), "created_at"=>2013-04-22 09:20:42 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('517500eac82cd1b285000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:20:42 UTC, "created_at"=>2013-04-22 09:20:42 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('517500eac82cd1b285000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('517500eac82cd1b285000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 09:20:42 UTC, "created_at"=>2013-04-22 09:20:42 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517500eac82cd1b28500000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry517500eac82cd1b285000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('517500eac82cd1b285000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517500eac82cd1b285000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('517500eac82cd1b28500000a'), "_type"=>"Locomotive::ContentEntry517500eac82cd1b285000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry517500eac82cd1b285000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517500eac82cd1b285000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 09:20:42 UTC, "site_id"=>BSON::ObjectId('517500e9c82cd1b285000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:20:42 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517500eac82cd1b285000007", :_original_id=>BSON::ObjectId('517500eac82cd1b28500000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('517500e9c82cd1b285000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517500eac82cd1b28500000b'), "_original_type"=>"Locomotive::ContentEntry517500eac82cd1b285000007", "_original_id"=>BSON::ObjectId('517500eac82cd1b28500000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517500eac82cd1b28500000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry517500eac82cd1b285000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('517500eac82cd1b285000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517500eac82cd1b285000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('517500eac82cd1b28500000c'), "_type"=>"Locomotive::ContentEntry517500eac82cd1b285000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry517500eac82cd1b285000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517500eac82cd1b285000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 09:20:42 UTC, "site_id"=>BSON::ObjectId('517500e9c82cd1b285000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:20:42 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517500eac82cd1b285000007", :_original_id=>BSON::ObjectId('517500eac82cd1b28500000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('517500e9c82cd1b285000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517500eac82cd1b28500000d'), "_original_type"=>"Locomotive::ContentEntry517500eac82cd1b285000007", "_original_id"=>BSON::ObjectId('517500eac82cd1b28500000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('517500e9c82cd1b285000001'), :parent_id=>BSON::ObjectId('517500eac82cd1b285000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517500eac82cd1b285000004'), :site_id=>BSON::ObjectId('517500e9c82cd1b285000001'), :_id=>{"$ne"=>BSON::ObjectId('517500eac82cd1b28500000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517500eac82cd1b285000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517500eac82cd1b285000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517500eac82cd1b28500000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('517500e9c82cd1b285000001'), "parent_id"=>BSON::ObjectId('517500eac82cd1b285000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:20:42 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-22 09:20:42 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500e9c82cd1b285000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517500eac82cd1b28500000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517500eac82cd1b28500000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517500eac82cd1b28500000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517500eac82cd1b28500000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('517500e9c82cd1b285000001')}, "_id"=>BSON::ObjectId('517500eac82cd1b28500000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517500eac82cd1b28500000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('517500e9c82cd1b285000001'), :parent_id=>BSON::ObjectId('517500eac82cd1b285000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517500eac82cd1b285000004'), :site_id=>BSON::ObjectId('517500e9c82cd1b285000001'), :_id=>{"$ne"=>BSON::ObjectId('517500eac82cd1b285000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517500eac82cd1b285000004'), :site_id=>BSON::ObjectId('517500e9c82cd1b285000001'), :_id=>{"$ne"=>BSON::ObjectId('517500eac82cd1b285000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('517500eac82cd1b285000004'), :site_id=>BSON::ObjectId('517500e9c82cd1b285000001'), :_id=>{"$ne"=>BSON::ObjectId('517500eac82cd1b285000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517500eac82cd1b285000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517500eac82cd1b285000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517500eac82cd1b285000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('517500e9c82cd1b285000001'), "parent_id"=>BSON::ObjectId('517500eac82cd1b285000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:20:42 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-22 09:20:42 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500e9c82cd1b285000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517500eac82cd1b285000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517500eac82cd1b285000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517500eac82cd1b285000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517500eac82cd1b285000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('517500e9c82cd1b285000001')}, "_id"=>BSON::ObjectId('517500eac82cd1b285000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517500eac82cd1b285000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500e9c82cd1b285000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('517500e9c82cd1b285000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('517500eac82cd1b287000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517500eac82cd1b287000001'), :_id=>{"$ne"=>BSON::ObjectId('517500eac82cd1b287000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517500eac82cd1b287000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('517500eac82cd1b287000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:20:42 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:20:42 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517500eac82cd1b287000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500eac82cd1b287000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517500eac82cd1b287000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517500eac82cd1b287000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517500eac82cd1b287000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('517500eac82cd1b287000001')}, "_id"=>BSON::ObjectId('517500eac82cd1b287000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517500eac82cd1b287000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('517500eac82cd1b287000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517500eac82cd1b287000001'), :_id=>{"$ne"=>BSON::ObjectId('517500eac82cd1b287000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517500eac82cd1b287000001'), :_id=>{"$ne"=>BSON::ObjectId('517500eac82cd1b287000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517500eac82cd1b287000001'), :_id=>{"$ne"=>BSON::ObjectId('517500eac82cd1b287000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517500eac82cd1b287000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('517500eac82cd1b287000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:20:42 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:20:42 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500eac82cd1b287000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517500eac82cd1b287000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517500eac82cd1b287000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517500eac82cd1b287000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('517500eac82cd1b287000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('517500eac82cd1b287000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('517500eac82cd1b287000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:20:42 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('517500eac82cd1b287000008'), "created_at"=>2013-04-22 09:20:42 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('517500eac82cd1b287000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:20:42 UTC, "created_at"=>2013-04-22 09:20:42 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('517500eac82cd1b287000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('517500eac82cd1b287000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 09:20:42 UTC, "created_at"=>2013-04-22 09:20:42 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517500eac82cd1b28700000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry517500eac82cd1b287000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('517500eac82cd1b287000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517500eac82cd1b287000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('517500eac82cd1b28700000a'), "_type"=>"Locomotive::ContentEntry517500eac82cd1b287000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry517500eac82cd1b287000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517500eac82cd1b287000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 09:20:42 UTC, "site_id"=>BSON::ObjectId('517500eac82cd1b287000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:20:42 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517500eac82cd1b287000007", :_original_id=>BSON::ObjectId('517500eac82cd1b28700000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('517500eac82cd1b287000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517500eac82cd1b28700000b'), "_original_type"=>"Locomotive::ContentEntry517500eac82cd1b287000007", "_original_id"=>BSON::ObjectId('517500eac82cd1b28700000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517500eac82cd1b28700000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry517500eac82cd1b287000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('517500eac82cd1b287000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517500eac82cd1b287000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('517500eac82cd1b28700000c'), "_type"=>"Locomotive::ContentEntry517500eac82cd1b287000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry517500eac82cd1b287000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517500eac82cd1b287000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 09:20:42 UTC, "site_id"=>BSON::ObjectId('517500eac82cd1b287000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:20:42 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517500eac82cd1b287000007", :_original_id=>BSON::ObjectId('517500eac82cd1b28700000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('517500eac82cd1b287000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517500eac82cd1b28700000d'), "_original_type"=>"Locomotive::ContentEntry517500eac82cd1b287000007", "_original_id"=>BSON::ObjectId('517500eac82cd1b28700000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('517500eac82cd1b287000001'), :parent_id=>BSON::ObjectId('517500eac82cd1b287000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517500eac82cd1b287000004'), :site_id=>BSON::ObjectId('517500eac82cd1b287000001'), :_id=>{"$ne"=>BSON::ObjectId('517500eac82cd1b28700000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517500eac82cd1b287000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517500eac82cd1b287000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517500eac82cd1b28700000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('517500eac82cd1b287000001'), "parent_id"=>BSON::ObjectId('517500eac82cd1b287000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:20:42 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-22 09:20:42 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500eac82cd1b287000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517500eac82cd1b28700000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517500eac82cd1b28700000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517500eac82cd1b28700000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517500eac82cd1b28700000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('517500eac82cd1b287000001')}, "_id"=>BSON::ObjectId('517500eac82cd1b28700000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517500eac82cd1b28700000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('517500eac82cd1b287000001'), :parent_id=>BSON::ObjectId('517500eac82cd1b287000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517500eac82cd1b287000004'), :site_id=>BSON::ObjectId('517500eac82cd1b287000001'), :_id=>{"$ne"=>BSON::ObjectId('517500eac82cd1b287000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517500eac82cd1b287000004'), :site_id=>BSON::ObjectId('517500eac82cd1b287000001'), :_id=>{"$ne"=>BSON::ObjectId('517500eac82cd1b287000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('517500eac82cd1b287000004'), :site_id=>BSON::ObjectId('517500eac82cd1b287000001'), :_id=>{"$ne"=>BSON::ObjectId('517500eac82cd1b287000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517500eac82cd1b287000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517500eac82cd1b287000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517500eac82cd1b287000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('517500eac82cd1b287000001'), "parent_id"=>BSON::ObjectId('517500eac82cd1b287000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:20:42 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-22 09:20:42 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500eac82cd1b287000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517500eac82cd1b287000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517500eac82cd1b287000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517500eac82cd1b287000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517500eac82cd1b287000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('517500eac82cd1b287000001')}, "_id"=>BSON::ObjectId('517500eac82cd1b287000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517500eac82cd1b287000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517500eac82cd1b287000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('517500eac82cd1b287000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('5175013dc82cd1b2b4000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"C4ZxeEqFpg1pA7uzwU5s", "encrypted_password"=>"46f378c7202b7669bd800d53b1fc07fcb8bcd43d", "updated_at"=>2013-04-22 09:22:05 UTC, "created_at"=>2013-04-22 09:22:05 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('5175013dc82cd1b2b4000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 09:22:05 UTC, "updated_at"=>2013-04-22 09:22:05 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5175013dc82cd1b2b4000003'), "account_id"=>BSON::ObjectId('5175013dc82cd1b2b4000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5175013dc82cd1b2b4000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5175013dc82cd1b2b4000001'), :_id=>{"$ne"=>BSON::ObjectId('5175013dc82cd1b2b4000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5175013dc82cd1b2b4000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5175013dc82cd1b2b4000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:22:06 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:22:06 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5175013dc82cd1b2b4000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175013dc82cd1b2b4000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5175013dc82cd1b2b4000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5175013dc82cd1b2b4000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5175013dc82cd1b2b4000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5175013dc82cd1b2b4000001')}, "_id"=>BSON::ObjectId('5175013ec82cd1b2b4000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5175013dc82cd1b2b4000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5175013dc82cd1b2b4000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5175013dc82cd1b2b4000001'), :_id=>{"$ne"=>BSON::ObjectId('5175013ec82cd1b2b4000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5175013dc82cd1b2b4000001'), :_id=>{"$ne"=>BSON::ObjectId('5175013ec82cd1b2b4000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5175013dc82cd1b2b4000001'), :_id=>{"$ne"=>BSON::ObjectId('5175013ec82cd1b2b4000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5175013ec82cd1b2b4000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5175013dc82cd1b2b4000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:22:06 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:22:06 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175013dc82cd1b2b4000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5175013ec82cd1b2b4000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5175013ec82cd1b2b4000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5175013ec82cd1b2b4000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5175013dc82cd1b2b4000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5175013ec82cd1b2b4000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5175013dc82cd1b2b4000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:22:06 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5175013ec82cd1b2b4000008'), "created_at"=>2013-04-22 09:22:06 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5175013ec82cd1b2b4000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:22:06 UTC, "created_at"=>2013-04-22 09:22:06 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('5175013ec82cd1b2b4000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('5175013ec82cd1b2b4000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 09:22:06 UTC, "created_at"=>2013-04-22 09:22:06 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5175013ec82cd1b2b400000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5175013ec82cd1b2b4000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('5175013ec82cd1b2b4000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5175013ec82cd1b2b4000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5175013ec82cd1b2b400000a'), "_type"=>"Locomotive::ContentEntry5175013ec82cd1b2b4000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5175013ec82cd1b2b4000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5175013ec82cd1b2b4000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 09:22:06 UTC, "site_id"=>BSON::ObjectId('5175013dc82cd1b2b4000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:22:06 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5175013ec82cd1b2b4000007", :_original_id=>BSON::ObjectId('5175013ec82cd1b2b400000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('5175013dc82cd1b2b4000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5175013ec82cd1b2b400000b'), "_original_type"=>"Locomotive::ContentEntry5175013ec82cd1b2b4000007", "_original_id"=>BSON::ObjectId('5175013ec82cd1b2b400000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5175013ec82cd1b2b400000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry5175013ec82cd1b2b4000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('5175013ec82cd1b2b4000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5175013ec82cd1b2b4000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('5175013ec82cd1b2b400000c'), "_type"=>"Locomotive::ContentEntry5175013ec82cd1b2b4000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry5175013ec82cd1b2b4000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5175013ec82cd1b2b4000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 09:22:06 UTC, "site_id"=>BSON::ObjectId('5175013dc82cd1b2b4000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:22:06 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5175013ec82cd1b2b4000007", :_original_id=>BSON::ObjectId('5175013ec82cd1b2b400000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('5175013dc82cd1b2b4000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5175013ec82cd1b2b400000d'), "_original_type"=>"Locomotive::ContentEntry5175013ec82cd1b2b4000007", "_original_id"=>BSON::ObjectId('5175013ec82cd1b2b400000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('5175013dc82cd1b2b4000001'), :parent_id=>BSON::ObjectId('5175013dc82cd1b2b4000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5175013dc82cd1b2b4000004'), :site_id=>BSON::ObjectId('5175013dc82cd1b2b4000001'), :_id=>{"$ne"=>BSON::ObjectId('5175013ec82cd1b2b400000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5175013dc82cd1b2b4000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5175013dc82cd1b2b4000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5175013ec82cd1b2b400000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('5175013dc82cd1b2b4000001'), "parent_id"=>BSON::ObjectId('5175013dc82cd1b2b4000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:22:06 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-22 09:22:06 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175013dc82cd1b2b4000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5175013ec82cd1b2b400000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5175013ec82cd1b2b400000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5175013ec82cd1b2b400000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5175013ec82cd1b2b400000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('5175013dc82cd1b2b4000001')}, "_id"=>BSON::ObjectId('5175013ec82cd1b2b400000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5175013ec82cd1b2b400000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('5175013dc82cd1b2b4000001'), :parent_id=>BSON::ObjectId('5175013dc82cd1b2b4000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5175013dc82cd1b2b4000004'), :site_id=>BSON::ObjectId('5175013dc82cd1b2b4000001'), :_id=>{"$ne"=>BSON::ObjectId('5175013ec82cd1b2b4000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('5175013dc82cd1b2b4000004'), :site_id=>BSON::ObjectId('5175013dc82cd1b2b4000001'), :_id=>{"$ne"=>BSON::ObjectId('5175013ec82cd1b2b4000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('5175013dc82cd1b2b4000004'), :site_id=>BSON::ObjectId('5175013dc82cd1b2b4000001'), :_id=>{"$ne"=>BSON::ObjectId('5175013ec82cd1b2b4000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('5175013dc82cd1b2b4000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('5175013dc82cd1b2b4000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5175013ec82cd1b2b4000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('5175013dc82cd1b2b4000001'), "parent_id"=>BSON::ObjectId('5175013dc82cd1b2b4000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:22:06 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-22 09:22:06 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175013dc82cd1b2b4000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5175013ec82cd1b2b4000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5175013ec82cd1b2b4000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5175013ec82cd1b2b4000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5175013ec82cd1b2b4000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('5175013dc82cd1b2b4000001')}, "_id"=>BSON::ObjectId('5175013ec82cd1b2b4000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5175013ec82cd1b2b4000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175013dc82cd1b2b4000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('5175013dc82cd1b2b4000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('5175013dc82cd1b2b4000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175013dc82cd1b2b4000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5175013dc82cd1b2b4000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5175013dc82cd1b2b4000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('5175013ec82cd1b2b4000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('5175013dc82cd1b2b4000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('5175013ec82cd1b2b4000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-22 09:22:05 UTC, "updated_at"=>2013-04-22 09:22:06 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5175013ec82cd1b2b4000013'), "account_id"=>BSON::ObjectId('5175013dc82cd1b2b4000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5175013ec82cd1b2b4000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5175013ec82cd1b2b4000012'), :_id=>{"$ne"=>BSON::ObjectId('5175013ec82cd1b2b4000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5175013ec82cd1b2b4000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5175013ec82cd1b2b4000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:22:06 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:22:06 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175013ec82cd1b2b4000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5175013ec82cd1b2b4000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5175013ec82cd1b2b4000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5175013ec82cd1b2b4000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5175013ec82cd1b2b4000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5175013ec82cd1b2b4000012')}, "_id"=>BSON::ObjectId('5175013ec82cd1b2b4000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5175013ec82cd1b2b4000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5175013ec82cd1b2b4000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5175013ec82cd1b2b4000012'), :_id=>{"$ne"=>BSON::ObjectId('5175013ec82cd1b2b4000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5175013ec82cd1b2b4000012'), :_id=>{"$ne"=>BSON::ObjectId('5175013ec82cd1b2b4000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5175013ec82cd1b2b4000012'), :_id=>{"$ne"=>BSON::ObjectId('5175013ec82cd1b2b4000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5175013ec82cd1b2b4000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5175013ec82cd1b2b4000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:22:06 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:22:06 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175013ec82cd1b2b4000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5175013ec82cd1b2b4000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5175013ec82cd1b2b4000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5175013ec82cd1b2b4000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('5175013ec82cd1b2b4000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5175013ec82cd1b2b4000012'), :_id=>{"$ne"=>BSON::ObjectId('5175013ec82cd1b2b4000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5175013ec82cd1b2b4000012'), :_id=>{"$ne"=>BSON::ObjectId('5175013ec82cd1b2b4000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5175013ec82cd1b2b4000012'), :_id=>{"$ne"=>BSON::ObjectId('5175013ec82cd1b2b4000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('5175013ec82cd1b2b4000017'), "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"=>BSON::ObjectId('5175013ec82cd1b2b4000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:22:06 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-22 09:22:06 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175013ec82cd1b2b4000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('5175013ec82cd1b2b4000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('5175013ec82cd1b2b4000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('5175013ec82cd1b2b4000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('5175013ec82cd1b2b4000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('5175013ec82cd1b2b4000012')}, "_id"=>BSON::ObjectId('5175013ec82cd1b2b4000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('5175013ec82cd1b2b4000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5175013ec82cd1b2b4000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('5175013ec82cd1b2b4000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5175013ec82cd1b2b4000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:22:06 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('5175013ec82cd1b2b400001a'), "created_at"=>2013-04-22 09:22:06 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('5175013ec82cd1b2b400001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:22:06 UTC, "created_at"=>2013-04-22 09:22:06 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('5175013ec82cd1b2b400001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry5175013ec82cd1b2b4000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('5175013ec82cd1b2b4000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry5175013ec82cd1b2b4000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('5175013ec82cd1b2b400001b'), "_type"=>"Locomotive::ContentEntry5175013ec82cd1b2b4000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry5175013ec82cd1b2b4000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('5175013ec82cd1b2b4000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-22 09:22:06 UTC, "site_id"=>BSON::ObjectId('5175013ec82cd1b2b4000012'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:22:06 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry5175013ec82cd1b2b4000019", :_original_id=>BSON::ObjectId('5175013ec82cd1b2b400001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('5175013ec82cd1b2b4000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('5175013ec82cd1b2b400001c'), "_original_type"=>"Locomotive::ContentEntry5175013ec82cd1b2b4000019", "_original_id"=>BSON::ObjectId('5175013ec82cd1b2b400001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-22 11:22:06 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175013dc82cd1b2b4000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 73ms (Views: 69.0ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-22 11:22:06 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175013dc82cd1b2b4000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('5175013dc82cd1b2b4000001'), :_keywords=>{"$in"=>["findable", "en:findable"]}}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.3ms) Started GET "/findable" for 127.0.0.1 at 2013-04-22 11:22:06 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"path"=>"findable"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175013dc82cd1b2b4000001'), :depth=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.2ms) Started GET "/" for 127.0.0.1 at 2013-04-22 11:22:06 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175013dc82cd1b2b4000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.2ms) Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-04-22 11:22:06 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175013dc82cd1b2b4000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('5175013dc82cd1b2b4000001'), :_keywords=>{"$in"=>["not", "found", "en:not", "en:found"]}}) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.2ms) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('5175018fc82cd1b2d0000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"Rsuy1zUGUsAtc2miETH4", "encrypted_password"=>"b73d62de8ded9c091400fe9139c0fdac58e85fc7", "updated_at"=>2013-04-22 09:23:27 UTC, "created_at"=>2013-04-22 09:23:27 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('5175018fc82cd1b2d0000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 09:23:27 UTC, "updated_at"=>2013-04-22 09:23:27 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('5175018fc82cd1b2d0000003'), "account_id"=>BSON::ObjectId('5175018fc82cd1b2d0000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('5175018fc82cd1b2d0000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5175018fc82cd1b2d0000001'), :_id=>{"$ne"=>BSON::ObjectId('51750190c82cd1b2d0000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51750190c82cd1b2d0000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('5175018fc82cd1b2d0000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:23:28 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:23:28 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51750190c82cd1b2d0000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175018fc82cd1b2d0000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51750190c82cd1b2d0000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51750190c82cd1b2d0000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51750190c82cd1b2d0000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('5175018fc82cd1b2d0000001')}, "_id"=>BSON::ObjectId('51750190c82cd1b2d0000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51750190c82cd1b2d0000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('5175018fc82cd1b2d0000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5175018fc82cd1b2d0000001'), :_id=>{"$ne"=>BSON::ObjectId('51750190c82cd1b2d0000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('5175018fc82cd1b2d0000001'), :_id=>{"$ne"=>BSON::ObjectId('51750190c82cd1b2d0000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('5175018fc82cd1b2d0000001'), :_id=>{"$ne"=>BSON::ObjectId('51750190c82cd1b2d0000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51750190c82cd1b2d0000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('5175018fc82cd1b2d0000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:23:28 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:23:28 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175018fc82cd1b2d0000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51750190c82cd1b2d0000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51750190c82cd1b2d0000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51750190c82cd1b2d0000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('5175018fc82cd1b2d0000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51750190c82cd1b2d0000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('5175018fc82cd1b2d0000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:23:28 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51750190c82cd1b2d0000008'), "created_at"=>2013-04-22 09:23:28 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51750190c82cd1b2d0000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:23:28 UTC, "created_at"=>2013-04-22 09:23:28 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51750190c82cd1b2d0000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51750190c82cd1b2d0000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 09:23:28 UTC, "created_at"=>2013-04-22 09:23:28 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51750190c82cd1b2d000000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51750190c82cd1b2d0000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51750190c82cd1b2d0000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51750190c82cd1b2d0000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51750190c82cd1b2d000000a'), "_type"=>"Locomotive::ContentEntry51750190c82cd1b2d0000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51750190c82cd1b2d0000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51750190c82cd1b2d0000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 09:23:28 UTC, "site_id"=>BSON::ObjectId('5175018fc82cd1b2d0000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:23:28 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51750190c82cd1b2d0000007", :_original_id=>BSON::ObjectId('51750190c82cd1b2d000000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('5175018fc82cd1b2d0000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51750190c82cd1b2d000000b'), "_original_type"=>"Locomotive::ContentEntry51750190c82cd1b2d0000007", "_original_id"=>BSON::ObjectId('51750190c82cd1b2d000000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51750190c82cd1b2d000000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51750190c82cd1b2d0000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51750190c82cd1b2d0000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51750190c82cd1b2d0000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51750190c82cd1b2d000000c'), "_type"=>"Locomotive::ContentEntry51750190c82cd1b2d0000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51750190c82cd1b2d0000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51750190c82cd1b2d0000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 09:23:28 UTC, "site_id"=>BSON::ObjectId('5175018fc82cd1b2d0000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:23:28 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51750190c82cd1b2d0000007", :_original_id=>BSON::ObjectId('51750190c82cd1b2d000000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('5175018fc82cd1b2d0000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51750190c82cd1b2d000000d'), "_original_type"=>"Locomotive::ContentEntry51750190c82cd1b2d0000007", "_original_id"=>BSON::ObjectId('51750190c82cd1b2d000000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('5175018fc82cd1b2d0000001'), :parent_id=>BSON::ObjectId('51750190c82cd1b2d0000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51750190c82cd1b2d0000004'), :site_id=>BSON::ObjectId('5175018fc82cd1b2d0000001'), :_id=>{"$ne"=>BSON::ObjectId('51750190c82cd1b2d000000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51750190c82cd1b2d0000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51750190c82cd1b2d0000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51750190c82cd1b2d000000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('5175018fc82cd1b2d0000001'), "parent_id"=>BSON::ObjectId('51750190c82cd1b2d0000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:23:28 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-22 09:23:28 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175018fc82cd1b2d0000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51750190c82cd1b2d000000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51750190c82cd1b2d000000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51750190c82cd1b2d000000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51750190c82cd1b2d000000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('5175018fc82cd1b2d0000001')}, "_id"=>BSON::ObjectId('51750190c82cd1b2d000000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51750190c82cd1b2d000000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('5175018fc82cd1b2d0000001'), :parent_id=>BSON::ObjectId('51750190c82cd1b2d0000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51750190c82cd1b2d0000004'), :site_id=>BSON::ObjectId('5175018fc82cd1b2d0000001'), :_id=>{"$ne"=>BSON::ObjectId('51750190c82cd1b2d0000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51750190c82cd1b2d0000004'), :site_id=>BSON::ObjectId('5175018fc82cd1b2d0000001'), :_id=>{"$ne"=>BSON::ObjectId('51750190c82cd1b2d0000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('51750190c82cd1b2d0000004'), :site_id=>BSON::ObjectId('5175018fc82cd1b2d0000001'), :_id=>{"$ne"=>BSON::ObjectId('51750190c82cd1b2d0000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51750190c82cd1b2d0000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51750190c82cd1b2d0000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51750190c82cd1b2d0000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('5175018fc82cd1b2d0000001'), "parent_id"=>BSON::ObjectId('51750190c82cd1b2d0000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:23:28 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-22 09:23:28 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175018fc82cd1b2d0000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51750190c82cd1b2d0000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51750190c82cd1b2d0000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51750190c82cd1b2d0000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51750190c82cd1b2d0000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('5175018fc82cd1b2d0000001')}, "_id"=>BSON::ObjectId('51750190c82cd1b2d0000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51750190c82cd1b2d0000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175018fc82cd1b2d0000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('5175018fc82cd1b2d0000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('51750190c82cd1b2d0000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175018fc82cd1b2d0000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51750190c82cd1b2d0000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51750190c82cd1b2d0000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('51750190c82cd1b2d0000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('5175018fc82cd1b2d0000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('51750190c82cd1b2d0000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-22 09:23:27 UTC, "updated_at"=>2013-04-22 09:23:28 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51750190c82cd1b2d0000013'), "account_id"=>BSON::ObjectId('5175018fc82cd1b2d0000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51750190c82cd1b2d0000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51750190c82cd1b2d0000012'), :_id=>{"$ne"=>BSON::ObjectId('51750190c82cd1b2d0000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51750190c82cd1b2d0000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51750190c82cd1b2d0000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:23:28 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:23:28 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51750190c82cd1b2d0000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51750190c82cd1b2d0000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51750190c82cd1b2d0000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51750190c82cd1b2d0000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51750190c82cd1b2d0000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51750190c82cd1b2d0000012')}, "_id"=>BSON::ObjectId('51750190c82cd1b2d0000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51750190c82cd1b2d0000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51750190c82cd1b2d0000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51750190c82cd1b2d0000012'), :_id=>{"$ne"=>BSON::ObjectId('51750190c82cd1b2d0000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51750190c82cd1b2d0000012'), :_id=>{"$ne"=>BSON::ObjectId('51750190c82cd1b2d0000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51750190c82cd1b2d0000012'), :_id=>{"$ne"=>BSON::ObjectId('51750190c82cd1b2d0000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51750190c82cd1b2d0000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51750190c82cd1b2d0000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:23:28 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:23:28 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51750190c82cd1b2d0000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51750190c82cd1b2d0000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51750190c82cd1b2d0000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51750190c82cd1b2d0000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('51750190c82cd1b2d0000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51750190c82cd1b2d0000012'), :_id=>{"$ne"=>BSON::ObjectId('51750190c82cd1b2d0000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51750190c82cd1b2d0000012'), :_id=>{"$ne"=>BSON::ObjectId('51750190c82cd1b2d0000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51750190c82cd1b2d0000012'), :_id=>{"$ne"=>BSON::ObjectId('51750190c82cd1b2d0000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51750190c82cd1b2d0000017'), "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"=>BSON::ObjectId('51750190c82cd1b2d0000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:23:28 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-22 09:23:28 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51750190c82cd1b2d0000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51750190c82cd1b2d0000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51750190c82cd1b2d0000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51750190c82cd1b2d0000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51750190c82cd1b2d0000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('51750190c82cd1b2d0000012')}, "_id"=>BSON::ObjectId('51750190c82cd1b2d0000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51750190c82cd1b2d0000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51750190c82cd1b2d0000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51750190c82cd1b2d0000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51750190c82cd1b2d0000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:23:28 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51750190c82cd1b2d000001a'), "created_at"=>2013-04-22 09:23:28 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51750190c82cd1b2d000001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:23:28 UTC, "created_at"=>2013-04-22 09:23:28 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51750190c82cd1b2d000001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51750190c82cd1b2d0000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('51750190c82cd1b2d0000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51750190c82cd1b2d0000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51750190c82cd1b2d000001b'), "_type"=>"Locomotive::ContentEntry51750190c82cd1b2d0000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51750190c82cd1b2d0000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51750190c82cd1b2d0000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-22 09:23:28 UTC, "site_id"=>BSON::ObjectId('51750190c82cd1b2d0000012'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:23:28 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51750190c82cd1b2d0000019", :_original_id=>BSON::ObjectId('51750190c82cd1b2d000001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('51750190c82cd1b2d0000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51750190c82cd1b2d000001c'), "_original_type"=>"Locomotive::ContentEntry51750190c82cd1b2d0000019", "_original_id"=>BSON::ObjectId('51750190c82cd1b2d000001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-22 11:23:28 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175018fc82cd1b2d0000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 23ms (Views: 18.5ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-22 11:23:28 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('5175018fc82cd1b2d0000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 209ms (Views: 0.5ms) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('517503aac82cd1b38d000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"4yshrQ5JP4CdSLRVUggp", "encrypted_password"=>"3866aa4c6f0e4a69e72d875a6ad5ff93bc833542", "updated_at"=>2013-04-22 09:32:26 UTC, "created_at"=>2013-04-22 09:32:26 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('517503aac82cd1b38d000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 09:32:26 UTC, "updated_at"=>2013-04-22 09:32:26 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('517503aac82cd1b38d000003'), "account_id"=>BSON::ObjectId('517503aac82cd1b38d000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('517503aac82cd1b38d000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517503aac82cd1b38d000001'), :_id=>{"$ne"=>BSON::ObjectId('517503abc82cd1b38d000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517503abc82cd1b38d000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('517503aac82cd1b38d000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:32:27 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:32:27 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517503abc82cd1b38d000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503aac82cd1b38d000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517503abc82cd1b38d000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517503abc82cd1b38d000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517503abc82cd1b38d000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('517503aac82cd1b38d000001')}, "_id"=>BSON::ObjectId('517503abc82cd1b38d000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517503abc82cd1b38d000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('517503aac82cd1b38d000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517503aac82cd1b38d000001'), :_id=>{"$ne"=>BSON::ObjectId('517503abc82cd1b38d000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517503aac82cd1b38d000001'), :_id=>{"$ne"=>BSON::ObjectId('517503abc82cd1b38d000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517503aac82cd1b38d000001'), :_id=>{"$ne"=>BSON::ObjectId('517503abc82cd1b38d000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517503abc82cd1b38d000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('517503aac82cd1b38d000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:32:27 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:32:27 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503aac82cd1b38d000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517503abc82cd1b38d000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517503abc82cd1b38d000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517503abc82cd1b38d000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('517503aac82cd1b38d000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('517503abc82cd1b38d000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('517503aac82cd1b38d000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:32:27 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('517503abc82cd1b38d000008'), "created_at"=>2013-04-22 09:32:27 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('517503abc82cd1b38d000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:32:27 UTC, "created_at"=>2013-04-22 09:32:27 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('517503abc82cd1b38d000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('517503abc82cd1b38d000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 09:32:27 UTC, "created_at"=>2013-04-22 09:32:27 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517503abc82cd1b38d00000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry517503abc82cd1b38d000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('517503abc82cd1b38d000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517503abc82cd1b38d000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('517503abc82cd1b38d00000a'), "_type"=>"Locomotive::ContentEntry517503abc82cd1b38d000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry517503abc82cd1b38d000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517503abc82cd1b38d000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 09:32:27 UTC, "site_id"=>BSON::ObjectId('517503aac82cd1b38d000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:32:27 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517503abc82cd1b38d000007", :_original_id=>BSON::ObjectId('517503abc82cd1b38d00000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('517503aac82cd1b38d000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517503abc82cd1b38d00000b'), "_original_type"=>"Locomotive::ContentEntry517503abc82cd1b38d000007", "_original_id"=>BSON::ObjectId('517503abc82cd1b38d00000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517503abc82cd1b38d00000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry517503abc82cd1b38d000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('517503abc82cd1b38d000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517503abc82cd1b38d000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('517503abc82cd1b38d00000c'), "_type"=>"Locomotive::ContentEntry517503abc82cd1b38d000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry517503abc82cd1b38d000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517503abc82cd1b38d000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 09:32:27 UTC, "site_id"=>BSON::ObjectId('517503aac82cd1b38d000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:32:27 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517503abc82cd1b38d000007", :_original_id=>BSON::ObjectId('517503abc82cd1b38d00000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('517503aac82cd1b38d000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517503abc82cd1b38d00000d'), "_original_type"=>"Locomotive::ContentEntry517503abc82cd1b38d000007", "_original_id"=>BSON::ObjectId('517503abc82cd1b38d00000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('517503aac82cd1b38d000001'), :parent_id=>BSON::ObjectId('517503abc82cd1b38d000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517503abc82cd1b38d000004'), :site_id=>BSON::ObjectId('517503aac82cd1b38d000001'), :_id=>{"$ne"=>BSON::ObjectId('517503abc82cd1b38d00000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517503abc82cd1b38d000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517503abc82cd1b38d000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517503abc82cd1b38d00000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('517503aac82cd1b38d000001'), "parent_id"=>BSON::ObjectId('517503abc82cd1b38d000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:32:27 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-22 09:32:27 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503aac82cd1b38d000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517503abc82cd1b38d00000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517503abc82cd1b38d00000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517503abc82cd1b38d00000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517503abc82cd1b38d00000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('517503aac82cd1b38d000001')}, "_id"=>BSON::ObjectId('517503abc82cd1b38d00000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517503abc82cd1b38d00000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('517503aac82cd1b38d000001'), :parent_id=>BSON::ObjectId('517503abc82cd1b38d000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517503abc82cd1b38d000004'), :site_id=>BSON::ObjectId('517503aac82cd1b38d000001'), :_id=>{"$ne"=>BSON::ObjectId('517503abc82cd1b38d000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517503abc82cd1b38d000004'), :site_id=>BSON::ObjectId('517503aac82cd1b38d000001'), :_id=>{"$ne"=>BSON::ObjectId('517503abc82cd1b38d000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('517503abc82cd1b38d000004'), :site_id=>BSON::ObjectId('517503aac82cd1b38d000001'), :_id=>{"$ne"=>BSON::ObjectId('517503abc82cd1b38d000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517503abc82cd1b38d000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517503abc82cd1b38d000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517503abc82cd1b38d000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('517503aac82cd1b38d000001'), "parent_id"=>BSON::ObjectId('517503abc82cd1b38d000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:32:27 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-22 09:32:27 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503aac82cd1b38d000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517503abc82cd1b38d000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517503abc82cd1b38d000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517503abc82cd1b38d000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517503abc82cd1b38d000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('517503aac82cd1b38d000001')}, "_id"=>BSON::ObjectId('517503abc82cd1b38d000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517503abc82cd1b38d000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503aac82cd1b38d000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('517503aac82cd1b38d000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('517503abc82cd1b38d000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503aac82cd1b38d000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517503abc82cd1b38d000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517503abc82cd1b38d000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('517503abc82cd1b38d000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('517503aac82cd1b38d000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('517503abc82cd1b38d000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-22 09:32:26 UTC, "updated_at"=>2013-04-22 09:32:27 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('517503abc82cd1b38d000013'), "account_id"=>BSON::ObjectId('517503aac82cd1b38d000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('517503abc82cd1b38d000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517503abc82cd1b38d000012'), :_id=>{"$ne"=>BSON::ObjectId('517503abc82cd1b38d000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517503abc82cd1b38d000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('517503abc82cd1b38d000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:32:27 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:32:27 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503abc82cd1b38d000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517503abc82cd1b38d000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517503abc82cd1b38d000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517503abc82cd1b38d000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517503abc82cd1b38d000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('517503abc82cd1b38d000012')}, "_id"=>BSON::ObjectId('517503abc82cd1b38d000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517503abc82cd1b38d000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('517503abc82cd1b38d000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517503abc82cd1b38d000012'), :_id=>{"$ne"=>BSON::ObjectId('517503abc82cd1b38d000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517503abc82cd1b38d000012'), :_id=>{"$ne"=>BSON::ObjectId('517503abc82cd1b38d000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517503abc82cd1b38d000012'), :_id=>{"$ne"=>BSON::ObjectId('517503abc82cd1b38d000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517503abc82cd1b38d000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('517503abc82cd1b38d000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:32:27 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:32:27 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503abc82cd1b38d000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517503abc82cd1b38d000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517503abc82cd1b38d000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517503abc82cd1b38d000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('517503abc82cd1b38d000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517503abc82cd1b38d000012'), :_id=>{"$ne"=>BSON::ObjectId('517503abc82cd1b38d000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517503abc82cd1b38d000012'), :_id=>{"$ne"=>BSON::ObjectId('517503abc82cd1b38d000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517503abc82cd1b38d000012'), :_id=>{"$ne"=>BSON::ObjectId('517503abc82cd1b38d000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517503abc82cd1b38d000017'), "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"=>BSON::ObjectId('517503abc82cd1b38d000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:32:27 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-22 09:32:27 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503abc82cd1b38d000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517503abc82cd1b38d000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517503abc82cd1b38d000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517503abc82cd1b38d000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517503abc82cd1b38d000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('517503abc82cd1b38d000012')}, "_id"=>BSON::ObjectId('517503abc82cd1b38d000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517503abc82cd1b38d000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('517503abc82cd1b38d000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('517503abc82cd1b38d000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('517503abc82cd1b38d000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:32:27 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('517503abc82cd1b38d00001a'), "created_at"=>2013-04-22 09:32:27 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('517503abc82cd1b38d00001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:32:27 UTC, "created_at"=>2013-04-22 09:32:27 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517503abc82cd1b38d00001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry517503abc82cd1b38d000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('517503abc82cd1b38d000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517503abc82cd1b38d000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('517503abc82cd1b38d00001b'), "_type"=>"Locomotive::ContentEntry517503abc82cd1b38d000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry517503abc82cd1b38d000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517503abc82cd1b38d000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-22 09:32:27 UTC, "site_id"=>BSON::ObjectId('517503abc82cd1b38d000012'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:32:27 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517503abc82cd1b38d000019", :_original_id=>BSON::ObjectId('517503abc82cd1b38d00001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('517503abc82cd1b38d000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517503abc82cd1b38d00001c'), "_original_type"=>"Locomotive::ContentEntry517503abc82cd1b38d000019", "_original_id"=>BSON::ObjectId('517503abc82cd1b38d00001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-22 11:32:27 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503aac82cd1b38d000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 78ms (Views: 73.4ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-22 11:32:27 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503aac82cd1b38d000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('517503aac82cd1b38d000001'), :_keywords=>{"$in"=>["findable", "en:findable"]}}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.4ms) Started GET "/findable" for 127.0.0.1 at 2013-04-22 11:32:27 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"path"=>"findable"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503aac82cd1b38d000001'), :depth=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms) Started GET "/" for 127.0.0.1 at 2013-04-22 11:32:27 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503aac82cd1b38d000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.3ms) Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-04-22 11:32:27 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503aac82cd1b38d000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('517503aac82cd1b38d000001'), :_keywords=>{"$in"=>["not", "found", "en:not", "en:found"]}}) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.2ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('517503ccc82cd1b3a1000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"bzFxUvsVaBxqqVa6KqEx", "encrypted_password"=>"b1eae781b0630525a1c7878fe3b92462ad2d8fb4", "updated_at"=>2013-04-22 09:33:00 UTC, "created_at"=>2013-04-22 09:33:00 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('517503ccc82cd1b3a1000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-22 09:33:00 UTC, "updated_at"=>2013-04-22 09:33:00 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('517503ccc82cd1b3a1000003'), "account_id"=>BSON::ObjectId('517503ccc82cd1b3a1000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('517503ccc82cd1b3a1000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517503ccc82cd1b3a1000001'), :_id=>{"$ne"=>BSON::ObjectId('517503cdc82cd1b3a1000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517503cdc82cd1b3a1000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('517503ccc82cd1b3a1000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:33:01 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:33:01 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517503cdc82cd1b3a1000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503ccc82cd1b3a1000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517503cdc82cd1b3a1000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517503cdc82cd1b3a1000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517503cdc82cd1b3a1000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('517503ccc82cd1b3a1000001')}, "_id"=>BSON::ObjectId('517503cdc82cd1b3a1000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517503cdc82cd1b3a1000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('517503ccc82cd1b3a1000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517503ccc82cd1b3a1000001'), :_id=>{"$ne"=>BSON::ObjectId('517503cdc82cd1b3a1000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517503ccc82cd1b3a1000001'), :_id=>{"$ne"=>BSON::ObjectId('517503cdc82cd1b3a1000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517503ccc82cd1b3a1000001'), :_id=>{"$ne"=>BSON::ObjectId('517503cdc82cd1b3a1000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517503cdc82cd1b3a1000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('517503ccc82cd1b3a1000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:33:01 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:33:01 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503ccc82cd1b3a1000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517503cdc82cd1b3a1000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517503cdc82cd1b3a1000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517503cdc82cd1b3a1000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('517503ccc82cd1b3a1000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('517503cdc82cd1b3a1000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('517503ccc82cd1b3a1000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:33:01 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('517503cdc82cd1b3a1000008'), "created_at"=>2013-04-22 09:33:01 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('517503cdc82cd1b3a1000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:33:01 UTC, "created_at"=>2013-04-22 09:33:01 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('517503cdc82cd1b3a1000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('517503cdc82cd1b3a1000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-22 09:33:01 UTC, "created_at"=>2013-04-22 09:33:01 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517503cdc82cd1b3a100000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry517503cdc82cd1b3a1000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('517503cdc82cd1b3a1000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517503cdc82cd1b3a1000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('517503cdc82cd1b3a100000a'), "_type"=>"Locomotive::ContentEntry517503cdc82cd1b3a1000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry517503cdc82cd1b3a1000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517503cdc82cd1b3a1000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-22 09:33:01 UTC, "site_id"=>BSON::ObjectId('517503ccc82cd1b3a1000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:33:01 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517503cdc82cd1b3a1000007", :_original_id=>BSON::ObjectId('517503cdc82cd1b3a100000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('517503ccc82cd1b3a1000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517503cdc82cd1b3a100000b'), "_original_type"=>"Locomotive::ContentEntry517503cdc82cd1b3a1000007", "_original_id"=>BSON::ObjectId('517503cdc82cd1b3a100000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517503cdc82cd1b3a100000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry517503cdc82cd1b3a1000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('517503cdc82cd1b3a1000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517503cdc82cd1b3a1000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('517503cdc82cd1b3a100000c'), "_type"=>"Locomotive::ContentEntry517503cdc82cd1b3a1000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry517503cdc82cd1b3a1000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517503cdc82cd1b3a1000007'), "_slug"=>"hidden", "updated_at"=>2013-04-22 09:33:01 UTC, "site_id"=>BSON::ObjectId('517503ccc82cd1b3a1000001'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:33:01 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517503cdc82cd1b3a1000007", :_original_id=>BSON::ObjectId('517503cdc82cd1b3a100000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('517503ccc82cd1b3a1000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517503cdc82cd1b3a100000d'), "_original_type"=>"Locomotive::ContentEntry517503cdc82cd1b3a1000007", "_original_id"=>BSON::ObjectId('517503cdc82cd1b3a100000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('517503ccc82cd1b3a1000001'), :parent_id=>BSON::ObjectId('517503cdc82cd1b3a1000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517503cdc82cd1b3a1000004'), :site_id=>BSON::ObjectId('517503ccc82cd1b3a1000001'), :_id=>{"$ne"=>BSON::ObjectId('517503cdc82cd1b3a100000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517503cdc82cd1b3a1000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517503cdc82cd1b3a1000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517503cdc82cd1b3a100000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('517503ccc82cd1b3a1000001'), "parent_id"=>BSON::ObjectId('517503cdc82cd1b3a1000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:33:01 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-22 09:33:01 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503ccc82cd1b3a1000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517503cdc82cd1b3a100000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517503cdc82cd1b3a100000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517503cdc82cd1b3a100000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517503cdc82cd1b3a100000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('517503ccc82cd1b3a1000001')}, "_id"=>BSON::ObjectId('517503cdc82cd1b3a100000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517503cdc82cd1b3a100000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('517503ccc82cd1b3a1000001'), :parent_id=>BSON::ObjectId('517503cdc82cd1b3a1000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517503cdc82cd1b3a1000004'), :site_id=>BSON::ObjectId('517503ccc82cd1b3a1000001'), :_id=>{"$ne"=>BSON::ObjectId('517503cdc82cd1b3a1000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('517503cdc82cd1b3a1000004'), :site_id=>BSON::ObjectId('517503ccc82cd1b3a1000001'), :_id=>{"$ne"=>BSON::ObjectId('517503cdc82cd1b3a1000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('517503cdc82cd1b3a1000004'), :site_id=>BSON::ObjectId('517503ccc82cd1b3a1000001'), :_id=>{"$ne"=>BSON::ObjectId('517503cdc82cd1b3a1000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('517503cdc82cd1b3a1000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('517503cdc82cd1b3a1000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517503cdc82cd1b3a1000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('517503ccc82cd1b3a1000001'), "parent_id"=>BSON::ObjectId('517503cdc82cd1b3a1000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-22 09:33:01 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-22 09:33:01 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503ccc82cd1b3a1000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517503cdc82cd1b3a1000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517503cdc82cd1b3a1000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517503cdc82cd1b3a1000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517503cdc82cd1b3a1000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('517503ccc82cd1b3a1000001')}, "_id"=>BSON::ObjectId('517503cdc82cd1b3a1000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517503cdc82cd1b3a1000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503ccc82cd1b3a1000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('517503ccc82cd1b3a1000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('517503cdc82cd1b3a1000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503ccc82cd1b3a1000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517503cdc82cd1b3a1000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517503cdc82cd1b3a1000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('517503cdc82cd1b3a1000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('517503ccc82cd1b3a1000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('517503cdc82cd1b3a1000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-22 09:33:00 UTC, "updated_at"=>2013-04-22 09:33:01 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('517503cdc82cd1b3a1000013'), "account_id"=>BSON::ObjectId('517503ccc82cd1b3a1000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('517503cdc82cd1b3a1000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517503cdc82cd1b3a1000012'), :_id=>{"$ne"=>BSON::ObjectId('517503cdc82cd1b3a1000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517503cdc82cd1b3a1000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('517503cdc82cd1b3a1000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:33:01 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-22 09:33:01 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503cdc82cd1b3a1000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517503cdc82cd1b3a1000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517503cdc82cd1b3a1000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517503cdc82cd1b3a1000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517503cdc82cd1b3a1000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('517503cdc82cd1b3a1000012')}, "_id"=>BSON::ObjectId('517503cdc82cd1b3a1000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517503cdc82cd1b3a1000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('517503cdc82cd1b3a1000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517503cdc82cd1b3a1000012'), :_id=>{"$ne"=>BSON::ObjectId('517503cdc82cd1b3a1000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517503cdc82cd1b3a1000012'), :_id=>{"$ne"=>BSON::ObjectId('517503cdc82cd1b3a1000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517503cdc82cd1b3a1000012'), :_id=>{"$ne"=>BSON::ObjectId('517503cdc82cd1b3a1000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517503cdc82cd1b3a1000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('517503cdc82cd1b3a1000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:33:01 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-22 09:33:01 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503cdc82cd1b3a1000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517503cdc82cd1b3a1000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517503cdc82cd1b3a1000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517503cdc82cd1b3a1000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('517503cdc82cd1b3a1000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517503cdc82cd1b3a1000012'), :_id=>{"$ne"=>BSON::ObjectId('517503cdc82cd1b3a1000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('517503cdc82cd1b3a1000012'), :_id=>{"$ne"=>BSON::ObjectId('517503cdc82cd1b3a1000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('517503cdc82cd1b3a1000012'), :_id=>{"$ne"=>BSON::ObjectId('517503cdc82cd1b3a1000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('517503cdc82cd1b3a1000017'), "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"=>BSON::ObjectId('517503cdc82cd1b3a1000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-22 09:33:01 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-22 09:33:01 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503cdc82cd1b3a1000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('517503cdc82cd1b3a1000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('517503cdc82cd1b3a1000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('517503cdc82cd1b3a1000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('517503cdc82cd1b3a1000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('517503cdc82cd1b3a1000012')}, "_id"=>BSON::ObjectId('517503cdc82cd1b3a1000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('517503cdc82cd1b3a1000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('517503cdc82cd1b3a1000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('517503cdc82cd1b3a1000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('517503cdc82cd1b3a1000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-22 09:33:01 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('517503cdc82cd1b3a100001a'), "created_at"=>2013-04-22 09:33:01 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('517503cdc82cd1b3a100001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-22 09:33:01 UTC, "created_at"=>2013-04-22 09:33:01 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('517503cdc82cd1b3a100001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry517503cdc82cd1b3a1000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('517503cdc82cd1b3a1000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry517503cdc82cd1b3a1000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('517503cdc82cd1b3a100001b'), "_type"=>"Locomotive::ContentEntry517503cdc82cd1b3a1000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry517503cdc82cd1b3a1000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('517503cdc82cd1b3a1000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-22 09:33:01 UTC, "site_id"=>BSON::ObjectId('517503cdc82cd1b3a1000012'), "_label_field_name"=>"name", "created_at"=>2013-04-22 09:33:01 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry517503cdc82cd1b3a1000019", :_original_id=>BSON::ObjectId('517503cdc82cd1b3a100001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('517503cdc82cd1b3a1000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('517503cdc82cd1b3a100001c'), "_original_type"=>"Locomotive::ContentEntry517503cdc82cd1b3a1000019", "_original_id"=>BSON::ObjectId('517503cdc82cd1b3a100001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-22 11:33:02 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503ccc82cd1b3a1000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 23ms (Views: 18.8ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-22 11:33:02 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('517503ccc82cd1b3a1000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 212ms (Views: 0.5ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"T9dpUnNQwECZdrjx9bbz", "encrypted_password"=>"06517ce5a9b9c68fe93407d2c3dfe99273b91631", "updated_at"=>2013-04-23 08:54:20 UTC, "created_at"=>2013-04-23 08:54:20 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-23 08:54:19 UTC, "updated_at"=>2013-04-23 08:54:20 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000003'), "account_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 08:54:20 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 08:54:20 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764c3cc82cd1f0f5000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001')}, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 08:54:20 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 08:54:20 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-23 08:54:20 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000008'), "created_at"=>2013-04-23 08:54:20 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 08:54:20 UTC, "created_at"=>2013-04-23 08:54:20 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-23 08:54:20 UTC, "created_at"=>2013-04-23 08:54:20 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f500000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764c3cc82cd1f0f5000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51764c3cc82cd1f0f5000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764c3cc82cd1f0f5000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f500000a'), "_type"=>"Locomotive::ContentEntry51764c3cc82cd1f0f5000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764c3cc82cd1f0f5000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-23 08:54:20 UTC, "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 08:54:20 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764c3cc82cd1f0f5000007", :_original_id=>BSON::ObjectId('51764c3cc82cd1f0f500000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f500000b'), "_original_type"=>"Locomotive::ContentEntry51764c3cc82cd1f0f5000007", "_original_id"=>BSON::ObjectId('51764c3cc82cd1f0f500000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f500000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51764c3cc82cd1f0f5000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51764c3cc82cd1f0f5000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764c3cc82cd1f0f5000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f500000c'), "_type"=>"Locomotive::ContentEntry51764c3cc82cd1f0f5000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51764c3cc82cd1f0f5000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000007'), "_slug"=>"hidden", "updated_at"=>2013-04-23 08:54:20 UTC, "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 08:54:20 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764c3cc82cd1f0f5000007", :_original_id=>BSON::ObjectId('51764c3cc82cd1f0f500000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f500000d'), "_original_type"=>"Locomotive::ContentEntry51764c3cc82cd1f0f5000007", "_original_id"=>BSON::ObjectId('51764c3cc82cd1f0f500000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :parent_id=>BSON::ObjectId('51764c3cc82cd1f0f5000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764c3cc82cd1f0f5000004'), :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f500000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764c3cc82cd1f0f5000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764c3cc82cd1f0f500000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "parent_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 08:54:20 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-23 08:54:20 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f500000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764c3cc82cd1f0f500000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f500000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764c3cc82cd1f0f500000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001')}, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f500000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764c3cc82cd1f0f500000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :parent_id=>BSON::ObjectId('51764c3cc82cd1f0f5000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764c3cc82cd1f0f5000004'), :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764c3cc82cd1f0f5000004'), :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('51764c3cc82cd1f0f5000004'), :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764c3cc82cd1f0f5000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "parent_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 08:54:20 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-23 08:54:20 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764c3cc82cd1f0f5000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001')}, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764c3cc82cd1f0f5000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-23 08:54:19 UTC, "updated_at"=>2013-04-23 08:54:20 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000013'), "account_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 08:54:20 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 08:54:20 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764c3cc82cd1f0f5000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012')}, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 08:54:20 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 08:54:20 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000017'), "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"=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 08:54:20 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-23 08:54:20 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764c3cc82cd1f0f5000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012')}, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-23 08:54:20 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764c3cc82cd1f0f500001a'), "created_at"=>2013-04-23 08:54:20 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f500001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 08:54:20 UTC, "created_at"=>2013-04-23 08:54:20 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f500001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764c3cc82cd1f0f5000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('51764c3cc82cd1f0f5000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764c3cc82cd1f0f5000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f500001b'), "_type"=>"Locomotive::ContentEntry51764c3cc82cd1f0f5000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764c3cc82cd1f0f5000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-23 08:54:20 UTC, "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), "_label_field_name"=>"name", "created_at"=>2013-04-23 08:54:20 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764c3cc82cd1f0f5000019", :_original_id=>BSON::ObjectId('51764c3cc82cd1f0f500001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f500001c'), "_original_type"=>"Locomotive::ContentEntry51764c3cc82cd1f0f5000019", "_original_id"=>BSON::ObjectId('51764c3cc82cd1f0f500001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-23 10:54:20 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 23ms (Views: 18.6ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-23 10:54:20 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :_keywords=>{"$in"=>["findable", "en:findable"]}}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.3ms) Started GET "/findable" for 127.0.0.1 at 2013-04-23 10:54:21 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"path"=>"findable"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :depth=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.4ms) Started GET "/" for 127.0.0.1 at 2013-04-23 10:54:21 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.2ms) Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-04-23 10:54:21 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :_keywords=>{"$in"=>["not", "found", "en:not", "en:found"]}}) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.2ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51764e37c82cd1f169000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"y23W23xaXzD8QqE3gSCR", "encrypted_password"=>"36147376d40e93a259a0f0bde1577db45d9021ff", "updated_at"=>2013-04-23 09:02:47 UTC, "created_at"=>2013-04-23 09:02:47 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-23 09:02:46 UTC, "updated_at"=>2013-04-23 09:02:47 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764e37c82cd1f169000003'), "account_id"=>BSON::ObjectId('51764e37c82cd1f169000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764e37c82cd1f169000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:02:47 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:02:47 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764e37c82cd1f169000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764e37c82cd1f169000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764e37c82cd1f169000001')}, "_id"=>BSON::ObjectId('51764e37c82cd1f169000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764e37c82cd1f169000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764e37c82cd1f169000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:02:47 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:02:47 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764e37c82cd1f169000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764e37c82cd1f169000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764e37c82cd1f169000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-23 09:02:47 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764e37c82cd1f169000008'), "created_at"=>2013-04-23 09:02:47 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764e37c82cd1f169000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 09:02:47 UTC, "created_at"=>2013-04-23 09:02:47 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51764e37c82cd1f169000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51764e37c82cd1f169000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-23 09:02:47 UTC, "created_at"=>2013-04-23 09:02:47 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f16900000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764e37c82cd1f169000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51764e37c82cd1f169000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764e37c82cd1f169000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764e37c82cd1f16900000a'), "_type"=>"Locomotive::ContentEntry51764e37c82cd1f169000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764e37c82cd1f169000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764e37c82cd1f169000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-23 09:02:47 UTC, "site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:02:47 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764e37c82cd1f169000007", :_original_id=>BSON::ObjectId('51764e37c82cd1f16900000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764e37c82cd1f16900000b'), "_original_type"=>"Locomotive::ContentEntry51764e37c82cd1f169000007", "_original_id"=>BSON::ObjectId('51764e37c82cd1f16900000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f16900000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51764e37c82cd1f169000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51764e37c82cd1f169000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764e37c82cd1f169000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51764e37c82cd1f16900000c'), "_type"=>"Locomotive::ContentEntry51764e37c82cd1f169000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51764e37c82cd1f169000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764e37c82cd1f169000007'), "_slug"=>"hidden", "updated_at"=>2013-04-23 09:02:47 UTC, "site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:02:47 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764e37c82cd1f169000007", :_original_id=>BSON::ObjectId('51764e37c82cd1f16900000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764e37c82cd1f16900000d'), "_original_type"=>"Locomotive::ContentEntry51764e37c82cd1f169000007", "_original_id"=>BSON::ObjectId('51764e37c82cd1f16900000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :parent_id=>BSON::ObjectId('51764e37c82cd1f169000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764e37c82cd1f169000004'), :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f16900000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764e37c82cd1f169000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764e37c82cd1f16900000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "parent_id"=>BSON::ObjectId('51764e37c82cd1f169000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:02:47 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-23 09:02:47 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f16900000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764e37c82cd1f16900000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f16900000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764e37c82cd1f16900000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51764e37c82cd1f169000001')}, "_id"=>BSON::ObjectId('51764e37c82cd1f16900000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764e37c82cd1f16900000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :parent_id=>BSON::ObjectId('51764e37c82cd1f169000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764e37c82cd1f169000004'), :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764e37c82cd1f169000004'), :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('51764e37c82cd1f169000004'), :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764e37c82cd1f169000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764e37c82cd1f169000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "parent_id"=>BSON::ObjectId('51764e37c82cd1f169000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:02:47 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-23 09:02:47 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764e37c82cd1f169000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764e37c82cd1f169000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('51764e37c82cd1f169000001')}, "_id"=>BSON::ObjectId('51764e37c82cd1f169000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764e37c82cd1f169000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('51764e37c82cd1f169000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('51764e37c82cd1f169000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764e37c82cd1f169000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('51764e37c82cd1f169000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('51764e37c82cd1f169000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('51764e37c82cd1f169000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-23 09:02:46 UTC, "updated_at"=>2013-04-23 09:02:47 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764e37c82cd1f169000013'), "account_id"=>BSON::ObjectId('51764e37c82cd1f169000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764e37c82cd1f169000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764e37c82cd1f169000012'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764e37c82cd1f169000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764e37c82cd1f169000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:02:47 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:02:47 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764e37c82cd1f169000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764e37c82cd1f169000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764e37c82cd1f169000012')}, "_id"=>BSON::ObjectId('51764e37c82cd1f169000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764e37c82cd1f169000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764e37c82cd1f169000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764e37c82cd1f169000012'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764e37c82cd1f169000012'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764e37c82cd1f169000012'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764e37c82cd1f169000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764e37c82cd1f169000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:02:47 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:02:47 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764e37c82cd1f169000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('51764e37c82cd1f169000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764e37c82cd1f169000012'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764e37c82cd1f169000012'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764e37c82cd1f169000012'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764e37c82cd1f169000017'), "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"=>BSON::ObjectId('51764e37c82cd1f169000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:02:47 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-23 09:02:47 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764e37c82cd1f169000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764e37c82cd1f169000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('51764e37c82cd1f169000012')}, "_id"=>BSON::ObjectId('51764e37c82cd1f169000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764e37c82cd1f169000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764e37c82cd1f169000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764e37c82cd1f169000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764e37c82cd1f169000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-23 09:02:47 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764e37c82cd1f16900001a'), "created_at"=>2013-04-23 09:02:47 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764e37c82cd1f16900001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 09:02:47 UTC, "created_at"=>2013-04-23 09:02:47 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f16900001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764e37c82cd1f169000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('51764e37c82cd1f169000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764e37c82cd1f169000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764e37c82cd1f16900001b'), "_type"=>"Locomotive::ContentEntry51764e37c82cd1f169000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764e37c82cd1f169000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764e37c82cd1f169000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-23 09:02:47 UTC, "site_id"=>BSON::ObjectId('51764e37c82cd1f169000012'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:02:47 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764e37c82cd1f169000019", :_original_id=>BSON::ObjectId('51764e37c82cd1f16900001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('51764e37c82cd1f169000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764e37c82cd1f16900001c'), "_original_type"=>"Locomotive::ContentEntry51764e37c82cd1f169000019", "_original_id"=>BSON::ObjectId('51764e37c82cd1f16900001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-23 11:02:48 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 23ms (Views: 18.7ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-23 11:02:48 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), :_keywords=>{"$in"=>["findable", "en:findable"]}}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.3ms) Started GET "/findable" for 127.0.0.1 at 2013-04-23 11:02:48 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"path"=>"findable"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), :depth=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.4ms) Started GET "/" for 127.0.0.1 at 2013-04-23 11:02:48 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.2ms) Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-04-23 11:02:48 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), :_keywords=>{"$in"=>["not", "found", "en:not", "en:found"]}}) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.2ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51764f82c82cd1f252000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"jrQ6xiAjE4pyhEmzqAum", "encrypted_password"=>"7511449026cd8134e1c9b4f2cf66fb1a8fc0b0bf", "updated_at"=>2013-04-23 09:08:18 UTC, "created_at"=>2013-04-23 09:08:18 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-23 09:08:18 UTC, "updated_at"=>2013-04-23 09:08:18 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764f82c82cd1f252000003'), "account_id"=>BSON::ObjectId('51764f82c82cd1f252000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51764f82c82cd1f250000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"5kjwtDe2J9nUVxqzvM1S", "encrypted_password"=>"fc0caca851b5f7a54ee0dbe257d7272bfe64b06d", "updated_at"=>2013-04-23 09:08:18 UTC, "created_at"=>2013-04-23 09:08:18 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51764f82c82cd1f250000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-23 09:08:18 UTC, "updated_at"=>2013-04-23 09:08:18 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764f82c82cd1f250000003'), "account_id"=>BSON::ObjectId('51764f82c82cd1f250000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :_id=>{"$ne"=>BSON::ObjectId('51764f82c82cd1f252000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764f82c82cd1f252000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:08:18 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:08:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764f82c82cd1f252000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764f82c82cd1f252000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764f82c82cd1f252000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764f82c82cd1f252000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764f82c82cd1f252000001')}, "_id"=>BSON::ObjectId('51764f82c82cd1f252000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764f82c82cd1f252000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :_id=>{"$ne"=>BSON::ObjectId('51764f82c82cd1f252000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :_id=>{"$ne"=>BSON::ObjectId('51764f82c82cd1f252000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :_id=>{"$ne"=>BSON::ObjectId('51764f82c82cd1f252000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764f82c82cd1f252000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:08:18 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:08:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764f82c82cd1f252000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764f82c82cd1f252000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764f82c82cd1f252000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764f82c82cd1f250000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764f82c82cd1f250000001'), :_id=>{"$ne"=>BSON::ObjectId('51764f82c82cd1f250000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764f82c82cd1f250000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764f82c82cd1f250000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:08:18 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:08:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764f82c82cd1f250000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764f82c82cd1f250000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764f82c82cd1f250000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764f82c82cd1f250000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764f82c82cd1f250000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764f82c82cd1f250000001')}, "_id"=>BSON::ObjectId('51764f82c82cd1f250000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764f82c82cd1f250000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764f82c82cd1f250000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764f82c82cd1f250000001'), :_id=>{"$ne"=>BSON::ObjectId('51764f82c82cd1f250000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764f82c82cd1f250000001'), :_id=>{"$ne"=>BSON::ObjectId('51764f82c82cd1f250000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764f82c82cd1f250000001'), :_id=>{"$ne"=>BSON::ObjectId('51764f82c82cd1f250000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764f82c82cd1f250000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764f82c82cd1f250000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:08:18 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:08:18 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764f82c82cd1f250000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764f82c82cd1f250000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764f82c82cd1f250000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764f82c82cd1f250000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764f82c82cd1f252000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764f82c82cd1f252000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-23 09:08:18 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764f82c82cd1f252000008'), "created_at"=>2013-04-23 09:08:18 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764f82c82cd1f252000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 09:08:18 UTC, "created_at"=>2013-04-23 09:08:18 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51764f82c82cd1f252000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51764f82c82cd1f252000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-23 09:08:18 UTC, "created_at"=>2013-04-23 09:08:18 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764f82c82cd1f25200000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764f82c82cd1f252000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51764f82c82cd1f252000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764f82c82cd1f252000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764f82c82cd1f25200000a'), "_type"=>"Locomotive::ContentEntry51764f82c82cd1f252000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764f82c82cd1f252000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764f82c82cd1f252000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-23 09:08:18 UTC, "site_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:08:18 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764f82c82cd1f252000007", :_original_id=>BSON::ObjectId('51764f82c82cd1f25200000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764f82c82cd1f25200000b'), "_original_type"=>"Locomotive::ContentEntry51764f82c82cd1f252000007", "_original_id"=>BSON::ObjectId('51764f82c82cd1f25200000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764f82c82cd1f250000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764f82c82cd1f250000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764f82c82cd1f250000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-23 09:08:18 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764f82c82cd1f250000008'), "created_at"=>2013-04-23 09:08:18 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764f82c82cd1f250000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 09:08:18 UTC, "created_at"=>2013-04-23 09:08:18 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51764f82c82cd1f250000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51764f83c82cd1f250000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-23 09:08:19 UTC, "created_at"=>2013-04-23 09:08:19 UTC}}}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764f82c82cd1f25200000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51764f82c82cd1f252000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51764f82c82cd1f252000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764f82c82cd1f252000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51764f82c82cd1f25200000c'), "_type"=>"Locomotive::ContentEntry51764f82c82cd1f252000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51764f82c82cd1f252000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764f82c82cd1f252000007'), "_slug"=>"hidden", "updated_at"=>2013-04-23 09:08:19 UTC, "site_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:08:19 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764f82c82cd1f252000007", :_original_id=>BSON::ObjectId('51764f82c82cd1f25200000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764f83c82cd1f25200000d'), "_original_type"=>"Locomotive::ContentEntry51764f82c82cd1f252000007", "_original_id"=>BSON::ObjectId('51764f82c82cd1f25200000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :parent_id=>BSON::ObjectId('51764f82c82cd1f252000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764f82c82cd1f252000004'), :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :_id=>{"$ne"=>BSON::ObjectId('51764f83c82cd1f25200000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764f82c82cd1f252000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764f82c82cd1f252000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764f83c82cd1f25200000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "parent_id"=>BSON::ObjectId('51764f82c82cd1f252000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:08:19 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-23 09:08:19 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764f83c82cd1f25200000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764f83c82cd1f25200000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764f83c82cd1f25200000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764f83c82cd1f25200000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51764f82c82cd1f252000001')}, "_id"=>BSON::ObjectId('51764f83c82cd1f25200000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764f83c82cd1f25200000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :parent_id=>BSON::ObjectId('51764f82c82cd1f252000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764f82c82cd1f252000004'), :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :_id=>{"$ne"=>BSON::ObjectId('51764f83c82cd1f252000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764f83c82cd1f25000000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764f82c82cd1f250000007"]}}) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764f82c82cd1f252000004'), :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :_id=>{"$ne"=>BSON::ObjectId('51764f83c82cd1f252000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51764f82c82cd1f250000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('51764f82c82cd1f252000004'), :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :_id=>{"$ne"=>BSON::ObjectId('51764f83c82cd1f252000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764f82c82cd1f252000004')]}}) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764f82c82cd1f250000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764f82c82cd1f252000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764f83c82cd1f252000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "parent_id"=>BSON::ObjectId('51764f82c82cd1f252000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:08:19 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-23 09:08:19 UTC}]) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764f83c82cd1f25000000a'), "_type"=>"Locomotive::ContentEntry51764f82c82cd1f250000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764f82c82cd1f250000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764f82c82cd1f250000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-23 09:08:19 UTC, "site_id"=>BSON::ObjectId('51764f82c82cd1f250000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:08:19 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764f83c82cd1f252000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764f82c82cd1f250000007", :_original_id=>BSON::ObjectId('51764f83c82cd1f25000000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764f83c82cd1f252000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764f83c82cd1f252000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764f83c82cd1f252000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51764f82c82cd1f250000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764f83c82cd1f25000000b'), "_original_type"=>"Locomotive::ContentEntry51764f82c82cd1f250000007", "_original_id"=>BSON::ObjectId('51764f83c82cd1f25000000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('51764f82c82cd1f252000001')}, "_id"=>BSON::ObjectId('51764f83c82cd1f252000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764f83c82cd1f252000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764f83c82cd1f25000000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51764f82c82cd1f250000007"]}}) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('51764f82c82cd1f252000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51764f82c82cd1f250000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764f82c82cd1f250000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51764f83c82cd1f25000000c'), "_type"=>"Locomotive::ContentEntry51764f82c82cd1f250000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51764f82c82cd1f250000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764f82c82cd1f250000007'), "_slug"=>"hidden", "updated_at"=>2013-04-23 09:08:19 UTC, "site_id"=>BSON::ObjectId('51764f82c82cd1f250000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:08:19 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764f82c82cd1f250000007", :_original_id=>BSON::ObjectId('51764f83c82cd1f25000000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51764f82c82cd1f250000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764f83c82cd1f25000000d'), "_original_type"=>"Locomotive::ContentEntry51764f82c82cd1f250000007", "_original_id"=>BSON::ObjectId('51764f83c82cd1f25000000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].find({:subdomain=>"acme"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"acme"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["acme.example.com"], "_id"=>BSON::ObjectId('51764f83c82cd1f250000010'), "name"=>"Acme Website", "subdomain"=>"acme", "created_at"=>2013-04-23 09:08:18 UTC, "updated_at"=>2013-04-23 09:08:19 UTC}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764f83c82cd1f250000010'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764f83c82cd1f250000010'), :_id=>{"$ne"=>BSON::ObjectId('51764f83c82cd1f250000011')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764f83c82cd1f250000011'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764f83c82cd1f250000010'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:08:19 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:08:19 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764f83c82cd1f250000010'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764f83c82cd1f250000011')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764f83c82cd1f250000011')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764f83c82cd1f250000011')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764f83c82cd1f250000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764f83c82cd1f250000010')}, "_id"=>BSON::ObjectId('51764f83c82cd1f250000012'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764f83c82cd1f250000011'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764f83c82cd1f250000010'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764f83c82cd1f250000010'), :_id=>{"$ne"=>BSON::ObjectId('51764f83c82cd1f250000013')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764f83c82cd1f250000010'), :_id=>{"$ne"=>BSON::ObjectId('51764f83c82cd1f250000013')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764f83c82cd1f250000010'), :_id=>{"$ne"=>BSON::ObjectId('51764f83c82cd1f250000013')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764f83c82cd1f250000013'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764f83c82cd1f250000010'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:08:19 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:08:19 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764f83c82cd1f250000010'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764f83c82cd1f250000013')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764f83c82cd1f250000013')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764f83c82cd1f250000013')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764f83c82cd1f250000010'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51764fa2c82cd1f275000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"Kzp9af3qwQvWmZvupTyP", "encrypted_password"=>"10637349a8dab6d64994d9c1f4542e6a8da72103", "updated_at"=>2013-04-23 09:08:50 UTC, "created_at"=>2013-04-23 09:08:50 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-23 09:08:50 UTC, "updated_at"=>2013-04-23 09:08:50 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764fa2c82cd1f275000003'), "account_id"=>BSON::ObjectId('51764fa2c82cd1f275000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fa2c82cd1f275000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fa2c82cd1f275000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:08:50 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:08:50 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fa2c82cd1f275000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fa2c82cd1f275000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fa2c82cd1f275000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fa2c82cd1f275000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001')}, "_id"=>BSON::ObjectId('51764fa2c82cd1f275000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fa2c82cd1f275000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fa2c82cd1f275000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fa2c82cd1f275000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fa2c82cd1f275000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fa2c82cd1f275000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:08:50 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:08:50 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fa2c82cd1f275000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fa2c82cd1f275000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fa2c82cd1f275000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764fa2c82cd1f275000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-23 09:08:50 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764fa2c82cd1f275000008'), "created_at"=>2013-04-23 09:08:50 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764fa2c82cd1f275000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 09:08:50 UTC, "created_at"=>2013-04-23 09:08:50 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51764fa2c82cd1f275000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51764fa2c82cd1f275000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-23 09:08:50 UTC, "created_at"=>2013-04-23 09:08:50 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764fa2c82cd1f27500000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764fa2c82cd1f275000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51764fa2c82cd1f275000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764fa2c82cd1f275000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764fa2c82cd1f27500000a'), "_type"=>"Locomotive::ContentEntry51764fa2c82cd1f275000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764fa2c82cd1f275000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764fa2c82cd1f275000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-23 09:08:50 UTC, "site_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:08:50 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764fa2c82cd1f275000007", :_original_id=>BSON::ObjectId('51764fa2c82cd1f27500000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764fa2c82cd1f27500000b'), "_original_type"=>"Locomotive::ContentEntry51764fa2c82cd1f275000007", "_original_id"=>BSON::ObjectId('51764fa2c82cd1f27500000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764fa2c82cd1f27500000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51764fa2c82cd1f275000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51764fa2c82cd1f275000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764fa2c82cd1f275000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51764fa2c82cd1f27500000c'), "_type"=>"Locomotive::ContentEntry51764fa2c82cd1f275000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51764fa2c82cd1f275000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764fa2c82cd1f275000007'), "_slug"=>"hidden", "updated_at"=>2013-04-23 09:08:50 UTC, "site_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:08:50 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764fa2c82cd1f275000007", :_original_id=>BSON::ObjectId('51764fa2c82cd1f27500000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764fa2c82cd1f27500000d'), "_original_type"=>"Locomotive::ContentEntry51764fa2c82cd1f275000007", "_original_id"=>BSON::ObjectId('51764fa2c82cd1f27500000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :parent_id=>BSON::ObjectId('51764fa2c82cd1f275000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fa2c82cd1f275000004'), :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fa2c82cd1f27500000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764fa2c82cd1f275000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764fa2c82cd1f275000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fa2c82cd1f27500000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "parent_id"=>BSON::ObjectId('51764fa2c82cd1f275000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:08:50 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-23 09:08:50 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fa2c82cd1f27500000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fa2c82cd1f27500000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fa2c82cd1f27500000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fa2c82cd1f27500000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001')}, "_id"=>BSON::ObjectId('51764fa2c82cd1f27500000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fa2c82cd1f27500000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :parent_id=>BSON::ObjectId('51764fa2c82cd1f275000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fa2c82cd1f275000004'), :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fa2c82cd1f275000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fa2c82cd1f275000004'), :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fa2c82cd1f275000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('51764fa2c82cd1f275000004'), :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fa2c82cd1f275000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764fa2c82cd1f275000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764fa2c82cd1f275000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fa2c82cd1f275000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "parent_id"=>BSON::ObjectId('51764fa2c82cd1f275000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:08:50 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-23 09:08:50 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fa2c82cd1f275000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fa2c82cd1f275000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fa2c82cd1f275000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fa2c82cd1f275000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001')}, "_id"=>BSON::ObjectId('51764fa2c82cd1f275000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fa2c82cd1f275000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('51764fa2c82cd1f275000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51764fafc82cd1f28d000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"N9aJC5s4tPLdpdMVcS4k", "encrypted_password"=>"c627958d4fabd67713cbeae9791b75e0e8595fe2", "updated_at"=>2013-04-23 09:09:03 UTC, "created_at"=>2013-04-23 09:09:03 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-23 09:09:03 UTC, "updated_at"=>2013-04-23 09:09:03 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764fafc82cd1f28d000003'), "account_id"=>BSON::ObjectId('51764fafc82cd1f28d000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:09:04 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:04 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fb0c82cd1f28d000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fb0c82cd1f28d000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001')}, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fb0c82cd1f28d000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:09:04 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:04 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fb0c82cd1f28d000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-23 09:09:04 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764fb0c82cd1f28d000008'), "created_at"=>2013-04-23 09:09:04 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 09:09:04 UTC, "created_at"=>2013-04-23 09:09:04 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51764fb0c82cd1f28d000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-23 09:09:04 UTC, "created_at"=>2013-04-23 09:09:04 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d00000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764fb0c82cd1f28d000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51764fb0c82cd1f28d000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764fb0c82cd1f28d000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d00000a'), "_type"=>"Locomotive::ContentEntry51764fb0c82cd1f28d000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764fb0c82cd1f28d000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764fb0c82cd1f28d000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-23 09:09:04 UTC, "site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:09:04 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764fb0c82cd1f28d000007", :_original_id=>BSON::ObjectId('51764fb0c82cd1f28d00000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d00000b'), "_original_type"=>"Locomotive::ContentEntry51764fb0c82cd1f28d000007", "_original_id"=>BSON::ObjectId('51764fb0c82cd1f28d00000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d00000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51764fb0c82cd1f28d000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51764fb0c82cd1f28d000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764fb0c82cd1f28d000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d00000c'), "_type"=>"Locomotive::ContentEntry51764fb0c82cd1f28d000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51764fb0c82cd1f28d000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764fb0c82cd1f28d000007'), "_slug"=>"hidden", "updated_at"=>2013-04-23 09:09:04 UTC, "site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:09:04 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764fb0c82cd1f28d000007", :_original_id=>BSON::ObjectId('51764fb0c82cd1f28d00000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d00000d'), "_original_type"=>"Locomotive::ContentEntry51764fb0c82cd1f28d000007", "_original_id"=>BSON::ObjectId('51764fb0c82cd1f28d00000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :parent_id=>BSON::ObjectId('51764fb0c82cd1f28d000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fb0c82cd1f28d000004'), :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d00000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764fb0c82cd1f28d000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fb0c82cd1f28d00000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "parent_id"=>BSON::ObjectId('51764fb0c82cd1f28d000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:09:04 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:04 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d00000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fb0c82cd1f28d00000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d00000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fb0c82cd1f28d00000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001')}, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d00000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fb0c82cd1f28d00000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :parent_id=>BSON::ObjectId('51764fb0c82cd1f28d000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fb0c82cd1f28d000004'), :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fb0c82cd1f28d000004'), :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('51764fb0c82cd1f28d000004'), :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764fb0c82cd1f28d000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "parent_id"=>BSON::ObjectId('51764fb0c82cd1f28d000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:09:04 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:04 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fb0c82cd1f28d000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fb0c82cd1f28d000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001')}, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fb0c82cd1f28d000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('51764fafc82cd1f28d000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('51764fb0c82cd1f28d000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fb0c82cd1f28d000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('51764fb0c82cd1f28d000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-23 09:09:03 UTC, "updated_at"=>2013-04-23 09:09:04 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000013'), "account_id"=>BSON::ObjectId('51764fafc82cd1f28d000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764fb0c82cd1f28d000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:09:04 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:04 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fb0c82cd1f28d000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fb0c82cd1f28d000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fb0c82cd1f28d000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012')}, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fb0c82cd1f28d000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764fb0c82cd1f28d000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:09:04 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:04 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fb0c82cd1f28d000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fb0c82cd1f28d000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000017'), "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"=>BSON::ObjectId('51764fb0c82cd1f28d000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:09:04 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:04 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fb0c82cd1f28d000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fb0c82cd1f28d000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fb0c82cd1f28d000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012')}, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fb0c82cd1f28d000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764fb0c82cd1f28d000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-23 09:09:04 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764fb0c82cd1f28d00001a'), "created_at"=>2013-04-23 09:09:04 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d00001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 09:09:04 UTC, "created_at"=>2013-04-23 09:09:04 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d00001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764fb0c82cd1f28d000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('51764fb0c82cd1f28d000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764fb0c82cd1f28d000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d00001b'), "_type"=>"Locomotive::ContentEntry51764fb0c82cd1f28d000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764fb0c82cd1f28d000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764fb0c82cd1f28d000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-23 09:09:04 UTC, "site_id"=>BSON::ObjectId('51764fb0c82cd1f28d000012'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:09:04 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764fb0c82cd1f28d000019", :_original_id=>BSON::ObjectId('51764fb0c82cd1f28d00001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d00001c'), "_original_type"=>"Locomotive::ContentEntry51764fb0c82cd1f28d000019", "_original_id"=>BSON::ObjectId('51764fb0c82cd1f28d00001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-23 11:09:05 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 23ms (Views: 18.3ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-23 11:09:05 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), :_keywords=>{"$in"=>["findable", "en:findable"]}}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.3ms) Started GET "/findable" for 127.0.0.1 at 2013-04-23 11:09:05 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"path"=>"findable"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), :depth=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.4ms) Started GET "/" for 127.0.0.1 at 2013-04-23 11:09:05 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.2ms) Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-04-23 11:09:05 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), :_keywords=>{"$in"=>["not", "found", "en:not", "en:found"]}}) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.3ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"ikoE8qt3TugG9pRQnFZx", "encrypted_password"=>"536d9dea6cb86ae9735171b12c06450ab14caead", "updated_at"=>2013-04-23 09:09:17 UTC, "created_at"=>2013-04-23 09:09:17 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-23 09:09:17 UTC, "updated_at"=>2013-04-23 09:09:17 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000003'), "account_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:09:17 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:17 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fbdc82cd1f2a1000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001')}, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:09:17 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:17 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-23 09:09:17 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000008'), "created_at"=>2013-04-23 09:09:17 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 09:09:17 UTC, "created_at"=>2013-04-23 09:09:17 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-23 09:09:17 UTC, "created_at"=>2013-04-23 09:09:17 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a100000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764fbdc82cd1f2a1000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51764fbdc82cd1f2a1000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764fbdc82cd1f2a1000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a100000a'), "_type"=>"Locomotive::ContentEntry51764fbdc82cd1f2a1000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764fbdc82cd1f2a1000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-23 09:09:17 UTC, "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:09:17 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764fbdc82cd1f2a1000007", :_original_id=>BSON::ObjectId('51764fbdc82cd1f2a100000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a100000b'), "_original_type"=>"Locomotive::ContentEntry51764fbdc82cd1f2a1000007", "_original_id"=>BSON::ObjectId('51764fbdc82cd1f2a100000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a100000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51764fbdc82cd1f2a1000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51764fbdc82cd1f2a1000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764fbdc82cd1f2a1000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a100000c'), "_type"=>"Locomotive::ContentEntry51764fbdc82cd1f2a1000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51764fbdc82cd1f2a1000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000007'), "_slug"=>"hidden", "updated_at"=>2013-04-23 09:09:17 UTC, "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:09:17 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764fbdc82cd1f2a1000007", :_original_id=>BSON::ObjectId('51764fbdc82cd1f2a100000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a100000d'), "_original_type"=>"Locomotive::ContentEntry51764fbdc82cd1f2a1000007", "_original_id"=>BSON::ObjectId('51764fbdc82cd1f2a100000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :parent_id=>BSON::ObjectId('51764fbdc82cd1f2a1000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fbdc82cd1f2a1000004'), :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a100000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764fbdc82cd1f2a1000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fbdc82cd1f2a100000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "parent_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:09:17 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:17 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a100000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fbdc82cd1f2a100000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a100000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fbdc82cd1f2a100000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001')}, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a100000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fbdc82cd1f2a100000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :parent_id=>BSON::ObjectId('51764fbdc82cd1f2a1000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fbdc82cd1f2a1000004'), :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fbdc82cd1f2a1000004'), :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('51764fbdc82cd1f2a1000004'), :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764fbdc82cd1f2a1000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "parent_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:09:17 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:17 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fbdc82cd1f2a1000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001')}, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000004')}, {"$set"=>{"raw_template"=>{"en"=>"\n
\n \n \n \n
"}, "serialized_template"=>{"en"=>}}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fbdc82cd1f2a1000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001')}}}) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-23 09:09:17 UTC, "updated_at"=>2013-04-23 09:09:17 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000013'), "account_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000002')}]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000014')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:09:17 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:17 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000014')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000014')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fbdc82cd1f2a1000014')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012')}, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000014'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000016')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000016')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000016')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:09:17 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:17 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000016')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000016')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000017')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000017')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000017')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000017'), "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"=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:09:17 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:17 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000017')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000017')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fbdc82cd1f2a1000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012')}, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000017'), "_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"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-23 09:09:17 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764fbdc82cd1f2a100001a'), "created_at"=>2013-04-23 09:09:17 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a100001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 09:09:17 UTC, "created_at"=>2013-04-23 09:09:17 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a100001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764fbdc82cd1f2a1000019"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('51764fbdc82cd1f2a1000019')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764fbdc82cd1f2a1000019"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a100001b'), "_type"=>"Locomotive::ContentEntry51764fbdc82cd1f2a1000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764fbdc82cd1f2a1000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-23 09:09:17 UTC, "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:09:17 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764fbdc82cd1f2a1000019", :_original_id=>BSON::ObjectId('51764fbdc82cd1f2a100001b')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a100001c'), "_original_type"=>"Locomotive::ContentEntry51764fbdc82cd1f2a1000019", "_original_id"=>BSON::ObjectId('51764fbdc82cd1f2a100001b'), "_keywords"=>["not", "findable", "entry"]}]) Started GET "/" for 127.0.0.1 at 2013-04-23 11:09:17 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 24ms (Views: 19.4ms) Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-23 11:09:18 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :_keywords=>{"$in"=>["findable", "en:findable"]}}) Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 0.4ms) Started GET "/findable" for 127.0.0.1 at 2013-04-23 11:09:18 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"path"=>"findable"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :depth=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 0.4ms) Started GET "/" for 127.0.0.1 at 2013-04-23 11:09:18 +0200 Processing by Locomotive::Public::PagesController#show as HTML [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]]) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.2ms) Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-04-23 11:09:18 +0200 Processing by Locomotive::Public::PagesController#show as HTML Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"} [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :_keywords=>{"$in"=>["not", "found", "en:not", "en:found"]}}) Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 0.2ms) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production. MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_types'].find({}) Creating scope :root. Overwriting existing method Locomotive::Page.root. Creating scope :root. Overwriting existing method Locomotive::Page.root. MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"AaeJfYCRBJNJhmnKxLZ7", "encrypted_password"=>"e15cc427ccf5267a4a2e431b4dfdb6a8aed2f037", "updated_at"=>2013-04-23 09:09:43 UTC, "created_at"=>2013-04-23 09:09:43 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-23 09:09:43 UTC, "updated_at"=>2013-04-23 09:09:43 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000003'), "account_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"MEhWiuvunqmNTmftFGm7", "encrypted_password"=>"50c8b1b4e102a60401d1d440b801debd51c9fe4f", "updated_at"=>2013-04-23 09:09:43 UTC, "created_at"=>2013-04-23 09:09:43 UTC}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-23 09:09:43 UTC, "updated_at"=>2013-04-23 09:09:43 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000003'), "account_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000002')}]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2b8000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:09:44 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:44 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2b8000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2b8000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fd8c82cd1f2b8000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001')}, "_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2b8000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2b8000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2ba000004')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2b8000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:09:44 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:44 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:09:44 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:44 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000004')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2b8000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2ba000004')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2ba000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2b8000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fd8c82cd1f2ba000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001')}, "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000004'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2ba000006')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2ba000006')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2ba000006')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:09:44 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:44 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2ba000006')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000006')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2ba000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-23 09:09:44 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000008'), "created_at"=>2013-04-23 09:09:44 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 09:09:44 UTC, "created_at"=>2013-04-23 09:09:44 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-23 09:09:44 UTC, "created_at"=>2013-04-23 09:09:44 UTC}}}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2b800000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764fd8c82cd1f2b8000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51764fd8c82cd1f2b8000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764fd8c82cd1f2b8000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764fd8c82cd1f2b800000a'), "_type"=>"Locomotive::ContentEntry51764fd8c82cd1f2b8000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764fd8c82cd1f2b8000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-23 09:09:44 UTC, "site_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:09:44 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764fd8c82cd1f2b8000007", :_original_id=>BSON::ObjectId('51764fd8c82cd1f2b800000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764fd8c82cd1f2b800000b'), "_original_type"=>"Locomotive::ContentEntry51764fd8c82cd1f2b8000007", "_original_id"=>BSON::ObjectId('51764fd8c82cd1f2b800000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), "serialized_item_template"=>, "slug"=>"examples", "updated_at"=>2013-04-23 09:09:44 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000008'), "created_at"=>2013-04-23 09:09:44 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 09:09:44 UTC, "created_at"=>2013-04-23 09:09:44 UTC}]}]) MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-23 09:09:44 UTC, "created_at"=>2013-04-23 09:09:44 UTC}}}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2b800000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51764fd8c82cd1f2b8000007"]}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51764fd8c82cd1f2b8000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764fd8c82cd1f2b8000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51764fd8c82cd1f2b800000c'), "_type"=>"Locomotive::ContentEntry51764fd8c82cd1f2b8000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51764fd8c82cd1f2b8000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000007'), "_slug"=>"hidden", "updated_at"=>2013-04-23 09:09:44 UTC, "site_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:09:44 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764fd8c82cd1f2b8000007", :_original_id=>BSON::ObjectId('51764fd8c82cd1f2b800000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764fd8c82cd1f2b800000d'), "_original_type"=>"Locomotive::ContentEntry51764fd8c82cd1f2b8000007", "_original_id"=>BSON::ObjectId('51764fd8c82cd1f2b800000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :parent_id=>BSON::ObjectId('51764fd8c82cd1f2b8000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fd8c82cd1f2b8000004'), :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2b800000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2b8000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764fd8c82cd1f2b8000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fd8c82cd1f2b800000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "parent_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:09:44 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:44 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2b800000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fd8c82cd1f2b800000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2b800000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fd8c82cd1f2b800000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001')}, "_id"=>BSON::ObjectId('51764fd8c82cd1f2b800000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fd8c82cd1f2b800000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2ba00000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764fd8c82cd1f2ba000007"]}}) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51764fd8c82cd1f2ba000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :parent_id=>BSON::ObjectId('51764fd8c82cd1f2b8000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764fd8c82cd1f2ba000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba00000a'), "_type"=>"Locomotive::ContentEntry51764fd8c82cd1f2ba000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764fd8c82cd1f2ba000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-23 09:09:44 UTC, "site_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:09:44 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fd8c82cd1f2b8000004'), :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2b8000010')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fd8c82cd1f2b8000004'), :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2b8000010')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764fd8c82cd1f2ba000007", :_original_id=>BSON::ObjectId('51764fd8c82cd1f2ba00000a')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba00000b'), "_original_type"=>"Locomotive::ContentEntry51764fd8c82cd1f2ba000007", "_original_id"=>BSON::ObjectId('51764fd8c82cd1f2ba00000a'), "_keywords"=>["findable", "entry"]}]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>BSON::ObjectId('51764fd8c82cd1f2b8000004'), :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2b8000010')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2b8000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764fd8c82cd1f2b8000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000010'), "raw_template"=>{"en"=>" \n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "parent_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:09:44 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:44 UTC}]) MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2ba00000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51764fd8c82cd1f2ba000007"]}}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2b8000010')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51764fd8c82cd1f2ba000007')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000010')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2b8000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fd8c82cd1f2b8000010')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=>, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764fd8c82cd1f2ba000007"]}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001')}, "_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000010'), "_keywords"=>["en:search"]}]) MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba00000c'), "_type"=>"Locomotive::ContentEntry51764fd8c82cd1f2ba000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51764fd8c82cd1f2ba000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000007'), "_slug"=>"hidden", "updated_at"=>2013-04-23 09:09:44 UTC, "site_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:09:44 UTC}]) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764fd8c82cd1f2ba000007", :_original_id=>BSON::ObjectId('51764fd8c82cd1f2ba00000c')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba00000d'), "_original_type"=>"Locomotive::ContentEntry51764fd8c82cd1f2ba000007", "_original_id"=>BSON::ObjectId('51764fd8c82cd1f2ba00000c'), "_keywords"=>["hidden"]}]) MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), :parent_id=>BSON::ObjectId('51764fd8c82cd1f2b8000004')}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fd8c82cd1f2b8000004'), :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2ba00000e')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2b8000004')]}}) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764fd8c82cd1f2b8000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba00000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), "parent_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000004'), "serialized_template"=>{"en"=>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:09:44 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:44 UTC}]) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2ba00000e')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fd8c82cd1f2ba00000e')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2ba00000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fd8c82cd1f2ba00000e')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001')}, "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba00000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fd8c82cd1f2ba00000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}]) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_sites'].find({:subdomain=>"acme"}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"acme"}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["acme.example.com"], "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000012'), "name"=>"Acme Website", "subdomain"=>"acme", "created_at"=>2013-04-23 09:09:43 UTC, "updated_at"=>2013-04-23 09:09:44 UTC}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764fd8c82cd1f2ba000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fd8c82cd1f2ba000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2ba000013')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000013'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:09:44 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:44 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2ba000013')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000013')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2ba000013')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fd8c82cd1f2ba000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764fd8c82cd1f2ba000012')}, "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000014'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000013'), "_keywords"=>["en:home", "en:page"]}]) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764fd8c82cd1f2ba000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fd8c82cd1f2ba000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2ba000015')}}, {:_id=>1}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fd8c82cd1f2ba000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2ba000015')}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=>, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764fd8c82cd1f2ba000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2ba000015')}}, "initial"=>{:max=>"start"}, "finalize"=>}}).limit(-1) MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000015'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000012'), "serialized_template"=>{"en"=>}, "updated_at"=>2013-04-23 09:09:44 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:44 UTC}]) MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2ba000015')]}}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000015')}).sort([[:position, :asc]]) MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2ba000015')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}}) MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764fd8c82cd1f2ba000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1) MONGODB locomotive_search_test['system.namespaces'].find({}) MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1)