locomotivecms-search 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8895f972c87838044212670163ca58749c2f8068
4
- data.tar.gz: b2849c119c663c406a9a8aceccc49084a8151260
3
+ metadata.gz: e0d77a299d4c7359a025c73c1b4fb26827bccfa7
4
+ data.tar.gz: f1aa0dafcd6ed41e9a3bedc75e2a8ddaf5d52632
5
5
  SHA512:
6
- metadata.gz: 6c6935a260dd2a32c4f81f7a607f83001086848bd29dc1f79761d2bf9b244fe14892a1d346f61aeb1895fff53e023d68b7f8f19a9f375dfeffbd799c85bbd0fa
7
- data.tar.gz: 1e6f22dcb6c44c6a1f061907ed14b8fd135ecab3f9aa43d6f44397afab80cddb989b914799cc8692c08b562d804f19b4bec9d1d25f2c78b90b5be7b7c3bce6cf
6
+ metadata.gz: e97309380916b168800477fd67afe3f58ee99617f827fcc3c043817dca0ac9c7f7664d5e219be9f36ab490707f870469c925a3e654bbd495fd903a4c22e61295
7
+ data.tar.gz: f34fbb2c18c6350d6ce9410a4d535a793cb36558c428132229c72fd8ade5cd135e8b5f6aaef8985a5bff69a84783a07cfab854044414d0513863b3a6250bc14f
@@ -1 +1 @@
1
- = @g.input :searchable, as: :'Locomotive::Toggle', wrapper_html: { class: 'toggle' }, input_html: { class: 'searchable' }
1
+ = @g.input :searchable, as: :'Locomotive::Toggle', wrapper_html: { class: 'toggle simple-toggle' }, input_html: { class: 'searchable' }
@@ -1,5 +1,5 @@
1
1
  module Locomotive
2
2
  module Search
3
- VERSION = "0.2.7"
3
+ VERSION = "0.2.8"
4
4
  end
5
5
  end
@@ -16897,3 +16897,1082 @@ Served asset /locomotive/jquery/images/ui-icons_222222_256x240.png - 200 OK (2ms
16897
16897
  MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"active_search_mongoid_models"} (0.8602ms)
16898
16898
  MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (0.8328ms)
16899
16899
  MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (0.8318ms)
16900
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9222ms)
16901
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (30.1158ms)
16902
+ Creating scope :root. Overwriting existing method Locomotive::Page.root.
16903
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4468ms)
16904
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (7.5319ms)
16905
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"email"=>"admin@locomotiveapp.org"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6001ms)
16906
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"52a1acc0247580250b000001", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"5145c90f4b83dbdbcb57af508c3c1631b9c14512", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"ZfqY3wjNAZqzUMxUrnJy", "api_key"=>"c58815ad3deefb7944afd5c496bc95bc8eb976bc", "updated_at"=>2013-12-06 10:53:52 UTC, "created_at"=>2013-12-06 10:53:52 UTC}] flags=[] (0.1929ms)
16907
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (43.7181ms)
16908
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"52a1acc0247580250b000002", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-12-06 10:53:51 UTC, "updated_at"=>2013-12-06 10:53:52 UTC, "memberships"=>[{"_id"=>"52a1acc0247580250b000003", "role"=>"admin", "account_id"=>"52a1acc0247580250b000001"}]}] flags=[] (0.2041ms)
16909
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acc0247580250b000002", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (11.6329ms)
16910
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acc0247580250b000002", "_id"=>{"$ne"=>"52a1acc1247580250b000004"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7401ms)
16911
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acc1247580250b000004", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"52a1acc0247580250b000002", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:53:53 UTC, "created_at"=>2013-12-06 10:53:53 UTC}] flags=[] (0.4101ms)
16912
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc1247580250b000004"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (5.3430ms)
16913
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc0247580250b000002", "template_dependencies.en"=>{"$in"=>["52a1acc1247580250b000004"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4549ms)
16914
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acc1247580250b000004"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1652ms)
16915
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acc0247580250b000002", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.7167ms)
16916
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acc0247580250b000002", "_id"=>{"$ne"=>"52a1acc1247580250b000005"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8390ms)
16917
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acc0247580250b000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4780ms)
16918
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acc1247580250b000005", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"52a1acc0247580250b000002", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:53:53 UTC, "created_at"=>2013-12-06 10:53:53 UTC}] flags=[] (0.2401ms)
16919
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc0247580250b000002", "template_dependencies.en"=>{"$in"=>["52a1acc1247580250b000005"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3431ms)
16920
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc1247580250b000005"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3102ms)
16921
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acc1247580250b000005"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1061ms)
16922
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"52a1acc0247580250b000002", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5140ms)
16923
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"52a1acc1247580250b000006", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"52a1acc0247580250b000002", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"52a1acc2247580250b000007", "updated_at"=>2013-12-06 10:53:54 UTC, "created_at"=>2013-12-06 10:53:54 UTC, "entries_custom_fields"=>[{"_id"=>"52a1acc2247580250b000007", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}]}] flags=[] (0.2410ms)
16924
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"52a1acc1247580250b000006"} update={"$push"=>{"entries_custom_fields"=>{"_id"=>"52a1acc2247580250b000008", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Stuff", "type"=>"text", "searchable"=>false, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"stuff", "updated_at"=>2013-12-06 10:53:54 UTC, "created_at"=>2013-12-06 10:53:54 UTC}}} flags=[] (0.2103ms)
16925
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"52a1acc2247580250b000009"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry52a1acc1247580250b000006"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (7.4229ms)
16926
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"52a1acc1247580250b000006", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4771ms)
16927
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acc1247580250b000006"]}}} (0.3989ms)
16928
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"52a1acc2247580250b000009", "_position"=>0, "_visible"=>true, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry52a1acc1247580250b000006", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry52a1acc1247580250b000006", "content_type_id"=>"52a1acc1247580250b000006", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"52a1acc0247580250b000002", "_label_field_name"=>"name", "updated_at"=>2013-12-06 10:53:54 UTC, "created_at"=>2013-12-06 10:53:54 UTC}] flags=[] (0.1941ms)
16929
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"52a1acc2247580250b00000a"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry52a1acc1247580250b000006"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6030ms)
16930
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"52a1acc1247580250b000006", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3691ms)
16931
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acc1247580250b000006"]}}} (0.4060ms)
16932
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acc1247580250b000006"]}}} (0.4559ms)
16933
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acc1247580250b000006"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.6442ms)
16934
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"52a1acc2247580250b00000a", "_position"=>1, "_visible"=>true, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry52a1acc1247580250b000006", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry52a1acc1247580250b000006", "content_type_id"=>"52a1acc1247580250b000006", "_slug"=>{"en"=>"hidden"}, "site_id"=>"52a1acc0247580250b000002", "_label_field_name"=>"name", "updated_at"=>2013-12-06 10:53:54 UTC, "created_at"=>2013-12-06 10:53:54 UTC}] flags=[] (0.2460ms)
16935
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7048ms)
16936
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acc0247580250b000002", "parent_id"=>"52a1acc1247580250b000004", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5040ms)
16937
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc1247580250b000004", "site_id"=>"52a1acc0247580250b000002", "_id"=>{"$ne"=>"52a1acc3247580250b00000b"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4361ms)
16938
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"52a1acc1247580250b000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6120ms)
16939
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acc3247580250b00000b", "parent_ids"=>["52a1acc1247580250b000004"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>"52a1acc0247580250b000002", "parent_id"=>"52a1acc1247580250b000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:53:55 UTC, "created_at"=>2013-12-06 10:53:55 UTC}] flags=[] (0.2379ms)
16940
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc0247580250b000002", "template_dependencies.en"=>{"$in"=>["52a1acc3247580250b00000b"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4427ms)
16941
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc3247580250b00000b"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4342ms)
16942
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acc3247580250b00000b"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1428ms)
16943
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6311ms)
16944
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acc0247580250b000002", "parent_id"=>"52a1acc1247580250b000004", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4838ms)
16945
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc1247580250b000004", "site_id"=>"52a1acc0247580250b000002", "_id"=>{"$ne"=>"52a1acc4247580250b00000c"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8693ms)
16946
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc1247580250b000004", "site_id"=>"52a1acc0247580250b000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5660ms)
16947
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"52a1acc1247580250b000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6030ms)
16948
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acc4247580250b00000c", "parent_ids"=>["52a1acc1247580250b000004"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>false, "raw_template"=>{"en"=>"Not published, so can't be found"}, "title"=>{"en"=>"Unpublished findable"}, "slug"=>{"en"=>"unpublished-findable"}, "site_id"=>"52a1acc0247580250b000002", "parent_id"=>"52a1acc1247580250b000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:53:56 UTC, "created_at"=>2013-12-06 10:53:56 UTC}] flags=[] (0.3512ms)
16949
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc0247580250b000002", "template_dependencies.en"=>{"$in"=>["52a1acc4247580250b00000c"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4921ms)
16950
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc4247580250b00000c"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3920ms)
16951
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acc4247580250b00000c"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0982ms)
16952
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5658ms)
16953
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acc0247580250b000002", "parent_id"=>"52a1acc1247580250b000004", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4549ms)
16954
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc1247580250b000004", "site_id"=>"52a1acc0247580250b000002", "_id"=>{"$ne"=>"52a1acc4247580250b00000d"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8330ms)
16955
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc1247580250b000004", "site_id"=>"52a1acc0247580250b000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4308ms)
16956
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"52a1acc1247580250b000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6301ms)
16957
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acc4247580250b00000d", "parent_ids"=>["52a1acc1247580250b000004"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>false, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Even if it seems findable, it sound't be found because of the searchable flag"}, "title"=>{"en"=>"Seems findable"}, "slug"=>{"en"=>"seems-findable"}, "site_id"=>"52a1acc0247580250b000002", "parent_id"=>"52a1acc1247580250b000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:53:56 UTC, "created_at"=>2013-12-06 10:53:56 UTC}] flags=[] (0.2768ms)
16958
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc0247580250b000002", "template_dependencies.en"=>{"$in"=>["52a1acc4247580250b00000d"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4432ms)
16959
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc4247580250b00000d"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5541ms)
16960
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acc4247580250b00000d"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1349ms)
16961
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6940ms)
16962
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acc0247580250b000002", "parent_id"=>"52a1acc1247580250b000004", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4816ms)
16963
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc1247580250b000004", "site_id"=>"52a1acc0247580250b000002", "_id"=>{"$ne"=>"52a1acc4247580250b00000e"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8671ms)
16964
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc1247580250b000004", "site_id"=>"52a1acc0247580250b000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5331ms)
16965
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"52a1acc1247580250b000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7241ms)
16966
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acc4247580250b00000e", "parent_ids"=>["52a1acc1247580250b000004"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>" * Search results:\n <ul>\n {% for result in site.search %}\n {% if result.content_type_slug == 'examples' %}\n <li><a href=\"/examples/{{result._slug}}\">{{ result.name }}</a></li>\n {% else %}\n <li><a href=\"/{{result.fullpath}}\">{{ result.title }}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"52a1acc0247580250b000002", "parent_id"=>"52a1acc1247580250b000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1072>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:53:56 UTC, "created_at"=>2013-12-06 10:53:56 UTC}] flags=[] (0.2820ms)
16967
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc0247580250b000002", "template_dependencies.en"=>{"$in"=>["52a1acc4247580250b00000e"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4017ms)
16968
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc4247580250b00000e"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3901ms)
16969
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acc4247580250b00000e"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1402ms)
16970
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc0247580250b000002", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7772ms)
16971
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"52a1acc0247580250b000002"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5031ms)
16972
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"52a1acc1247580250b000004"} update={"$set"=>{"raw_template"=>{"en"=>"\n <form action=\"/{{ locale }}/search\" method=\"GET\">\n <label for=\"search\">Search</label>\n <input type=\"text\" name=\"search\" id=\"search\">\n <input type=\"submit\" value=\"Search\">\n </form>"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=371>}, "updated_at"=>2013-12-06 10:53:56 UTC}} flags=[] (0.2513ms)
16973
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc0247580250b000002", "template_dependencies.en"=>{"$in"=>["52a1acc1247580250b000004"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4017ms)
16974
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6568ms)
16975
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test2"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3638ms)
16976
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"52a1acc5247580250b00000f", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-12-06 10:53:51 UTC, "updated_at"=>2013-12-06 10:53:57 UTC, "memberships"=>[{"_id"=>"52a1acc5247580250b000010", "role"=>"admin", "account_id"=>"52a1acc0247580250b000001"}]}] flags=[] (0.1690ms)
16977
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acc5247580250b00000f", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5150ms)
16978
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acc5247580250b00000f", "_id"=>{"$ne"=>"52a1acc5247580250b000011"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4637ms)
16979
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acc5247580250b000011", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"52a1acc5247580250b00000f", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:53:57 UTC, "created_at"=>2013-12-06 10:53:57 UTC}] flags=[] (0.2403ms)
16980
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc5247580250b00000f", "template_dependencies.en"=>{"$in"=>["52a1acc5247580250b000011"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3912ms)
16981
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc5247580250b000011"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3891ms)
16982
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acc5247580250b000011"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0949ms)
16983
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acc5247580250b00000f", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (1.1580ms)
16984
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acc5247580250b00000f", "_id"=>{"$ne"=>"52a1acc6247580250b000012"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (1.0321ms)
16985
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acc5247580250b00000f"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5109ms)
16986
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acc6247580250b000012", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"52a1acc5247580250b00000f", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:53:58 UTC, "created_at"=>2013-12-06 10:53:58 UTC}] flags=[] (0.2770ms)
16987
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc5247580250b00000f", "template_dependencies.en"=>{"$in"=>["52a1acc6247580250b000012"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6990ms)
16988
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc6247580250b000012"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5481ms)
16989
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acc6247580250b000012"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1850ms)
16990
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acc5247580250b00000f", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.9141ms)
16991
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acc5247580250b00000f", "_id"=>{"$ne"=>"52a1acc6247580250b000013"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (1.2200ms)
16992
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acc5247580250b00000f"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.9301ms)
16993
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"_id"=>{"$in"=>[]}}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3269ms)
16994
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acc6247580250b000013", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Rickroll"}, "title"=>{"en"=>"This should never show up in the search, even if it would be findable"}, "slug"=>{"en"=>"rickroll"}, "site_id"=>"52a1acc5247580250b00000f", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:53:58 UTC, "created_at"=>2013-12-06 10:53:58 UTC}] flags=[] (0.2441ms)
16995
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc5247580250b00000f", "template_dependencies.en"=>{"$in"=>["52a1acc6247580250b000013"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (5.2381ms)
16996
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc6247580250b000013"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4649ms)
16997
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acc6247580250b000013"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1318ms)
16998
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"52a1acc5247580250b00000f", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5352ms)
16999
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"52a1acc6247580250b000014", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"52a1acc5247580250b00000f", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"52a1acc6247580250b000015", "updated_at"=>2013-12-06 10:53:58 UTC, "created_at"=>2013-12-06 10:53:58 UTC, "entries_custom_fields"=>[{"_id"=>"52a1acc6247580250b000015", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}]}] flags=[] (0.5012ms)
17000
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"52a1acc6247580250b000016"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry52a1acc6247580250b000014"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5550ms)
17001
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"52a1acc6247580250b000014", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4041ms)
17002
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acc6247580250b000014"]}}} (0.4148ms)
17003
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"52a1acc6247580250b000016", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry52a1acc6247580250b000014", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry52a1acc6247580250b000014", "content_type_id"=>"52a1acc6247580250b000014", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"52a1acc5247580250b00000f", "_label_field_name"=>"name", "updated_at"=>2013-12-06 10:53:58 UTC, "created_at"=>2013-12-06 10:53:58 UTC}] flags=[] (0.3448ms)
17004
+ Started GET "/" for 127.0.0.1 at 2013-12-06 11:53:59 +0100
17005
+ Processing by Locomotive::Public::PagesController#show as HTML
17006
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
17007
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7091ms)
17008
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc0247580250b000002", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5920ms)
17009
+ Rendered text template (0.0ms)
17010
+ Completed 200 OK in 13.7ms (Views: 7.8ms)
17011
+ Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-12-06 11:53:59 +0100
17012
+ Processing by Locomotive::Public::PagesController#show as HTML
17013
+ Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"}
17014
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
17015
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7160ms)
17016
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc0247580250b000002", "depth"=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5469ms)
17017
+ Rendered text template (0.0ms)
17018
+ Completed 200 OK in 493.4ms (Views: 0.5ms)
17019
+ Started GET "/findable" for 127.0.0.1 at 2013-12-06 11:53:59 +0100
17020
+ Processing by Locomotive::Public::PagesController#show as HTML
17021
+ Parameters: {"path"=>"findable"}
17022
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
17023
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6289ms)
17024
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc0247580250b000002", "depth"=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6618ms)
17025
+ Rendered text template (0.0ms)
17026
+ Completed 200 OK in 5.1ms (Views: 0.4ms)
17027
+ Started GET "/" for 127.0.0.1 at 2013-12-06 11:53:59 +0100
17028
+ Processing by Locomotive::Public::PagesController#show as HTML
17029
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
17030
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7169ms)
17031
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc0247580250b000002", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6449ms)
17032
+ Rendered text template (0.0ms)
17033
+ Completed 200 OK in 4.9ms (Views: 0.3ms)
17034
+ Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-12-06 11:53:59 +0100
17035
+ Processing by Locomotive::Public::PagesController#show as HTML
17036
+ Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"}
17037
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
17038
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.8109ms)
17039
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc0247580250b000002", "depth"=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8073ms)
17040
+ Rendered text template (0.0ms)
17041
+ Completed 200 OK in 461.8ms (Views: 0.5ms)
17042
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6061ms)
17043
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (13.7219ms)
17044
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (8.5151ms)
17045
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (7.2711ms)
17046
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (5.9721ms)
17047
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (2.3990ms)
17048
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3572ms)
17049
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.8638ms)
17050
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"email"=>"admin@locomotiveapp.org"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3631ms)
17051
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"52a1acc8247580250b000017", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"d0ecd13b620a7bd86d15aebddfebbdffdd4ebd33", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"Yni1hHzapMzHP1UFr3zB", "api_key"=>"f96902153d226dd6e0059e54b407995bc2b96873", "updated_at"=>2013-12-06 10:54:00 UTC, "created_at"=>2013-12-06 10:54:00 UTC}] flags=[] (0.1359ms)
17052
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (1.1580ms)
17053
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"52a1acc8247580250b000018", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-12-06 10:53:51 UTC, "updated_at"=>2013-12-06 10:54:00 UTC, "memberships"=>[{"_id"=>"52a1acc8247580250b000019", "role"=>"admin", "account_id"=>"52a1acc8247580250b000017"}]}] flags=[] (0.1469ms)
17054
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acc8247580250b000018", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.8173ms)
17055
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acc8247580250b000018", "_id"=>{"$ne"=>"52a1acc8247580250b00001a"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5960ms)
17056
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acc8247580250b00001a", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"52a1acc8247580250b000018", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:00 UTC, "created_at"=>2013-12-06 10:54:00 UTC}] flags=[] (0.2270ms)
17057
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc8247580250b000018", "template_dependencies.en"=>{"$in"=>["52a1acc8247580250b00001a"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4289ms)
17058
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc8247580250b00001a"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4098ms)
17059
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acc8247580250b00001a"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1140ms)
17060
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acc8247580250b000018", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6540ms)
17061
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acc8247580250b000018", "_id"=>{"$ne"=>"52a1acc9247580250b00001b"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8559ms)
17062
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acc8247580250b000018"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6053ms)
17063
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acc9247580250b00001b", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"52a1acc8247580250b000018", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:01 UTC, "created_at"=>2013-12-06 10:54:01 UTC}] flags=[] (0.3049ms)
17064
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc8247580250b000018", "template_dependencies.en"=>{"$in"=>["52a1acc9247580250b00001b"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4811ms)
17065
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc9247580250b00001b"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5791ms)
17066
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acc9247580250b00001b"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1640ms)
17067
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"52a1acc8247580250b000018", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.8929ms)
17068
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"52a1acc9247580250b00001c", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"52a1acc8247580250b000018", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"52a1acc9247580250b00001d", "updated_at"=>2013-12-06 10:54:01 UTC, "created_at"=>2013-12-06 10:54:01 UTC, "entries_custom_fields"=>[{"_id"=>"52a1acc9247580250b00001d", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}]}] flags=[] (0.3810ms)
17069
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"52a1acc9247580250b00001c"} update={"$push"=>{"entries_custom_fields"=>{"_id"=>"52a1acc9247580250b00001e", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Stuff", "type"=>"text", "searchable"=>false, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"stuff", "updated_at"=>2013-12-06 10:54:01 UTC, "created_at"=>2013-12-06 10:54:01 UTC}}} flags=[] (0.2420ms)
17070
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"52a1acc9247580250b00001f"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry52a1acc9247580250b00001c"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5960ms)
17071
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"52a1acc9247580250b00001c", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4508ms)
17072
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acc9247580250b00001c"]}}} (0.3891ms)
17073
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"52a1acc9247580250b00001f", "_position"=>0, "_visible"=>true, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry52a1acc9247580250b00001c", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry52a1acc9247580250b00001c", "content_type_id"=>"52a1acc9247580250b00001c", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"52a1acc8247580250b000018", "_label_field_name"=>"name", "updated_at"=>2013-12-06 10:54:01 UTC, "created_at"=>2013-12-06 10:54:01 UTC}] flags=[] (0.3572ms)
17074
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"52a1acca247580250b000020"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry52a1acc9247580250b00001c"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5686ms)
17075
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"52a1acc9247580250b00001c", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4520ms)
17076
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acc9247580250b00001c"]}}} (0.3879ms)
17077
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acc9247580250b00001c"]}}} (0.3421ms)
17078
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acc9247580250b00001c"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.5472ms)
17079
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"52a1acca247580250b000020", "_position"=>1, "_visible"=>true, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry52a1acc9247580250b00001c", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry52a1acc9247580250b00001c", "content_type_id"=>"52a1acc9247580250b00001c", "_slug"=>{"en"=>"hidden"}, "site_id"=>"52a1acc8247580250b000018", "_label_field_name"=>"name", "updated_at"=>2013-12-06 10:54:02 UTC, "created_at"=>2013-12-06 10:54:02 UTC}] flags=[] (0.2108ms)
17080
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7031ms)
17081
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acc8247580250b000018", "parent_id"=>"52a1acc8247580250b00001a", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5350ms)
17082
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc8247580250b00001a", "site_id"=>"52a1acc8247580250b000018", "_id"=>{"$ne"=>"52a1acca247580250b000021"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5109ms)
17083
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"52a1acc8247580250b00001a"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7768ms)
17084
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acca247580250b000021", "parent_ids"=>["52a1acc8247580250b00001a"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>"52a1acc8247580250b000018", "parent_id"=>"52a1acc8247580250b00001a", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:02 UTC, "created_at"=>2013-12-06 10:54:02 UTC}] flags=[] (0.2608ms)
17085
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc8247580250b000018", "template_dependencies.en"=>{"$in"=>["52a1acca247580250b000021"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3819ms)
17086
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acca247580250b000021"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4463ms)
17087
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acca247580250b000021"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1211ms)
17088
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.8903ms)
17089
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acc8247580250b000018", "parent_id"=>"52a1acc8247580250b00001a", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5789ms)
17090
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc8247580250b00001a", "site_id"=>"52a1acc8247580250b000018", "_id"=>{"$ne"=>"52a1accb247580250b000022"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (1.0488ms)
17091
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc8247580250b00001a", "site_id"=>"52a1acc8247580250b000018"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (1.0512ms)
17092
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"52a1acc8247580250b00001a"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.9389ms)
17093
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1accb247580250b000022", "parent_ids"=>["52a1acc8247580250b00001a"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>false, "raw_template"=>{"en"=>"Not published, so can't be found"}, "title"=>{"en"=>"Unpublished findable"}, "slug"=>{"en"=>"unpublished-findable"}, "site_id"=>"52a1acc8247580250b000018", "parent_id"=>"52a1acc8247580250b00001a", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:03 UTC, "created_at"=>2013-12-06 10:54:03 UTC}] flags=[] (0.4699ms)
17094
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc8247580250b000018", "template_dependencies.en"=>{"$in"=>["52a1accb247580250b000022"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4401ms)
17095
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1accb247580250b000022"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6919ms)
17096
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1accb247580250b000022"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.4790ms)
17097
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.8512ms)
17098
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acc8247580250b000018", "parent_id"=>"52a1acc8247580250b00001a", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5980ms)
17099
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc8247580250b00001a", "site_id"=>"52a1acc8247580250b000018", "_id"=>{"$ne"=>"52a1accb247580250b000023"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8841ms)
17100
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc8247580250b00001a", "site_id"=>"52a1acc8247580250b000018"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5770ms)
17101
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"52a1acc8247580250b00001a"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5691ms)
17102
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1accb247580250b000023", "parent_ids"=>["52a1acc8247580250b00001a"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>false, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Even if it seems findable, it sound't be found because of the searchable flag"}, "title"=>{"en"=>"Seems findable"}, "slug"=>{"en"=>"seems-findable"}, "site_id"=>"52a1acc8247580250b000018", "parent_id"=>"52a1acc8247580250b00001a", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:03 UTC, "created_at"=>2013-12-06 10:54:03 UTC}] flags=[] (0.3338ms)
17103
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc8247580250b000018", "template_dependencies.en"=>{"$in"=>["52a1accb247580250b000023"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4480ms)
17104
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1accb247580250b000023"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4582ms)
17105
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1accb247580250b000023"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1099ms)
17106
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5622ms)
17107
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acc8247580250b000018", "parent_id"=>"52a1acc8247580250b00001a", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4849ms)
17108
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc8247580250b00001a", "site_id"=>"52a1acc8247580250b000018", "_id"=>{"$ne"=>"52a1accb247580250b000024"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.9251ms)
17109
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acc8247580250b00001a", "site_id"=>"52a1acc8247580250b000018"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5097ms)
17110
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"52a1acc8247580250b00001a"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5109ms)
17111
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1accb247580250b000024", "parent_ids"=>["52a1acc8247580250b00001a"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>" * Search results:\n <ul>\n {% for result in site.search %}\n {% if result.content_type_slug == 'examples' %}\n <li><a href=\"/examples/{{result._slug}}\">{{ result.name }}</a></li>\n {% else %}\n <li><a href=\"/{{result.fullpath}}\">{{ result.title }}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"52a1acc8247580250b000018", "parent_id"=>"52a1acc8247580250b00001a", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1072>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:03 UTC, "created_at"=>2013-12-06 10:54:03 UTC}] flags=[] (0.2689ms)
17112
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc8247580250b000018", "template_dependencies.en"=>{"$in"=>["52a1accb247580250b000024"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3679ms)
17113
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1accb247580250b000024"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3648ms)
17114
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1accb247580250b000024"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1152ms)
17115
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc8247580250b000018", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.8059ms)
17116
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"52a1acc8247580250b000018"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4528ms)
17117
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"52a1acc8247580250b00001a"} update={"$set"=>{"raw_template"=>{"en"=>"\n <form action=\"/{{ locale }}/search\" method=\"GET\">\n <label for=\"search\">Search</label>\n <input type=\"text\" name=\"search\" id=\"search\">\n <input type=\"submit\" value=\"Search\">\n </form>"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=371>}, "updated_at"=>2013-12-06 10:54:04 UTC}} flags=[] (0.2189ms)
17118
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc8247580250b000018", "template_dependencies.en"=>{"$in"=>["52a1acc8247580250b00001a"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4330ms)
17119
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7010ms)
17120
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test2"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4439ms)
17121
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"52a1accc247580250b000025", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-12-06 10:53:51 UTC, "updated_at"=>2013-12-06 10:54:04 UTC, "memberships"=>[{"_id"=>"52a1accc247580250b000026", "role"=>"admin", "account_id"=>"52a1acc8247580250b000017"}]}] flags=[] (0.1841ms)
17122
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1accc247580250b000025", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5372ms)
17123
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1accc247580250b000025", "_id"=>{"$ne"=>"52a1accc247580250b000027"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5591ms)
17124
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1accc247580250b000027", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"52a1accc247580250b000025", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:04 UTC, "created_at"=>2013-12-06 10:54:04 UTC}] flags=[] (0.3009ms)
17125
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1accc247580250b000025", "template_dependencies.en"=>{"$in"=>["52a1accc247580250b000027"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4110ms)
17126
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1accc247580250b000027"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4148ms)
17127
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1accc247580250b000027"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1149ms)
17128
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1accc247580250b000025", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5393ms)
17129
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1accc247580250b000025", "_id"=>{"$ne"=>"52a1accd247580250b000028"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7269ms)
17130
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1accc247580250b000025"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4759ms)
17131
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1accd247580250b000028", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"52a1accc247580250b000025", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:05 UTC, "created_at"=>2013-12-06 10:54:05 UTC}] flags=[] (0.1962ms)
17132
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1accc247580250b000025", "template_dependencies.en"=>{"$in"=>["52a1accd247580250b000028"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3231ms)
17133
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1accd247580250b000028"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3510ms)
17134
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1accd247580250b000028"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1311ms)
17135
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1accc247580250b000025", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5469ms)
17136
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1accc247580250b000025", "_id"=>{"$ne"=>"52a1accd247580250b000029"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8681ms)
17137
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1accc247580250b000025"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5741ms)
17138
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"_id"=>{"$in"=>[]}}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3800ms)
17139
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1accd247580250b000029", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Rickroll"}, "title"=>{"en"=>"This should never show up in the search, even if it would be findable"}, "slug"=>{"en"=>"rickroll"}, "site_id"=>"52a1accc247580250b000025", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:05 UTC, "created_at"=>2013-12-06 10:54:05 UTC}] flags=[] (0.2170ms)
17140
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1accc247580250b000025", "template_dependencies.en"=>{"$in"=>["52a1accd247580250b000029"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3741ms)
17141
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1accd247580250b000029"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4070ms)
17142
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1accd247580250b000029"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1290ms)
17143
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"52a1accc247580250b000025", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5412ms)
17144
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"52a1acce247580250b00002a", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"52a1accc247580250b000025", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"52a1acce247580250b00002b", "updated_at"=>2013-12-06 10:54:06 UTC, "created_at"=>2013-12-06 10:54:06 UTC, "entries_custom_fields"=>[{"_id"=>"52a1acce247580250b00002b", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}]}] flags=[] (0.2687ms)
17145
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"52a1acce247580250b00002c"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry52a1acce247580250b00002a"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5000ms)
17146
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"52a1acce247580250b00002a", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4067ms)
17147
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acce247580250b00002a"]}}} (0.4508ms)
17148
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"52a1acce247580250b00002c", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry52a1acce247580250b00002a", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry52a1acce247580250b00002a", "content_type_id"=>"52a1acce247580250b00002a", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"52a1accc247580250b000025", "_label_field_name"=>"name", "updated_at"=>2013-12-06 10:54:06 UTC, "created_at"=>2013-12-06 10:54:06 UTC}] flags=[] (0.1910ms)
17149
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"52a1acc9247580250b00001f"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry52a1acc9247580250b00001c"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5081ms)
17150
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"52a1acca247580250b000020"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry52a1acc9247580250b00001c"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4697ms)
17151
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acc9247580250b00001c"]}} update={"$set"=>{"_label_field_name"=>"name"}} flags=[:multi] (0.1631ms)
17152
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"52a1acc9247580250b00001c"} update={"$set"=>{"updated_at"=>2013-12-06 10:54:06 UTC, "entries_custom_fields_version"=>1, "entries_custom_fields.1.searchable"=>true}} flags=[] (0.1040ms)
17153
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"52a1acc9247580250b00001c"} update={"$set"=>{"custom_fields_recipe.rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "custom_fields_recipe.version"=>1}, "$unset"=>{}, "$rename"=>{}} flags={:multi=>true} (0.1121ms)
17154
+ Started GET "/" for 127.0.0.1 at 2013-12-06 11:54:06 +0100
17155
+ Processing by Locomotive::Public::PagesController#show as HTML
17156
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
17157
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6580ms)
17158
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc8247580250b000018", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5710ms)
17159
+ Rendered text template (0.0ms)
17160
+ Completed 200 OK in 4.6ms (Views: 0.4ms)
17161
+ Started GET "/en/search?search=stuff" for 127.0.0.1 at 2013-12-06 11:54:06 +0100
17162
+ Processing by Locomotive::Public::PagesController#show as HTML
17163
+ Parameters: {"search"=>"stuff", "locale"=>"en", "path"=>"search"}
17164
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
17165
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7989ms)
17166
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc8247580250b000018", "depth"=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6547ms)
17167
+ Rendered text template (0.0ms)
17168
+ Completed 200 OK in 459.9ms (Views: 0.4ms)
17169
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"52a1acc9247580250b00001c"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5770ms)
17170
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"52a1acc9247580250b00001c", "updated_at"=>{"$lt"=>2013-12-06 10:54:06 UTC}, "_type"=>{"$in"=>["Locomotive::ContentEntry52a1acc9247580250b00001c"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7789ms)
17171
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"52a1acc8247580250b000018"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5798ms)
17172
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"_id"=>"52a1acc9247580250b00001c"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5550ms)
17173
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>"52a1acc9247580250b00001f"} update={"$set"=>{"updated_at"=>2013-12-06 10:54:07 UTC}} flags=[] (0.1719ms)
17174
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"52a1acc8247580250b000018"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5031ms)
17175
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"_id"=>"52a1acc9247580250b00001c"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5519ms)
17176
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>"52a1acca247580250b000020"} update={"$set"=>{"updated_at"=>2013-12-06 10:54:07 UTC}} flags=[] (0.1428ms)
17177
+ Started GET "/en/" for 127.0.0.1 at 2013-12-06 11:54:08 +0100
17178
+ Started GET "/en" for 127.0.0.1 at 2013-12-06 11:54:08 +0100
17179
+ Processing by Locomotive::Public::PagesController#show as HTML
17180
+ Parameters: {"page_path"=>"index", "locale"=>"en"}
17181
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
17182
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7150ms)
17183
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc8247580250b000018", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8199ms)
17184
+ Rendered text template (0.0ms)
17185
+ Completed 200 OK in 5.8ms (Views: 0.5ms)
17186
+ Started GET "/en/search?search=stuff" for 127.0.0.1 at 2013-12-06 11:54:08 +0100
17187
+ Processing by Locomotive::Public::PagesController#show as HTML
17188
+ Parameters: {"search"=>"stuff", "locale"=>"en", "path"=>"search"}
17189
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
17190
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6528ms)
17191
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acc8247580250b000018", "depth"=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7448ms)
17192
+ Rendered text template (0.0ms)
17193
+ Completed 200 OK in 462.3ms (Views: 0.4ms)
17194
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6111ms)
17195
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (1.6310ms)
17196
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (1.4892ms)
17197
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (2.0871ms)
17198
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (0.9789ms)
17199
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (1.0691ms)
17200
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9620ms)
17201
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6051ms)
17202
+ Creating scope :root. Overwriting existing method Locomotive::Page.root.
17203
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5770ms)
17204
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.8988ms)
17205
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"email"=>"admin@locomotiveapp.org"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5231ms)
17206
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"52a1acd62475809ed7000001", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"87905728991889f2f681480b399c0ad011180bcd", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"BfWy4piDypVYZ2pr9NKL", "api_key"=>"2d87e3302a1169cb561ba74391167aac04466ac1", "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC}] flags=[] (0.2179ms)
17207
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.8068ms)
17208
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"52a1acd62475809ed7000002", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-12-06 10:54:14 UTC, "updated_at"=>2013-12-06 10:54:14 UTC, "memberships"=>[{"_id"=>"52a1acd62475809ed7000003", "role"=>"admin", "account_id"=>"52a1acd62475809ed7000001"}]}] flags=[] (0.2289ms)
17209
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acd62475809ed7000002", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.9248ms)
17210
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acd62475809ed7000002", "_id"=>{"$ne"=>"52a1acd62475809ed7000004"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5691ms)
17211
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acd62475809ed7000004", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"52a1acd62475809ed7000002", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC}] flags=[] (0.3312ms)
17212
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000004"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5791ms)
17213
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000002", "template_dependencies.en"=>{"$in"=>["52a1acd62475809ed7000004"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3219ms)
17214
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acd62475809ed7000004"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1380ms)
17215
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acd62475809ed7000004"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (3.0389ms)
17216
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acd62475809ed7000005", "_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"52a1acd62475809ed7000002", :fullpath=>{"en"=>"index"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acd62475809ed7000004", "_keywords"=>["en:home", "en:page"]}] flags=[] (0.1910ms)
17217
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acd62475809ed7000002", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4752ms)
17218
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acd62475809ed7000002", "_id"=>{"$ne"=>"52a1acd62475809ed7000006"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6649ms)
17219
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acd62475809ed7000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4663ms)
17220
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acd62475809ed7000006", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"52a1acd62475809ed7000002", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC}] flags=[] (0.1891ms)
17221
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000002", "template_dependencies.en"=>{"$in"=>["52a1acd62475809ed7000006"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3562ms)
17222
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000006"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3569ms)
17223
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acd62475809ed7000006"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1001ms)
17224
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"52a1acd62475809ed7000002", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.8497ms)
17225
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"52a1acd62475809ed7000007", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"52a1acd62475809ed7000002", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"52a1acd62475809ed7000008", "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC, "entries_custom_fields"=>[{"_id"=>"52a1acd62475809ed7000008", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}]}] flags=[] (0.2408ms)
17226
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"52a1acd62475809ed7000007"} update={"$push"=>{"entries_custom_fields"=>{"_id"=>"52a1acd62475809ed7000009", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Stuff", "type"=>"text", "searchable"=>false, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"stuff", "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC}}} flags=[] (0.2041ms)
17227
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"52a1acd62475809ed700000a"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry52a1acd62475809ed7000007"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.9892ms)
17228
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"52a1acd62475809ed7000007", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6001ms)
17229
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acd62475809ed7000007"]}}} (0.4389ms)
17230
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"52a1acd62475809ed700000a", "_position"=>0, "_visible"=>true, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry52a1acd62475809ed7000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry52a1acd62475809ed7000007", "content_type_id"=>"52a1acd62475809ed7000007", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"52a1acd62475809ed7000002", "_label_field_name"=>"name", "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC}] flags=[] (0.3724ms)
17231
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry52a1acd62475809ed7000007", "_original_id"=>"52a1acd62475809ed700000a"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6030ms)
17232
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acd62475809ed700000b", "_stored"=>{:_slug=>{"en"=>"findable-entry"}, "name"=>"Findable entry", :site_id=>"52a1acd62475809ed7000002", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry52a1acd62475809ed7000007", "_original_id"=>"52a1acd62475809ed700000a", "_keywords"=>["findable", "entry"]}] flags=[] (0.1731ms)
17233
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"52a1acd62475809ed700000c"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry52a1acd62475809ed7000007"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4869ms)
17234
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"52a1acd62475809ed7000007", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3541ms)
17235
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acd62475809ed7000007"]}}} (0.3779ms)
17236
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acd62475809ed7000007"]}}} (0.3161ms)
17237
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acd62475809ed7000007"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.5040ms)
17238
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"52a1acd62475809ed700000c", "_position"=>1, "_visible"=>true, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry52a1acd62475809ed7000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry52a1acd62475809ed7000007", "content_type_id"=>"52a1acd62475809ed7000007", "_slug"=>{"en"=>"hidden"}, "site_id"=>"52a1acd62475809ed7000002", "_label_field_name"=>"name", "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC}] flags=[] (0.2000ms)
17239
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry52a1acd62475809ed7000007", "_original_id"=>"52a1acd62475809ed700000c"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3860ms)
17240
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acd62475809ed700000d", "_stored"=>{:_slug=>{"en"=>"hidden"}, "name"=>"Hidden", :site_id=>"52a1acd62475809ed7000002", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry52a1acd62475809ed7000007", "_original_id"=>"52a1acd62475809ed700000c", "_keywords"=>["hidden"]}] flags=[] (0.1557ms)
17241
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5970ms)
17242
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acd62475809ed7000002", "parent_id"=>"52a1acd62475809ed7000004", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4489ms)
17243
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000004", "site_id"=>"52a1acd62475809ed7000002", "_id"=>{"$ne"=>"52a1acd62475809ed700000e"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4022ms)
17244
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"52a1acd62475809ed7000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6230ms)
17245
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acd62475809ed700000e", "parent_ids"=>["52a1acd62475809ed7000004"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>"52a1acd62475809ed7000002", "parent_id"=>"52a1acd62475809ed7000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC}] flags=[] (0.2711ms)
17246
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000002", "template_dependencies.en"=>{"$in"=>["52a1acd62475809ed700000e"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3481ms)
17247
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed700000e"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3231ms)
17248
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acd62475809ed700000e"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1030ms)
17249
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acd62475809ed700000e"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3262ms)
17250
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acd62475809ed700000f", "_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :site_id=>"52a1acd62475809ed7000002", :fullpath=>{"en"=>"findable"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acd62475809ed700000e", "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}] flags=[] (0.1581ms)
17251
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5882ms)
17252
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acd62475809ed7000002", "parent_id"=>"52a1acd62475809ed7000004", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4230ms)
17253
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000004", "site_id"=>"52a1acd62475809ed7000002", "_id"=>{"$ne"=>"52a1acd62475809ed7000010"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5908ms)
17254
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000004", "site_id"=>"52a1acd62475809ed7000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4539ms)
17255
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"52a1acd62475809ed7000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5450ms)
17256
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acd62475809ed7000010", "parent_ids"=>["52a1acd62475809ed7000004"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>false, "raw_template"=>{"en"=>"Not published, so can't be found"}, "title"=>{"en"=>"Unpublished findable"}, "slug"=>{"en"=>"unpublished-findable"}, "site_id"=>"52a1acd62475809ed7000002", "parent_id"=>"52a1acd62475809ed7000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC}] flags=[] (0.1791ms)
17257
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000002", "template_dependencies.en"=>{"$in"=>["52a1acd62475809ed7000010"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3221ms)
17258
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000010"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3130ms)
17259
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acd62475809ed7000010"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1340ms)
17260
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5221ms)
17261
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acd62475809ed7000002", "parent_id"=>"52a1acd62475809ed7000004", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4067ms)
17262
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000004", "site_id"=>"52a1acd62475809ed7000002", "_id"=>{"$ne"=>"52a1acd62475809ed7000011"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7000ms)
17263
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000004", "site_id"=>"52a1acd62475809ed7000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4559ms)
17264
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"52a1acd62475809ed7000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4990ms)
17265
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acd62475809ed7000011", "parent_ids"=>["52a1acd62475809ed7000004"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>false, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Even if it seems findable, it sound't be found because of the searchable flag"}, "title"=>{"en"=>"Seems findable"}, "slug"=>{"en"=>"seems-findable"}, "site_id"=>"52a1acd62475809ed7000002", "parent_id"=>"52a1acd62475809ed7000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC}] flags=[] (0.1979ms)
17266
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000002", "template_dependencies.en"=>{"$in"=>["52a1acd62475809ed7000011"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3011ms)
17267
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000011"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3109ms)
17268
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acd62475809ed7000011"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0932ms)
17269
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5202ms)
17270
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acd62475809ed7000002", "parent_id"=>"52a1acd62475809ed7000004", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4299ms)
17271
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000004", "site_id"=>"52a1acd62475809ed7000002", "_id"=>{"$ne"=>"52a1acd62475809ed7000012"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8240ms)
17272
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000004", "site_id"=>"52a1acd62475809ed7000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4621ms)
17273
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"52a1acd62475809ed7000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4652ms)
17274
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acd62475809ed7000012", "parent_ids"=>["52a1acd62475809ed7000004"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>" * Search results:\n <ul>\n {% for result in site.search %}\n {% if result.content_type_slug == 'examples' %}\n <li><a href=\"/examples/{{result._slug}}\">{{ result.name }}</a></li>\n {% else %}\n <li><a href=\"/{{result.fullpath}}\">{{ result.title }}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"52a1acd62475809ed7000002", "parent_id"=>"52a1acd62475809ed7000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1072>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC}] flags=[] (0.2062ms)
17275
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000002", "template_dependencies.en"=>{"$in"=>["52a1acd62475809ed7000012"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3247ms)
17276
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000012"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4039ms)
17277
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acd62475809ed7000012"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1180ms)
17278
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acd62475809ed7000012"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3400ms)
17279
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acd62475809ed7000013", "_stored"=>{:title=>{"en"=>"search"}, :site_id=>"52a1acd62475809ed7000002", :fullpath=>{"en"=>"search"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acd62475809ed7000012", "_keywords"=>["en:search"]}] flags=[] (0.1438ms)
17280
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000002", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5167ms)
17281
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"52a1acd62475809ed7000002"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3870ms)
17282
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"52a1acd62475809ed7000004"} update={"$set"=>{"raw_template"=>{"en"=>"\n <form action=\"/{{ locale }}/search\" method=\"GET\">\n <label for=\"search\">Search</label>\n <input type=\"text\" name=\"search\" id=\"search\">\n <input type=\"submit\" value=\"Search\">\n </form>"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=371>}, "updated_at"=>2013-12-06 10:54:14 UTC}} flags=[] (0.1721ms)
17283
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000002", "template_dependencies.en"=>{"$in"=>["52a1acd62475809ed7000004"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3731ms)
17284
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acd62475809ed7000004"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4759ms)
17285
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_models selector={"_id"=>"52a1acd62475809ed7000005"} update={"$set"=>{"_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"52a1acd62475809ed7000002", :fullpath=>{"en"=>"index"}}}} flags=[] (0.1192ms)
17286
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4947ms)
17287
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test2"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3340ms)
17288
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"52a1acd62475809ed7000014", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-12-06 10:54:14 UTC, "updated_at"=>2013-12-06 10:54:14 UTC, "memberships"=>[{"_id"=>"52a1acd62475809ed7000015", "role"=>"admin", "account_id"=>"52a1acd62475809ed7000001"}]}] flags=[] (0.2189ms)
17289
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acd62475809ed7000014", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4141ms)
17290
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acd62475809ed7000014", "_id"=>{"$ne"=>"52a1acd62475809ed7000016"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4001ms)
17291
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acd62475809ed7000016", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"52a1acd62475809ed7000014", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC}] flags=[] (0.1700ms)
17292
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000014", "template_dependencies.en"=>{"$in"=>["52a1acd62475809ed7000016"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3071ms)
17293
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000016"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3121ms)
17294
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acd62475809ed7000016"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0920ms)
17295
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acd62475809ed7000016"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3092ms)
17296
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acd62475809ed7000017", "_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"52a1acd62475809ed7000014", :fullpath=>{"en"=>"index"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acd62475809ed7000016", "_keywords"=>["en:home", "en:page"]}] flags=[] (0.1159ms)
17297
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acd62475809ed7000014", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4799ms)
17298
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acd62475809ed7000014", "_id"=>{"$ne"=>"52a1acd62475809ed7000018"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7689ms)
17299
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acd62475809ed7000014"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5851ms)
17300
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acd62475809ed7000018", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"52a1acd62475809ed7000014", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC}] flags=[] (0.2260ms)
17301
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000014", "template_dependencies.en"=>{"$in"=>["52a1acd62475809ed7000018"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3510ms)
17302
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000018"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4361ms)
17303
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acd62475809ed7000018"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1082ms)
17304
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acd62475809ed7000014", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5090ms)
17305
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acd62475809ed7000014", "_id"=>{"$ne"=>"52a1acd62475809ed7000019"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8001ms)
17306
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acd62475809ed7000014"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6602ms)
17307
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"_id"=>{"$in"=>[]}}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3052ms)
17308
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acd62475809ed7000019", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Rickroll"}, "title"=>{"en"=>"This should never show up in the search, even if it would be findable"}, "slug"=>{"en"=>"rickroll"}, "site_id"=>"52a1acd62475809ed7000014", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC}] flags=[] (0.1748ms)
17309
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000014", "template_dependencies.en"=>{"$in"=>["52a1acd62475809ed7000019"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3138ms)
17310
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000019"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3240ms)
17311
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acd62475809ed7000019"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0958ms)
17312
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acd62475809ed7000019"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3040ms)
17313
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acd62475809ed700001a", "_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :site_id=>"52a1acd62475809ed7000014", :fullpath=>{"en"=>"rickroll"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acd62475809ed7000019", "_keywords"=>["en:this", "en:should", "en:never", "en:show", "en:up", "en:in", "en:the", "en:search,", "en:even", "en:if", "en:it", "en:would", "en:be", "en:findable"]}] flags=[] (0.1900ms)
17314
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"52a1acd62475809ed7000014", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4289ms)
17315
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"52a1acd62475809ed700001b", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"52a1acd62475809ed7000014", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"52a1acd62475809ed700001c", "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC, "entries_custom_fields"=>[{"_id"=>"52a1acd62475809ed700001c", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}]}] flags=[] (0.1850ms)
17316
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"52a1acd62475809ed700001d"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry52a1acd62475809ed700001b"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4880ms)
17317
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"52a1acd62475809ed700001b", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4961ms)
17318
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acd62475809ed700001b"]}}} (0.5362ms)
17319
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"52a1acd62475809ed700001d", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry52a1acd62475809ed700001b", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry52a1acd62475809ed700001b", "content_type_id"=>"52a1acd62475809ed700001b", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"52a1acd62475809ed7000014", "_label_field_name"=>"name", "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC}] flags=[] (0.1762ms)
17320
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry52a1acd62475809ed700001b", "_original_id"=>"52a1acd62475809ed700001d"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4399ms)
17321
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acd62475809ed700001e", "_stored"=>{:_slug=>{"en"=>"not-findable-entry"}, "name"=>"NOT Findable entry", :site_id=>"52a1acd62475809ed7000014", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry52a1acd62475809ed700001b", "_original_id"=>"52a1acd62475809ed700001d", "_keywords"=>["not", "findable", "entry"]}] flags=[] (0.1259ms)
17322
+ Started GET "/" for 127.0.0.1 at 2013-12-06 11:54:14 +0100
17323
+ Processing by Locomotive::Public::PagesController#show as HTML
17324
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
17325
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6390ms)
17326
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000002", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5760ms)
17327
+ Rendered text template (0.0ms)
17328
+ Completed 200 OK in 12.6ms (Views: 7.0ms)
17329
+ Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-12-06 11:54:14 +0100
17330
+ Processing by Locomotive::Public::PagesController#show as HTML
17331
+ Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"}
17332
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
17333
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.8898ms)
17334
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000002", "depth"=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8268ms)
17335
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"_stored.site_id"=>"52a1acd62475809ed7000002", "_keywords"=>{"$in"=>["findable", "en:findable"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5267ms)
17336
+ Rendered text template (0.0ms)
17337
+ Completed 200 OK in 17.7ms (Views: 0.7ms)
17338
+ Started GET "/findable" for 127.0.0.1 at 2013-12-06 11:54:14 +0100
17339
+ Processing by Locomotive::Public::PagesController#show as HTML
17340
+ Parameters: {"path"=>"findable"}
17341
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
17342
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7610ms)
17343
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000002", "depth"=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6230ms)
17344
+ Rendered text template (0.0ms)
17345
+ Completed 200 OK in 5.0ms (Views: 0.3ms)
17346
+ Started GET "/" for 127.0.0.1 at 2013-12-06 11:54:14 +0100
17347
+ Processing by Locomotive::Public::PagesController#show as HTML
17348
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
17349
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5729ms)
17350
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000002", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5171ms)
17351
+ Rendered text template (0.0ms)
17352
+ Completed 200 OK in 3.8ms (Views: 0.3ms)
17353
+ Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-12-06 11:54:14 +0100
17354
+ Processing by Locomotive::Public::PagesController#show as HTML
17355
+ Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"}
17356
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
17357
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6840ms)
17358
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000002", "depth"=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6790ms)
17359
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"_stored.site_id"=>"52a1acd62475809ed7000002", "_keywords"=>{"$in"=>["not", "found", "en:not", "en:found"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4601ms)
17360
+ Rendered text template (0.0ms)
17361
+ Completed 200 OK in 5.3ms (Views: 0.4ms)
17362
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5801ms)
17363
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (1.1492ms)
17364
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (1.2059ms)
17365
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (0.9689ms)
17366
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"active_search_mongoid_models"} (3.1908ms)
17367
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (0.9511ms)
17368
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (0.8659ms)
17369
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3562ms)
17370
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6700ms)
17371
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"email"=>"admin@locomotiveapp.org"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3359ms)
17372
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"52a1acd62475809ed700001f", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"60f771a929353aa4a2d366af5af8e22009090f0b", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"vJniP7Qb7qX19sAdG4RP", "api_key"=>"3d879384d796a337b90a67dcbd3734da58ade4f2", "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC}] flags=[] (0.1390ms)
17373
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3829ms)
17374
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"52a1acd62475809ed7000020", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-12-06 10:54:14 UTC, "updated_at"=>2013-12-06 10:54:14 UTC, "memberships"=>[{"_id"=>"52a1acd62475809ed7000021", "role"=>"admin", "account_id"=>"52a1acd62475809ed700001f"}]}] flags=[] (0.1440ms)
17375
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acd62475809ed7000020", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4523ms)
17376
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acd62475809ed7000020", "_id"=>{"$ne"=>"52a1acd62475809ed7000022"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.3660ms)
17377
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acd62475809ed7000022", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"52a1acd62475809ed7000020", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC}] flags=[] (0.2711ms)
17378
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000020", "template_dependencies.en"=>{"$in"=>["52a1acd62475809ed7000022"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3331ms)
17379
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000022"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3541ms)
17380
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acd62475809ed7000022"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0932ms)
17381
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acd62475809ed7000022"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3040ms)
17382
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acd62475809ed7000023", "_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"52a1acd62475809ed7000020", :fullpath=>{"en"=>"index"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acd62475809ed7000022", "_keywords"=>["en:home", "en:page"]}] flags=[] (0.1342ms)
17383
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acd62475809ed7000020", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4420ms)
17384
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acd62475809ed7000020", "_id"=>{"$ne"=>"52a1acd62475809ed7000024"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6161ms)
17385
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acd62475809ed7000020"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4520ms)
17386
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acd62475809ed7000024", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"52a1acd62475809ed7000020", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC}] flags=[] (0.1659ms)
17387
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000020", "template_dependencies.en"=>{"$in"=>["52a1acd62475809ed7000024"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3021ms)
17388
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000024"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3510ms)
17389
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acd62475809ed7000024"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1080ms)
17390
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"52a1acd62475809ed7000020", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4492ms)
17391
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"52a1acd62475809ed7000025", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"52a1acd62475809ed7000020", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"52a1acd62475809ed7000026", "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC, "entries_custom_fields"=>[{"_id"=>"52a1acd62475809ed7000026", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}]}] flags=[] (0.1938ms)
17392
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"52a1acd62475809ed7000025"} update={"$push"=>{"entries_custom_fields"=>{"_id"=>"52a1acd62475809ed7000027", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Stuff", "type"=>"text", "searchable"=>false, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"stuff", "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC}}} flags=[] (0.2999ms)
17393
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"52a1acd62475809ed7000028"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry52a1acd62475809ed7000025"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6011ms)
17394
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"52a1acd62475809ed7000025", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5550ms)
17395
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acd62475809ed7000025"]}}} (0.4799ms)
17396
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"52a1acd62475809ed7000028", "_position"=>0, "_visible"=>true, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry52a1acd62475809ed7000025", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry52a1acd62475809ed7000025", "content_type_id"=>"52a1acd62475809ed7000025", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"52a1acd62475809ed7000020", "_label_field_name"=>"name", "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC}] flags=[] (0.1690ms)
17397
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry52a1acd62475809ed7000025", "_original_id"=>"52a1acd62475809ed7000028"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4961ms)
17398
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acd62475809ed7000029", "_stored"=>{:_slug=>{"en"=>"findable-entry"}, "name"=>"Findable entry", :site_id=>"52a1acd62475809ed7000020", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry52a1acd62475809ed7000025", "_original_id"=>"52a1acd62475809ed7000028", "_keywords"=>["findable", "entry"]}] flags=[] (0.2038ms)
17399
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"52a1acd62475809ed700002a"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry52a1acd62475809ed7000025"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5569ms)
17400
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"52a1acd62475809ed7000025", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3800ms)
17401
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acd62475809ed7000025"]}}} (0.3622ms)
17402
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acd62475809ed7000025"]}}} (0.4320ms)
17403
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acd62475809ed7000025"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.5200ms)
17404
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"52a1acd62475809ed700002a", "_position"=>1, "_visible"=>true, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry52a1acd62475809ed7000025", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry52a1acd62475809ed7000025", "content_type_id"=>"52a1acd62475809ed7000025", "_slug"=>{"en"=>"hidden"}, "site_id"=>"52a1acd62475809ed7000020", "_label_field_name"=>"name", "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC}] flags=[] (0.1740ms)
17405
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry52a1acd62475809ed7000025", "_original_id"=>"52a1acd62475809ed700002a"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3581ms)
17406
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acd62475809ed700002b", "_stored"=>{:_slug=>{"en"=>"hidden"}, "name"=>"Hidden", :site_id=>"52a1acd62475809ed7000020", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry52a1acd62475809ed7000025", "_original_id"=>"52a1acd62475809ed700002a", "_keywords"=>["hidden"]}] flags=[] (0.1442ms)
17407
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6471ms)
17408
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acd62475809ed7000020", "parent_id"=>"52a1acd62475809ed7000022", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4532ms)
17409
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000022", "site_id"=>"52a1acd62475809ed7000020", "_id"=>{"$ne"=>"52a1acd62475809ed700002c"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4532ms)
17410
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"52a1acd62475809ed7000022"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6080ms)
17411
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acd62475809ed700002c", "parent_ids"=>["52a1acd62475809ed7000022"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>"52a1acd62475809ed7000020", "parent_id"=>"52a1acd62475809ed7000022", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC}] flags=[] (0.2089ms)
17412
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000020", "template_dependencies.en"=>{"$in"=>["52a1acd62475809ed700002c"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3419ms)
17413
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed700002c"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3219ms)
17414
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acd62475809ed700002c"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0911ms)
17415
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acd62475809ed700002c"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3121ms)
17416
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acd62475809ed700002d", "_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :site_id=>"52a1acd62475809ed7000020", :fullpath=>{"en"=>"findable"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acd62475809ed700002c", "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}] flags=[] (0.1678ms)
17417
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5558ms)
17418
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acd62475809ed7000020", "parent_id"=>"52a1acd62475809ed7000022", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4821ms)
17419
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000022", "site_id"=>"52a1acd62475809ed7000020", "_id"=>{"$ne"=>"52a1acd62475809ed700002e"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7639ms)
17420
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000022", "site_id"=>"52a1acd62475809ed7000020"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5651ms)
17421
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"52a1acd62475809ed7000022"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5281ms)
17422
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acd62475809ed700002e", "parent_ids"=>["52a1acd62475809ed7000022"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>false, "raw_template"=>{"en"=>"Not published, so can't be found"}, "title"=>{"en"=>"Unpublished findable"}, "slug"=>{"en"=>"unpublished-findable"}, "site_id"=>"52a1acd62475809ed7000020", "parent_id"=>"52a1acd62475809ed7000022", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC}] flags=[] (0.2511ms)
17423
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000020", "template_dependencies.en"=>{"$in"=>["52a1acd62475809ed700002e"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3991ms)
17424
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed700002e"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3450ms)
17425
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acd62475809ed700002e"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1149ms)
17426
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6962ms)
17427
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acd62475809ed7000020", "parent_id"=>"52a1acd62475809ed7000022", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4301ms)
17428
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000022", "site_id"=>"52a1acd62475809ed7000020", "_id"=>{"$ne"=>"52a1acd62475809ed700002f"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7880ms)
17429
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000022", "site_id"=>"52a1acd62475809ed7000020"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4642ms)
17430
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"52a1acd62475809ed7000022"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5441ms)
17431
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acd62475809ed700002f", "parent_ids"=>["52a1acd62475809ed7000022"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>false, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Even if it seems findable, it sound't be found because of the searchable flag"}, "title"=>{"en"=>"Seems findable"}, "slug"=>{"en"=>"seems-findable"}, "site_id"=>"52a1acd62475809ed7000020", "parent_id"=>"52a1acd62475809ed7000022", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC}] flags=[] (0.2260ms)
17432
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000020", "template_dependencies.en"=>{"$in"=>["52a1acd62475809ed700002f"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3181ms)
17433
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed700002f"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3672ms)
17434
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acd62475809ed700002f"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1030ms)
17435
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6301ms)
17436
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acd62475809ed7000020", "parent_id"=>"52a1acd62475809ed7000022", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4299ms)
17437
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000022", "site_id"=>"52a1acd62475809ed7000020", "_id"=>{"$ne"=>"52a1acd62475809ed7000030"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.9532ms)
17438
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000022", "site_id"=>"52a1acd62475809ed7000020"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5081ms)
17439
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"52a1acd62475809ed7000022"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5379ms)
17440
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acd62475809ed7000030", "parent_ids"=>["52a1acd62475809ed7000022"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>" * Search results:\n <ul>\n {% for result in site.search %}\n {% if result.content_type_slug == 'examples' %}\n <li><a href=\"/examples/{{result._slug}}\">{{ result.name }}</a></li>\n {% else %}\n <li><a href=\"/{{result.fullpath}}\">{{ result.title }}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"52a1acd62475809ed7000020", "parent_id"=>"52a1acd62475809ed7000022", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1072>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:14 UTC, "created_at"=>2013-12-06 10:54:14 UTC}] flags=[] (0.1869ms)
17441
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000020", "template_dependencies.en"=>{"$in"=>["52a1acd62475809ed7000030"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3479ms)
17442
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd62475809ed7000030"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3362ms)
17443
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acd62475809ed7000030"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0978ms)
17444
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acd62475809ed7000030"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3111ms)
17445
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acd62475809ed7000031", "_stored"=>{:title=>{"en"=>"search"}, :site_id=>"52a1acd62475809ed7000020", :fullpath=>{"en"=>"search"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acd62475809ed7000030", "_keywords"=>["en:search"]}] flags=[] (0.1202ms)
17446
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000020", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5372ms)
17447
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"52a1acd62475809ed7000020"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3059ms)
17448
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"52a1acd62475809ed7000022"} update={"$set"=>{"raw_template"=>{"en"=>"\n <form action=\"/{{ locale }}/search\" method=\"GET\">\n <label for=\"search\">Search</label>\n <input type=\"text\" name=\"search\" id=\"search\">\n <input type=\"submit\" value=\"Search\">\n </form>"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=371>}, "updated_at"=>2013-12-06 10:54:14 UTC}} flags=[] (0.2179ms)
17449
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000020", "template_dependencies.en"=>{"$in"=>["52a1acd62475809ed7000022"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3650ms)
17450
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acd62475809ed7000022"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4809ms)
17451
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_models selector={"_id"=>"52a1acd62475809ed7000023"} update={"$set"=>{"_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"52a1acd62475809ed7000020", :fullpath=>{"en"=>"index"}}}} flags=[] (0.1009ms)
17452
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4599ms)
17453
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test2"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.2902ms)
17454
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"52a1acd72475809ed7000032", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-12-06 10:54:14 UTC, "updated_at"=>2013-12-06 10:54:15 UTC, "memberships"=>[{"_id"=>"52a1acd72475809ed7000033", "role"=>"admin", "account_id"=>"52a1acd62475809ed700001f"}]}] flags=[] (0.1531ms)
17455
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acd72475809ed7000032", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4570ms)
17456
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acd72475809ed7000032", "_id"=>{"$ne"=>"52a1acd72475809ed7000034"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4580ms)
17457
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acd72475809ed7000034", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"52a1acd72475809ed7000032", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:15 UTC, "created_at"=>2013-12-06 10:54:15 UTC}] flags=[] (0.1872ms)
17458
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd72475809ed7000032", "template_dependencies.en"=>{"$in"=>["52a1acd72475809ed7000034"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3152ms)
17459
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd72475809ed7000034"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3829ms)
17460
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acd72475809ed7000034"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1318ms)
17461
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acd72475809ed7000034"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3483ms)
17462
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acd72475809ed7000035", "_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"52a1acd72475809ed7000032", :fullpath=>{"en"=>"index"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acd72475809ed7000034", "_keywords"=>["en:home", "en:page"]}] flags=[] (0.1450ms)
17463
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acd72475809ed7000032", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5002ms)
17464
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acd72475809ed7000032", "_id"=>{"$ne"=>"52a1acd72475809ed7000036"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.9029ms)
17465
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acd72475809ed7000032"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5751ms)
17466
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acd72475809ed7000036", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"52a1acd72475809ed7000032", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:15 UTC, "created_at"=>2013-12-06 10:54:15 UTC}] flags=[] (0.2711ms)
17467
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd72475809ed7000032", "template_dependencies.en"=>{"$in"=>["52a1acd72475809ed7000036"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3650ms)
17468
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd72475809ed7000036"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3619ms)
17469
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acd72475809ed7000036"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1070ms)
17470
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acd72475809ed7000032", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5410ms)
17471
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acd72475809ed7000032", "_id"=>{"$ne"=>"52a1acd72475809ed7000037"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7870ms)
17472
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acd72475809ed7000032"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4580ms)
17473
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"_id"=>{"$in"=>[]}}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3150ms)
17474
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acd72475809ed7000037", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Rickroll"}, "title"=>{"en"=>"This should never show up in the search, even if it would be findable"}, "slug"=>{"en"=>"rickroll"}, "site_id"=>"52a1acd72475809ed7000032", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:15 UTC, "created_at"=>2013-12-06 10:54:15 UTC}] flags=[] (0.2108ms)
17475
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd72475809ed7000032", "template_dependencies.en"=>{"$in"=>["52a1acd72475809ed7000037"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3128ms)
17476
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acd72475809ed7000037"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3412ms)
17477
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acd72475809ed7000037"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0958ms)
17478
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acd72475809ed7000037"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3009ms)
17479
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acd72475809ed7000038", "_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :site_id=>"52a1acd72475809ed7000032", :fullpath=>{"en"=>"rickroll"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acd72475809ed7000037", "_keywords"=>["en:this", "en:should", "en:never", "en:show", "en:up", "en:in", "en:the", "en:search,", "en:even", "en:if", "en:it", "en:would", "en:be", "en:findable"]}] flags=[] (0.2050ms)
17480
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"52a1acd72475809ed7000032", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4611ms)
17481
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"52a1acd72475809ed7000039", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"52a1acd72475809ed7000032", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"52a1acd72475809ed700003a", "updated_at"=>2013-12-06 10:54:15 UTC, "created_at"=>2013-12-06 10:54:15 UTC, "entries_custom_fields"=>[{"_id"=>"52a1acd72475809ed700003a", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}]}] flags=[] (0.1893ms)
17482
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"52a1acd72475809ed700003b"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry52a1acd72475809ed7000039"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4981ms)
17483
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"52a1acd72475809ed7000039", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4921ms)
17484
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acd72475809ed7000039"]}}} (0.4981ms)
17485
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"52a1acd72475809ed700003b", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry52a1acd72475809ed7000039", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry52a1acd72475809ed7000039", "content_type_id"=>"52a1acd72475809ed7000039", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"52a1acd72475809ed7000032", "_label_field_name"=>"name", "updated_at"=>2013-12-06 10:54:15 UTC, "created_at"=>2013-12-06 10:54:15 UTC}] flags=[] (0.1481ms)
17486
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry52a1acd72475809ed7000039", "_original_id"=>"52a1acd72475809ed700003b"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3769ms)
17487
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acd72475809ed700003c", "_stored"=>{:_slug=>{"en"=>"not-findable-entry"}, "name"=>"NOT Findable entry", :site_id=>"52a1acd72475809ed7000032", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry52a1acd72475809ed7000039", "_original_id"=>"52a1acd72475809ed700003b", "_keywords"=>["not", "findable", "entry"]}] flags=[] (0.1509ms)
17488
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"52a1acd62475809ed7000028"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry52a1acd62475809ed7000025"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4468ms)
17489
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"52a1acd62475809ed700002a"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry52a1acd62475809ed7000025"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4299ms)
17490
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acd62475809ed7000025"]}} update={"$set"=>{"_label_field_name"=>"name"}} flags=[:multi] (0.1450ms)
17491
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"52a1acd62475809ed7000025"} update={"$set"=>{"updated_at"=>2013-12-06 10:54:15 UTC, "entries_custom_fields_version"=>1, "entries_custom_fields.1.searchable"=>true}} flags=[] (0.1280ms)
17492
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"52a1acd62475809ed7000025"} update={"$set"=>{"custom_fields_recipe.rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "custom_fields_recipe.version"=>1}, "$unset"=>{}, "$rename"=>{}} flags={:multi=>true} (0.2120ms)
17493
+ Started GET "/" for 127.0.0.1 at 2013-12-06 11:54:15 +0100
17494
+ Processing by Locomotive::Public::PagesController#show as HTML
17495
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
17496
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7510ms)
17497
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000020", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6289ms)
17498
+ Rendered text template (0.0ms)
17499
+ Completed 200 OK in 5.5ms (Views: 0.5ms)
17500
+ Started GET "/en/search?search=stuff" for 127.0.0.1 at 2013-12-06 11:54:15 +0100
17501
+ Processing by Locomotive::Public::PagesController#show as HTML
17502
+ Parameters: {"search"=>"stuff", "locale"=>"en", "path"=>"search"}
17503
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
17504
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7000ms)
17505
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000020", "depth"=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5739ms)
17506
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"_stored.site_id"=>"52a1acd62475809ed7000020", "_keywords"=>{"$in"=>["stuff", "en:stuff"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5097ms)
17507
+ Rendered text template (0.0ms)
17508
+ Completed 200 OK in 5.6ms (Views: 0.4ms)
17509
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"52a1acd62475809ed7000025"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5240ms)
17510
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"52a1acd62475809ed7000025", "updated_at"=>{"$lt"=>2013-12-06 10:54:15 UTC}, "_type"=>{"$in"=>["Locomotive::ContentEntry52a1acd62475809ed7000025"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7739ms)
17511
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"52a1acd62475809ed7000020"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4580ms)
17512
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"_id"=>"52a1acd62475809ed7000025"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4916ms)
17513
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>"52a1acd62475809ed7000028"} update={"$set"=>{"updated_at"=>2013-12-06 10:54:15 UTC}} flags=[] (0.1371ms)
17514
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry52a1acd62475809ed7000025", "_original_id"=>"52a1acd62475809ed7000028"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5510ms)
17515
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_models selector={"_id"=>"52a1acd62475809ed7000029"} update={"$set"=>{"_stored"=>{:_slug=>{"en"=>"findable-entry"}, "name"=>"Findable entry", :site_id=>"52a1acd62475809ed7000020", :content_type_slug=>"examples"}, "_keywords"=>["findable", "entry", "some", "stuff"]}} flags=[] (0.1571ms)
17516
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"52a1acd62475809ed7000020"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4330ms)
17517
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"_id"=>"52a1acd62475809ed7000025"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4411ms)
17518
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>"52a1acd62475809ed700002a"} update={"$set"=>{"updated_at"=>2013-12-06 10:54:15 UTC}} flags=[] (0.1218ms)
17519
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry52a1acd62475809ed7000025", "_original_id"=>"52a1acd62475809ed700002a"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5579ms)
17520
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_models selector={"_id"=>"52a1acd62475809ed700002b"} update={"$set"=>{"_stored"=>{:_slug=>{"en"=>"hidden"}, "name"=>"Hidden", :site_id=>"52a1acd62475809ed7000020", :content_type_slug=>"examples"}, "_keywords"=>["hidden", "not", "findable"]}} flags=[] (0.1087ms)
17521
+ Started GET "/en/" for 127.0.0.1 at 2013-12-06 11:54:15 +0100
17522
+ Started GET "/en" for 127.0.0.1 at 2013-12-06 11:54:15 +0100
17523
+ Processing by Locomotive::Public::PagesController#show as HTML
17524
+ Parameters: {"page_path"=>"index", "locale"=>"en"}
17525
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
17526
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5271ms)
17527
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000020", "depth"=>0, "fullpath.en"=>{"$in"=>["index"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5431ms)
17528
+ Rendered text template (0.0ms)
17529
+ Completed 200 OK in 4.4ms (Views: 0.4ms)
17530
+ Started GET "/en/search?search=stuff" for 127.0.0.1 at 2013-12-06 11:54:15 +0100
17531
+ Processing by Locomotive::Public::PagesController#show as HTML
17532
+ Parameters: {"search"=>"stuff", "locale"=>"en", "path"=>"search"}
17533
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
17534
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5908ms)
17535
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acd62475809ed7000020", "depth"=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7119ms)
17536
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"_stored.site_id"=>"52a1acd62475809ed7000020", "_keywords"=>{"$in"=>["stuff", "en:stuff"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4320ms)
17537
+ Rendered text template (0.0ms)
17538
+ Completed 200 OK in 5.8ms (Views: 0.3ms)
17539
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5109ms)
17540
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (0.5600ms)
17541
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (0.4690ms)
17542
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (0.4799ms)
17543
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"active_search_mongoid_models"} (0.4840ms)
17544
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (0.4151ms)
17545
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (0.4160ms)
17546
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0309ms)
17547
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5040ms)
17548
+ Creating scope :root. Overwriting existing method Locomotive::Page.root.
17549
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5670ms)
17550
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.9108ms)
17551
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"email"=>"admin@locomotiveapp.org"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5558ms)
17552
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"52a1acdb247580fb67000001", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"290ed9ec8cb0fa26e5f68bc40dad3020711f209b", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"eiNeo4qUV7Rzp61fBCQr", "api_key"=>"e0e94c6c24e4bcc320506ff3a0a769fce9b615ae", "updated_at"=>2013-12-06 10:54:19 UTC, "created_at"=>2013-12-06 10:54:19 UTC}] flags=[] (0.1881ms)
17553
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.8390ms)
17554
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"52a1acdc247580fb67000002", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-12-06 10:54:19 UTC, "updated_at"=>2013-12-06 10:54:20 UTC, "memberships"=>[{"_id"=>"52a1acdc247580fb67000003", "role"=>"admin", "account_id"=>"52a1acdb247580fb67000001"}]}] flags=[] (0.2213ms)
17555
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acdc247580fb67000002", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.8140ms)
17556
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acdc247580fb67000002", "_id"=>{"$ne"=>"52a1acdc247580fb67000004"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5231ms)
17557
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acdc247580fb67000004", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"52a1acdc247580fb67000002", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:20 UTC, "created_at"=>2013-12-06 10:54:20 UTC}] flags=[] (0.2379ms)
17558
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acdc247580fb67000004"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5641ms)
17559
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acdc247580fb67000002", "template_dependencies.en"=>{"$in"=>["52a1acdc247580fb67000004"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4101ms)
17560
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acdc247580fb67000004"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1440ms)
17561
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acdc247580fb67000004"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6478ms)
17562
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acdc247580fb67000005", "_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"52a1acdc247580fb67000002", :fullpath=>{"en"=>"index"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acdc247580fb67000004", "_keywords"=>["en:home", "en:page"]}] flags=[] (0.1991ms)
17563
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acdc247580fb67000002", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4630ms)
17564
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acdc247580fb67000002", "_id"=>{"$ne"=>"52a1acdc247580fb67000006"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7570ms)
17565
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acdc247580fb67000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.8411ms)
17566
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acdc247580fb67000006", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"52a1acdc247580fb67000002", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:20 UTC, "created_at"=>2013-12-06 10:54:20 UTC}] flags=[] (0.2050ms)
17567
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acdc247580fb67000002", "template_dependencies.en"=>{"$in"=>["52a1acdc247580fb67000006"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6971ms)
17568
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acdc247580fb67000006"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3159ms)
17569
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acdc247580fb67000006"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1202ms)
17570
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"52a1acdc247580fb67000002", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5710ms)
17571
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"52a1acdc247580fb67000007", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"52a1acdc247580fb67000002", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"52a1acdc247580fb67000008", "updated_at"=>2013-12-06 10:54:20 UTC, "created_at"=>2013-12-06 10:54:20 UTC, "entries_custom_fields"=>[{"_id"=>"52a1acdc247580fb67000008", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}]}] flags=[] (0.2959ms)
17572
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"52a1acdc247580fb67000007"} update={"$push"=>{"entries_custom_fields"=>{"_id"=>"52a1acdc247580fb67000009", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Stuff", "type"=>"text", "searchable"=>false, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"stuff", "updated_at"=>2013-12-06 10:54:20 UTC, "created_at"=>2013-12-06 10:54:20 UTC}}} flags=[] (0.1872ms)
17573
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"52a1acdc247580fb6700000a"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry52a1acdc247580fb67000007"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8042ms)
17574
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"52a1acdc247580fb67000007", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4852ms)
17575
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acdc247580fb67000007"]}}} (0.4580ms)
17576
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"52a1acdc247580fb6700000a", "_position"=>0, "_visible"=>true, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry52a1acdc247580fb67000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry52a1acdc247580fb67000007", "content_type_id"=>"52a1acdc247580fb67000007", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"52a1acdc247580fb67000002", "_label_field_name"=>"name", "updated_at"=>2013-12-06 10:54:20 UTC, "created_at"=>2013-12-06 10:54:20 UTC}] flags=[] (0.2341ms)
17577
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry52a1acdc247580fb67000007", "_original_id"=>"52a1acdc247580fb6700000a"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5310ms)
17578
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acdc247580fb6700000b", "_stored"=>{:_slug=>{"en"=>"findable-entry"}, "name"=>"Findable entry", :site_id=>"52a1acdc247580fb67000002", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry52a1acdc247580fb67000007", "_original_id"=>"52a1acdc247580fb6700000a", "_keywords"=>["findable", "entry"]}] flags=[] (0.1342ms)
17579
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"52a1acdc247580fb6700000c"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry52a1acdc247580fb67000007"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5250ms)
17580
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"52a1acdc247580fb67000007", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3600ms)
17581
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acdc247580fb67000007"]}}} (0.3679ms)
17582
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acdc247580fb67000007"]}}} (0.3448ms)
17583
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acdc247580fb67000007"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.4671ms)
17584
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"52a1acdc247580fb6700000c", "_position"=>1, "_visible"=>true, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry52a1acdc247580fb67000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry52a1acdc247580fb67000007", "content_type_id"=>"52a1acdc247580fb67000007", "_slug"=>{"en"=>"hidden"}, "site_id"=>"52a1acdc247580fb67000002", "_label_field_name"=>"name", "updated_at"=>2013-12-06 10:54:20 UTC, "created_at"=>2013-12-06 10:54:20 UTC}] flags=[] (0.1750ms)
17585
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry52a1acdc247580fb67000007", "_original_id"=>"52a1acdc247580fb6700000c"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3448ms)
17586
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acdc247580fb6700000d", "_stored"=>{:_slug=>{"en"=>"hidden"}, "name"=>"Hidden", :site_id=>"52a1acdc247580fb67000002", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry52a1acdc247580fb67000007", "_original_id"=>"52a1acdc247580fb6700000c", "_keywords"=>["hidden"]}] flags=[] (0.1199ms)
17587
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5612ms)
17588
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acdc247580fb67000002", "parent_id"=>"52a1acdc247580fb67000004", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4199ms)
17589
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acdc247580fb67000004", "site_id"=>"52a1acdc247580fb67000002", "_id"=>{"$ne"=>"52a1acdc247580fb6700000e"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4680ms)
17590
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"52a1acdc247580fb67000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6340ms)
17591
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acdc247580fb6700000e", "parent_ids"=>["52a1acdc247580fb67000004"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>"52a1acdc247580fb67000002", "parent_id"=>"52a1acdc247580fb67000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:20 UTC, "created_at"=>2013-12-06 10:54:20 UTC}] flags=[] (0.2489ms)
17592
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acdc247580fb67000002", "template_dependencies.en"=>{"$in"=>["52a1acdc247580fb6700000e"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3822ms)
17593
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acdc247580fb6700000e"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3362ms)
17594
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acdc247580fb6700000e"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1090ms)
17595
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acdc247580fb6700000e"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3242ms)
17596
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acdc247580fb6700000f", "_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :site_id=>"52a1acdc247580fb67000002", :fullpath=>{"en"=>"findable"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acdc247580fb6700000e", "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}] flags=[] (0.1678ms)
17597
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5860ms)
17598
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acdc247580fb67000002", "parent_id"=>"52a1acdc247580fb67000004", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4270ms)
17599
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acdc247580fb67000004", "site_id"=>"52a1acdc247580fb67000002", "_id"=>{"$ne"=>"52a1acdc247580fb67000010"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6058ms)
17600
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acdc247580fb67000004", "site_id"=>"52a1acdc247580fb67000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4389ms)
17601
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"52a1acdc247580fb67000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4621ms)
17602
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acdc247580fb67000010", "parent_ids"=>["52a1acdc247580fb67000004"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>false, "raw_template"=>{"en"=>"Not published, so can't be found"}, "title"=>{"en"=>"Unpublished findable"}, "slug"=>{"en"=>"unpublished-findable"}, "site_id"=>"52a1acdc247580fb67000002", "parent_id"=>"52a1acdc247580fb67000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:20 UTC, "created_at"=>2013-12-06 10:54:20 UTC}] flags=[] (0.1960ms)
17603
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acdc247580fb67000002", "template_dependencies.en"=>{"$in"=>["52a1acdc247580fb67000010"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3119ms)
17604
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acdc247580fb67000010"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3438ms)
17605
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acdc247580fb67000010"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1171ms)
17606
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6490ms)
17607
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acdc247580fb67000002", "parent_id"=>"52a1acdc247580fb67000004", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4423ms)
17608
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acdc247580fb67000004", "site_id"=>"52a1acdc247580fb67000002", "_id"=>{"$ne"=>"52a1acdc247580fb67000011"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7553ms)
17609
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acdc247580fb67000004", "site_id"=>"52a1acdc247580fb67000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4852ms)
17610
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"52a1acdc247580fb67000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6442ms)
17611
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acdc247580fb67000011", "parent_ids"=>["52a1acdc247580fb67000004"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>false, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Even if it seems findable, it sound't be found because of the searchable flag"}, "title"=>{"en"=>"Seems findable"}, "slug"=>{"en"=>"seems-findable"}, "site_id"=>"52a1acdc247580fb67000002", "parent_id"=>"52a1acdc247580fb67000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:20 UTC, "created_at"=>2013-12-06 10:54:20 UTC}] flags=[] (0.2558ms)
17612
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acdc247580fb67000002", "template_dependencies.en"=>{"$in"=>["52a1acdc247580fb67000011"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3300ms)
17613
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acdc247580fb67000011"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3412ms)
17614
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acdc247580fb67000011"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1070ms)
17615
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6201ms)
17616
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acdc247580fb67000002", "parent_id"=>"52a1acdc247580fb67000004", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6311ms)
17617
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acdc247580fb67000004", "site_id"=>"52a1acdc247580fb67000002", "_id"=>{"$ne"=>"52a1acdc247580fb67000012"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.9673ms)
17618
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acdc247580fb67000004", "site_id"=>"52a1acdc247580fb67000002"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5488ms)
17619
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"52a1acdc247580fb67000004"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5193ms)
17620
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acdc247580fb67000012", "parent_ids"=>["52a1acdc247580fb67000004"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>" * Search results:\n <ul>\n {% for result in site.search %}\n {% if result.content_type_slug == 'examples' %}\n <li><a href=\"/examples/{{result._slug}}\">{{ result.name }}</a></li>\n {% else %}\n <li><a href=\"/{{result.fullpath}}\">{{ result.title }}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"52a1acdc247580fb67000002", "parent_id"=>"52a1acdc247580fb67000004", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1072>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:20 UTC, "created_at"=>2013-12-06 10:54:20 UTC}] flags=[] (0.1841ms)
17621
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acdc247580fb67000002", "template_dependencies.en"=>{"$in"=>["52a1acdc247580fb67000012"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3798ms)
17622
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acdc247580fb67000012"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3951ms)
17623
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acdc247580fb67000012"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0997ms)
17624
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acdc247580fb67000012"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4010ms)
17625
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acdc247580fb67000013", "_stored"=>{:title=>{"en"=>"search"}, :site_id=>"52a1acdc247580fb67000002", :fullpath=>{"en"=>"search"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acdc247580fb67000012", "_keywords"=>["en:search"]}] flags=[] (0.1640ms)
17626
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acdc247580fb67000002", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6061ms)
17627
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"52a1acdc247580fb67000002"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4222ms)
17628
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"52a1acdc247580fb67000004"} update={"$set"=>{"raw_template"=>{"en"=>"\n <form action=\"/{{ locale }}/search\" method=\"GET\">\n <label for=\"search\">Search</label>\n <input type=\"text\" name=\"search\" id=\"search\">\n <input type=\"submit\" value=\"Search\">\n </form>"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=371>}, "updated_at"=>2013-12-06 10:54:20 UTC}} flags=[] (0.1910ms)
17629
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acdc247580fb67000002", "template_dependencies.en"=>{"$in"=>["52a1acdc247580fb67000004"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3939ms)
17630
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acdc247580fb67000004"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4621ms)
17631
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_models selector={"_id"=>"52a1acdc247580fb67000005"} update={"$set"=>{"_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"52a1acdc247580fb67000002", :fullpath=>{"en"=>"index"}}}} flags=[] (0.1249ms)
17632
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4921ms)
17633
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test2"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3138ms)
17634
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"52a1acdc247580fb67000014", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-12-06 10:54:19 UTC, "updated_at"=>2013-12-06 10:54:20 UTC, "memberships"=>[{"_id"=>"52a1acdc247580fb67000015", "role"=>"admin", "account_id"=>"52a1acdb247580fb67000001"}]}] flags=[] (0.1559ms)
17635
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acdc247580fb67000014", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4330ms)
17636
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acdc247580fb67000014", "_id"=>{"$ne"=>"52a1acdc247580fb67000016"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4900ms)
17637
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acdc247580fb67000016", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"52a1acdc247580fb67000014", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:20 UTC, "created_at"=>2013-12-06 10:54:20 UTC}] flags=[] (0.2701ms)
17638
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acdc247580fb67000014", "template_dependencies.en"=>{"$in"=>["52a1acdc247580fb67000016"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4222ms)
17639
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acdc247580fb67000016"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4601ms)
17640
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acdc247580fb67000016"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1228ms)
17641
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acdc247580fb67000016"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3393ms)
17642
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acdc247580fb67000017", "_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"52a1acdc247580fb67000014", :fullpath=>{"en"=>"index"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acdc247580fb67000016", "_keywords"=>["en:home", "en:page"]}] flags=[] (0.1452ms)
17643
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acdc247580fb67000014", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5329ms)
17644
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acdc247580fb67000014", "_id"=>{"$ne"=>"52a1acdc247580fb67000018"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6449ms)
17645
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acdc247580fb67000014"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4749ms)
17646
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acdc247580fb67000018", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"52a1acdc247580fb67000014", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:20 UTC, "created_at"=>2013-12-06 10:54:20 UTC}] flags=[] (0.1581ms)
17647
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acdc247580fb67000014", "template_dependencies.en"=>{"$in"=>["52a1acdc247580fb67000018"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3121ms)
17648
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acdc247580fb67000018"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3290ms)
17649
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acdc247580fb67000018"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1409ms)
17650
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acdc247580fb67000014", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4351ms)
17651
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acdc247580fb67000014", "_id"=>{"$ne"=>"52a1acdc247580fb67000019"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7291ms)
17652
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acdc247580fb67000014"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5250ms)
17653
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"_id"=>{"$in"=>[]}}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.2649ms)
17654
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acdc247580fb67000019", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Rickroll"}, "title"=>{"en"=>"This should never show up in the search, even if it would be findable"}, "slug"=>{"en"=>"rickroll"}, "site_id"=>"52a1acdc247580fb67000014", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:20 UTC, "created_at"=>2013-12-06 10:54:20 UTC}] flags=[] (0.1800ms)
17655
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acdc247580fb67000014", "template_dependencies.en"=>{"$in"=>["52a1acdc247580fb67000019"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3068ms)
17656
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acdc247580fb67000019"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3238ms)
17657
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acdc247580fb67000019"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0870ms)
17658
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acdc247580fb67000019"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3362ms)
17659
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acdc247580fb6700001a", "_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :site_id=>"52a1acdc247580fb67000014", :fullpath=>{"en"=>"rickroll"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acdc247580fb67000019", "_keywords"=>["en:this", "en:should", "en:never", "en:show", "en:up", "en:in", "en:the", "en:search,", "en:even", "en:if", "en:it", "en:would", "en:be", "en:findable"]}] flags=[] (0.1459ms)
17660
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"52a1acdc247580fb67000014", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4160ms)
17661
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"52a1acdc247580fb6700001b", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"52a1acdc247580fb67000014", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"52a1acdc247580fb6700001c", "updated_at"=>2013-12-06 10:54:20 UTC, "created_at"=>2013-12-06 10:54:20 UTC, "entries_custom_fields"=>[{"_id"=>"52a1acdc247580fb6700001c", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}]}] flags=[] (0.1972ms)
17662
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"52a1acdc247580fb6700001d"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry52a1acdc247580fb6700001b"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4780ms)
17663
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"52a1acdc247580fb6700001b", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4370ms)
17664
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acdc247580fb6700001b"]}}} (0.4342ms)
17665
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"52a1acdc247580fb6700001d", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry52a1acdc247580fb6700001b", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry52a1acdc247580fb6700001b", "content_type_id"=>"52a1acdc247580fb6700001b", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"52a1acdc247580fb67000014", "_label_field_name"=>"name", "updated_at"=>2013-12-06 10:54:20 UTC, "created_at"=>2013-12-06 10:54:20 UTC}] flags=[] (0.1950ms)
17666
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry52a1acdc247580fb6700001b", "_original_id"=>"52a1acdc247580fb6700001d"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3750ms)
17667
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acdc247580fb6700001e", "_stored"=>{:_slug=>{"en"=>"not-findable-entry"}, "name"=>"NOT Findable entry", :site_id=>"52a1acdc247580fb67000014", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry52a1acdc247580fb6700001b", "_original_id"=>"52a1acdc247580fb6700001d", "_keywords"=>["not", "findable", "entry"]}] flags=[] (0.1171ms)
17668
+ Started GET "/locomotive" for 127.0.0.1 at 2013-12-06 11:54:21 +0100
17669
+ Processing by Locomotive::SessionsController#new as HTML
17670
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
17671
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7963ms)
17672
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4830ms)
17673
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>{"$in"=>["52a1acdb247580fb67000001"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5622ms)
17674
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/sessions/new.html.haml within /locomotive/layouts/not_logged_in (20.0ms)
17675
+ Completed 200 OK in 43.6ms (Views: 37.4ms)
17676
+ Started GET "/assets/locomotive/not_logged_in.js" for 127.0.0.1 at 2013-12-06 11:54:21 +0100
17677
+ Served asset /locomotive/not_logged_in.js - 200 OK (6ms)
17678
+ Started GET "/assets/locomotive/not_logged_in.css" for 127.0.0.1 at 2013-12-06 11:54:21 +0100
17679
+ Served asset /locomotive/not_logged_in.css - 200 OK (10ms)
17680
+ Started GET "/assets/locomotive/background/body.png" for 127.0.0.1 at 2013-12-06 11:54:21 +0100
17681
+ Served asset /locomotive/background/body.png - 200 OK (1ms)
17682
+ Started POST "/locomotive/sign_in" for 127.0.0.1 at 2013-12-06 11:54:21 +0100
17683
+ Processing by Locomotive::SessionsController#create as HTML
17684
+ Parameters: {"utf8"=>"✓", "locomotive_account"=>{"remember_me"=>"true", "email"=>"admin@locomotiveapp.org", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
17685
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
17686
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6950ms)
17687
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>{"$in"=>["52a1acdb247580fb67000001"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5488ms)
17688
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"email"=>"admin@locomotiveapp.org"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6189ms)
17689
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>"52a1acdb247580fb67000001"} update={"$set"=>{"remember_created_at"=>2013-12-06 10:54:21 UTC, "updated_at"=>2013-12-06 10:54:21 UTC}} flags=[] (0.1588ms)
17690
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>"52a1acdb247580fb67000001"} update={"$set"=>{"last_sign_in_at"=>2013-12-06 10:54:21 UTC, "current_sign_in_at"=>2013-12-06 10:54:21 UTC, "last_sign_in_ip"=>"127.0.0.1", "current_sign_in_ip"=>"127.0.0.1", "sign_in_count"=>1, "updated_at"=>2013-12-06 10:54:21 UTC}} flags=[] (0.1621ms)
17691
+ Redirected to http://test.example.com:7171/locomotive/pages
17692
+ Completed 302 Found in 22.1ms
17693
+ Started GET "/locomotive/pages" for 127.0.0.1 at 2013-12-06 11:54:21 +0100
17694
+ Processing by Locomotive::PagesController#index as HTML
17695
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
17696
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.8438ms)
17697
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>"52a1acdb247580fb67000001"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4919ms)
17698
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>{"$in"=>["52a1acdb247580fb67000001"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5419ms)
17699
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acdc247580fb67000002"}, "$orderby"=>{"depth"=>1, "position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"serialized_template.en"=>0, "template_dependencies.en"=>0, "snippet_dependencies.en"=>0, "templatized_from_parent"=>0, "target_klass_name"=>0, "redirect_url.en"=>0, "redirect_type"=>0, "seo_title.en"=>0, "meta_keywords.en"=>0, "meta_description.en"=>0, "handle"=>0, "raw_template.en"=>0, "locales"=>0, "cache_strategy"=>0, "searchable"=>0} (1.3912ms)
17700
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acdc247580fb67000002"}, "$orderby"=>{"position"=>1, "updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields={"serialized_template.en"=>0, "template_dependencies.en"=>0, "snippet_dependencies.en"=>0, "templatized_from_parent"=>0, "target_klass_name"=>0, "redirect_url.en"=>0, "redirect_type"=>0, "seo_title.en"=>0, "meta_keywords.en"=>0, "meta_description.en"=>0, "handle"=>0, "raw_template.en"=>0, "locales"=>0, "cache_strategy"=>0, "searchable"=>0} (1.0989ms)
17701
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"52a1acdc247580fb67000002"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"site_id"=>1, "name"=>1, "slug"=>1, "label_field_name"=>1} (0.6251ms)
17702
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"52a1acdc247580fb67000002"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"site_id"=>1, "name"=>1, "slug"=>1, "label_field_name"=>1} (0.4129ms)
17703
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"52a1acdc247580fb67000007"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (0.6590ms)
17704
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/menu/_contents.html.haml (24.7ms)
17705
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/actions/_contents.html.haml (2.5ms)
17706
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/_page.html.haml (5.2ms)
17707
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/_page.html.haml (11.7ms)
17708
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/index.html.haml within /locomotive/layouts/application (49.5ms)
17709
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_main_app_head_before_backbone.html.haml (1.7ms)
17710
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships"=>{"$elemMatch"=>{:account_id=>"52a1acdb247580fb67000001", :role=>:admin}}}} (0.5529ms)
17711
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_main_app_head.html.haml (1.2ms)
17712
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_head.html.haml (16.2ms)
17713
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships.account_id"=>"52a1acdb247580fb67000001"}} (0.5870ms)
17714
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/cells/locomotive/global_actions/show.html.haml (3.2ms)
17715
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"memberships.account_id"=>"52a1acdb247580fb67000001"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5922ms)
17716
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_site_picker.html.haml (4.5ms)
17717
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_header.html.haml (25.8ms)
17718
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/cells/locomotive/main_menu/show.html.haml (3.4ms)
17719
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_footer.html.haml (1.6ms)
17720
+ Completed 200 OK in 138.6ms (Views: 118.7ms)
17721
+ Started GET "/assets/locomotive.css" for 127.0.0.1 at 2013-12-06 11:54:22 +0100
17722
+ Served asset /locomotive.css - 200 OK (41ms)
17723
+ Started GET "/assets/locomotive.js" for 127.0.0.1 at 2013-12-06 11:54:22 +0100
17724
+ Served asset /locomotive.js - 200 OK (121ms)
17725
+ Started GET "/assets/locomotive/list/item-left.png" for 127.0.0.1 at 2013-12-06 11:54:22 +0100
17726
+ Served asset /locomotive/list/item-left.png - 200 OK (3ms)
17727
+ Started GET "/assets/locomotive/plugins/sites_picker_top_arrow.png" for 127.0.0.1 at 2013-12-06 11:54:22 +0100
17728
+ Served asset /locomotive/plugins/sites_picker_top_arrow.png - 200 OK (2ms)
17729
+ Started GET "/assets/locomotive/nocoffee.png" for 127.0.0.1 at 2013-12-06 11:54:22 +0100
17730
+ Served asset /locomotive/nocoffee.png - 200 OK (1ms)
17731
+ Started GET "/locomotive/content_types/new" for 127.0.0.1 at 2013-12-06 11:54:22 +0100
17732
+ Processing by Locomotive::ContentTypesController#new as HTML
17733
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
17734
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6762ms)
17735
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>"52a1acdb247580fb67000001"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3841ms)
17736
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>{"$in"=>["52a1acdb247580fb67000001"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4849ms)
17737
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acdc247580fb67000002"}, "$orderby"=>{"position"=>1, "updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields={"serialized_template.en"=>0, "template_dependencies.en"=>0, "snippet_dependencies.en"=>0, "templatized_from_parent"=>0, "target_klass_name"=>0, "redirect_url.en"=>0, "redirect_type"=>0, "seo_title.en"=>0, "meta_keywords.en"=>0, "meta_description.en"=>0, "handle"=>0, "raw_template.en"=>0, "locales"=>0, "cache_strategy"=>0, "searchable"=>0} (1.3499ms)
17738
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"52a1acdc247580fb67000002"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"site_id"=>1, "name"=>1, "slug"=>1, "label_field_name"=>1} (0.5350ms)
17739
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"52a1acdc247580fb67000002"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"site_id"=>1, "name"=>1, "slug"=>1, "label_field_name"=>1} (0.4449ms)
17740
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"52a1acdc247580fb67000007"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (0.6800ms)
17741
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/menu/_contents.html.haml (14.8ms)
17742
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/actions/_contents.html.haml (0.8ms)
17743
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"52a1acdc247580fb67000002"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7889ms)
17744
+ Rendered /Users/didier/Documents/LocomotiveCMS/gems/search/app/cells/locomotive/partials/searchable.html.haml (4.2ms)
17745
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/custom_fields/_select_templates.html.haml (3.5ms)
17746
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/custom_fields/_form.html.haml (60.7ms)
17747
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"52a1acdc247580fb67000002", "entries_custom_fields.type"=>{"$in"=>["belongs_to", "many_to_many"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5190ms)
17748
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/content_types/_form.html.haml (82.9ms)
17749
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_form_actions.html.haml (3.4ms)
17750
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/content_types/new.html.haml within /locomotive/layouts/application (111.7ms)
17751
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_main_app_head_before_backbone.html.haml (0.0ms)
17752
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships"=>{"$elemMatch"=>{:account_id=>"52a1acdb247580fb67000001", :role=>:admin}}}} (0.6163ms)
17753
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_main_app_head.html.haml (0.0ms)
17754
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_head.html.haml (5.5ms)
17755
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships.account_id"=>"52a1acdb247580fb67000001"}} (0.3541ms)
17756
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/cells/locomotive/global_actions/show.html.haml (0.7ms)
17757
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"memberships.account_id"=>"52a1acdb247580fb67000001"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5569ms)
17758
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_site_picker.html.haml (1.7ms)
17759
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_header.html.haml (6.8ms)
17760
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/cells/locomotive/main_menu/show.html.haml (0.8ms)
17761
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_footer.html.haml (0.3ms)
17762
+ Completed 200 OK in 146.0ms (Views: 132.4ms)
17763
+ Started GET "/assets/locomotive/form/input-sep.png" for 127.0.0.1 at 2013-12-06 11:54:22 +0100
17764
+ Served asset /locomotive/form/input-sep.png - 200 OK (1ms)
17765
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8547ms)
17766
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (1.5788ms)
17767
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (1.4238ms)
17768
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (1.3292ms)
17769
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"active_search_mongoid_models"} (1.0788ms)
17770
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (0.8268ms)
17771
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (1.3387ms)
17772
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6473ms)
17773
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.7322ms)
17774
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"email"=>"admin@locomotiveapp.org"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3831ms)
17775
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_accounts documents=[{"_id"=>"52a1acde247580fb67000020", "email"=>"admin@locomotiveapp.org", "encrypted_password"=>"4864154d620e162d8c1ff353ed3bd7b2cfa69de8", "sign_in_count"=>0, "locale"=>"en", "name"=>"Admin", "password_salt"=>"eZ9ZQgQuwGisBcrWesxs", "api_key"=>"3b2f4674b2b517af94d9bca6f1d49d4d44d6268a", "updated_at"=>2013-12-06 10:54:22 UTC, "created_at"=>2013-12-06 10:54:22 UTC}] flags=[] (0.1700ms)
17776
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.9663ms)
17777
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"52a1acde247580fb67000021", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test.example.com"], "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-12-06 10:54:19 UTC, "updated_at"=>2013-12-06 10:54:22 UTC, "memberships"=>[{"_id"=>"52a1acde247580fb67000022", "role"=>"admin", "account_id"=>"52a1acde247580fb67000020"}]}] flags=[] (0.1941ms)
17778
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acde247580fb67000021", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (1.1480ms)
17779
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acde247580fb67000021", "_id"=>{"$ne"=>"52a1acde247580fb67000023"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.5090ms)
17780
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acde247580fb67000023", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"52a1acde247580fb67000021", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:22 UTC, "created_at"=>2013-12-06 10:54:22 UTC}] flags=[] (0.2217ms)
17781
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acde247580fb67000021", "template_dependencies.en"=>{"$in"=>["52a1acde247580fb67000023"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3538ms)
17782
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acde247580fb67000023"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3550ms)
17783
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acde247580fb67000023"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1130ms)
17784
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acde247580fb67000023"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4950ms)
17785
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acde247580fb67000024", "_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"52a1acde247580fb67000021", :fullpath=>{"en"=>"index"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acde247580fb67000023", "_keywords"=>["en:home", "en:page"]}] flags=[] (0.1781ms)
17786
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acde247580fb67000021", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4830ms)
17787
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acde247580fb67000021", "_id"=>{"$ne"=>"52a1acde247580fb67000025"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7219ms)
17788
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acde247580fb67000021"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5140ms)
17789
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acde247580fb67000025", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"52a1acde247580fb67000021", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:22 UTC, "created_at"=>2013-12-06 10:54:22 UTC}] flags=[] (0.2058ms)
17790
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acde247580fb67000021", "template_dependencies.en"=>{"$in"=>["52a1acde247580fb67000025"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4070ms)
17791
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acde247580fb67000025"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3409ms)
17792
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acde247580fb67000025"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1929ms)
17793
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"52a1acde247580fb67000021", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.6897ms)
17794
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"52a1acde247580fb67000026", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"52a1acde247580fb67000021", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"52a1acde247580fb67000027", "updated_at"=>2013-12-06 10:54:22 UTC, "created_at"=>2013-12-06 10:54:22 UTC, "entries_custom_fields"=>[{"_id"=>"52a1acde247580fb67000027", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}]}] flags=[] (0.2501ms)
17795
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_content_types selector={"_id"=>"52a1acde247580fb67000026"} update={"$push"=>{"entries_custom_fields"=>{"_id"=>"52a1acde247580fb67000028", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Stuff", "type"=>"text", "searchable"=>false, "allow_currency_from_symbol"=>false, "required"=>false, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"stuff", "updated_at"=>2013-12-06 10:54:22 UTC, "created_at"=>2013-12-06 10:54:22 UTC}}} flags=[] (0.3772ms)
17796
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"52a1acde247580fb67000029"}, "_slug.en"=>"findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry52a1acde247580fb67000026"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6373ms)
17797
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"52a1acde247580fb67000026", "$or"=>[{"_slug.en"=>"findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5403ms)
17798
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acde247580fb67000026"]}}} (0.4270ms)
17799
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"52a1acde247580fb67000029", "_position"=>0, "_visible"=>true, "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry52a1acde247580fb67000026", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry52a1acde247580fb67000026", "content_type_id"=>"52a1acde247580fb67000026", "_slug"=>{"en"=>"findable-entry"}, "site_id"=>"52a1acde247580fb67000021", "_label_field_name"=>"name", "updated_at"=>2013-12-06 10:54:22 UTC, "created_at"=>2013-12-06 10:54:22 UTC}] flags=[] (0.2050ms)
17800
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry52a1acde247580fb67000026", "_original_id"=>"52a1acde247580fb67000029"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4230ms)
17801
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acde247580fb6700002a", "_stored"=>{:_slug=>{"en"=>"findable-entry"}, "name"=>"Findable entry", :site_id=>"52a1acde247580fb67000021", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry52a1acde247580fb67000026", "_original_id"=>"52a1acde247580fb67000029", "_keywords"=>["findable", "entry"]}] flags=[] (0.1440ms)
17802
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"52a1acde247580fb6700002b"}, "_slug.en"=>"hidden", "_type"=>{"$in"=>["Locomotive::ContentEntry52a1acde247580fb67000026"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.7548ms)
17803
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"52a1acde247580fb67000026", "$or"=>[{"_slug.en"=>"hidden"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5131ms)
17804
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acde247580fb67000026"]}}} (0.5760ms)
17805
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acde247580fb67000026"]}}} (0.3300ms)
17806
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:aggregate=>"locomotive_content_entries", :pipeline=>[{"$match"=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acde247580fb67000026"]}, "_position"=>{"$nin"=>[nil]}}}, {"$group"=>{"_id"=>"_position", "count"=>{"$sum"=>1}, "max"=>{"$max"=>"$_position"}, "min"=>{"$min"=>"$_position"}, "sum"=>{"$sum"=>"$_position"}, "avg"=>{"$avg"=>"$_position"}}}]} (0.5538ms)
17807
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"52a1acde247580fb6700002b", "_position"=>1, "_visible"=>true, "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry52a1acde247580fb67000026", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry52a1acde247580fb67000026", "content_type_id"=>"52a1acde247580fb67000026", "_slug"=>{"en"=>"hidden"}, "site_id"=>"52a1acde247580fb67000021", "_label_field_name"=>"name", "updated_at"=>2013-12-06 10:54:23 UTC, "created_at"=>2013-12-06 10:54:23 UTC}] flags=[] (0.2677ms)
17808
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry52a1acde247580fb67000026", "_original_id"=>"52a1acde247580fb6700002b"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6490ms)
17809
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acdf247580fb6700002c", "_stored"=>{:_slug=>{"en"=>"hidden"}, "name"=>"Hidden", :site_id=>"52a1acde247580fb67000021", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry52a1acde247580fb67000026", "_original_id"=>"52a1acde247580fb6700002b", "_keywords"=>["hidden"]}] flags=[] (0.1302ms)
17810
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6571ms)
17811
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acde247580fb67000021", "parent_id"=>"52a1acde247580fb67000023", "$or"=>[{"slug.en"=>"findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4351ms)
17812
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acde247580fb67000023", "site_id"=>"52a1acde247580fb67000021", "_id"=>{"$ne"=>"52a1acdf247580fb6700002d"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4511ms)
17813
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"52a1acde247580fb67000023"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5779ms)
17814
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acdf247580fb6700002d", "parent_ids"=>["52a1acde247580fb67000023"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>"52a1acde247580fb67000021", "parent_id"=>"52a1acde247580fb67000023", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=115>}, "target_klass_name"=>nil, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:23 UTC, "created_at"=>2013-12-06 10:54:23 UTC}] flags=[] (0.2372ms)
17815
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acde247580fb67000021", "template_dependencies.en"=>{"$in"=>["52a1acdf247580fb6700002d"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4539ms)
17816
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acdf247580fb6700002d"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3629ms)
17817
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acdf247580fb6700002d"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0970ms)
17818
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acdf247580fb6700002d"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3388ms)
17819
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acdf247580fb6700002e", "_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :site_id=>"52a1acde247580fb67000021", :fullpath=>{"en"=>"findable"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acdf247580fb6700002d", "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}] flags=[] (0.1330ms)
17820
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5982ms)
17821
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acde247580fb67000021", "parent_id"=>"52a1acde247580fb67000023", "$or"=>[{"slug.en"=>"unpublished-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4900ms)
17822
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acde247580fb67000023", "site_id"=>"52a1acde247580fb67000021", "_id"=>{"$ne"=>"52a1acdf247580fb6700002f"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.8452ms)
17823
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acde247580fb67000023", "site_id"=>"52a1acde247580fb67000021"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6053ms)
17824
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"52a1acde247580fb67000023"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4981ms)
17825
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acdf247580fb6700002f", "parent_ids"=>["52a1acde247580fb67000023"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>false, "raw_template"=>{"en"=>"Not published, so can't be found"}, "title"=>{"en"=>"Unpublished findable"}, "slug"=>{"en"=>"unpublished-findable"}, "site_id"=>"52a1acde247580fb67000021", "parent_id"=>"52a1acde247580fb67000023", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=114>}, "target_klass_name"=>nil, "position"=>1, "fullpath"=>{"en"=>"unpublished-findable"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:23 UTC, "created_at"=>2013-12-06 10:54:23 UTC}] flags=[] (0.3231ms)
17826
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acde247580fb67000021", "template_dependencies.en"=>{"$in"=>["52a1acdf247580fb6700002f"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3839ms)
17827
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acdf247580fb6700002f"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3498ms)
17828
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acdf247580fb6700002f"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1061ms)
17829
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6070ms)
17830
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acde247580fb67000021", "parent_id"=>"52a1acde247580fb67000023", "$or"=>[{"slug.en"=>"seems-findable"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4179ms)
17831
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acde247580fb67000023", "site_id"=>"52a1acde247580fb67000021", "_id"=>{"$ne"=>"52a1acdf247580fb67000030"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7012ms)
17832
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acde247580fb67000023", "site_id"=>"52a1acde247580fb67000021"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4950ms)
17833
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"52a1acde247580fb67000023"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4811ms)
17834
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acdf247580fb67000030", "parent_ids"=>["52a1acde247580fb67000023"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>false, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Even if it seems findable, it sound't be found because of the searchable flag"}, "title"=>{"en"=>"Seems findable"}, "slug"=>{"en"=>"seems-findable"}, "site_id"=>"52a1acde247580fb67000021", "parent_id"=>"52a1acde247580fb67000023", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=159>}, "target_klass_name"=>nil, "position"=>2, "fullpath"=>{"en"=>"seems-findable"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:23 UTC, "created_at"=>2013-12-06 10:54:23 UTC}] flags=[] (0.1988ms)
17835
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acde247580fb67000021", "template_dependencies.en"=>{"$in"=>["52a1acdf247580fb67000030"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3092ms)
17836
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acdf247580fb67000030"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3462ms)
17837
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acdf247580fb67000030"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0970ms)
17838
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5250ms)
17839
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acde247580fb67000021", "parent_id"=>"52a1acde247580fb67000023", "$or"=>[{"slug.en"=>"search"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4292ms)
17840
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acde247580fb67000023", "site_id"=>"52a1acde247580fb67000021", "_id"=>{"$ne"=>"52a1acdf247580fb67000031"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.9091ms)
17841
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acde247580fb67000023", "site_id"=>"52a1acde247580fb67000021"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5312ms)
17842
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"$and"=>[{"$or"=>[{"_id"=>"52a1acde247580fb67000023"}]}]}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5999ms)
17843
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acdf247580fb67000031", "parent_ids"=>["52a1acde247580fb67000023"], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>" * Search results:\n <ul>\n {% for result in site.search %}\n {% if result.content_type_slug == 'examples' %}\n <li><a href=\"/examples/{{result._slug}}\">{{ result.name }}</a></li>\n {% else %}\n <li><a href=\"/{{result.fullpath}}\">{{ result.title }}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>"52a1acde247580fb67000021", "parent_id"=>"52a1acde247580fb67000023", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=1072>}, "target_klass_name"=>nil, "position"=>3, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:23 UTC, "created_at"=>2013-12-06 10:54:23 UTC}] flags=[] (0.3049ms)
17844
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acde247580fb67000021", "template_dependencies.en"=>{"$in"=>["52a1acdf247580fb67000031"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3850ms)
17845
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acdf247580fb67000031"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3581ms)
17846
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acdf247580fb67000031"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0961ms)
17847
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acdf247580fb67000031"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3760ms)
17848
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acdf247580fb67000032", "_stored"=>{:title=>{"en"=>"search"}, :site_id=>"52a1acde247580fb67000021", :fullpath=>{"en"=>"search"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acdf247580fb67000031", "_keywords"=>["en:search"]}] flags=[] (0.2589ms)
17849
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acde247580fb67000021", "slug.en"=>"index"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5932ms)
17850
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"_id"=>"52a1acde247580fb67000021"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3448ms)
17851
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"_id"=>"52a1acde247580fb67000023"} update={"$set"=>{"raw_template"=>{"en"=>"\n <form action=\"/{{ locale }}/search\" method=\"GET\">\n <label for=\"search\">Search</label>\n <input type=\"text\" name=\"search\" id=\"search\">\n <input type=\"submit\" value=\"Search\">\n </form>"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=371>}, "updated_at"=>2013-12-06 10:54:23 UTC}} flags=[] (0.2491ms)
17852
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acde247580fb67000021", "template_dependencies.en"=>{"$in"=>["52a1acde247580fb67000023"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3972ms)
17853
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acde247580fb67000023"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5419ms)
17854
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=active_search_mongoid_models selector={"_id"=>"52a1acde247580fb67000024"} update={"$set"=>{"_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"52a1acde247580fb67000021", :fullpath=>{"en"=>"index"}}}} flags=[] (0.1032ms)
17855
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"name"=>"Admin"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4661ms)
17856
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"subdomain"=>"test2"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.3362ms)
17857
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_sites documents=[{"_id"=>"52a1acdf247580fb67000033", "locales"=>["en"], "timezone_name"=>"UTC", "domains"=>["test2.example.com"], "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-12-06 10:54:19 UTC, "updated_at"=>2013-12-06 10:54:23 UTC, "memberships"=>[{"_id"=>"52a1acdf247580fb67000034", "role"=>"admin", "account_id"=>"52a1acde247580fb67000020"}]}] flags=[] (0.1380ms)
17858
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acdf247580fb67000033", "parent_id"=>nil, "$or"=>[{"slug.en"=>"index"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4621ms)
17859
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acdf247580fb67000033", "_id"=>{"$ne"=>"52a1acdf247580fb67000035"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.4930ms)
17860
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acdf247580fb67000035", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>"52a1acdf247580fb67000033", "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=106>}, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:23 UTC, "created_at"=>2013-12-06 10:54:23 UTC}] flags=[] (0.1960ms)
17861
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acdf247580fb67000033", "template_dependencies.en"=>{"$in"=>["52a1acdf247580fb67000035"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3502ms)
17862
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acdf247580fb67000035"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3610ms)
17863
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acdf247580fb67000035"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1009ms)
17864
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acdf247580fb67000035"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3321ms)
17865
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acdf247580fb67000036", "_stored"=>{:title=>{"en"=>"Home page"}, :site_id=>"52a1acdf247580fb67000033", :fullpath=>{"en"=>"index"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acdf247580fb67000035", "_keywords"=>["en:home", "en:page"]}] flags=[] (0.1628ms)
17866
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acdf247580fb67000033", "parent_id"=>nil, "$or"=>[{"slug.en"=>"404"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5119ms)
17867
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acdf247580fb67000033", "_id"=>{"$ne"=>"52a1acdf247580fb67000037"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.6728ms)
17868
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acdf247580fb67000033"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.5481ms)
17869
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acdf247580fb67000037", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "published"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>"52a1acdf247580fb67000033", "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=105>}, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:23 UTC, "created_at"=>2013-12-06 10:54:23 UTC}] flags=[] (0.1891ms)
17870
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acdf247580fb67000033", "template_dependencies.en"=>{"$in"=>["52a1acdf247580fb67000037"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4737ms)
17871
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acdf247580fb67000037"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4730ms)
17872
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acdf247580fb67000037"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.1869ms)
17873
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"site_id"=>"52a1acdf247580fb67000033", "parent_id"=>nil, "$or"=>[{"slug.en"=>"rickroll"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.5469ms)
17874
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acdf247580fb67000033", "_id"=>{"$ne"=>"52a1acdf247580fb67000038"}, "position"=>{"$ne"=>nil}}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil (0.7758ms)
17875
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>nil, "site_id"=>"52a1acdf247580fb67000033"}, "$orderby"=>{"position"=>-1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4852ms)
17876
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"_id"=>{"$in"=>[]}}, "$orderby"=>{"depth"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3111ms)
17877
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_pages documents=[{"_id"=>"52a1acdf247580fb67000038", "parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "redirect_type"=>301, "listed"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "searchable"=>true, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "published"=>true, "raw_template"=>{"en"=>"Rickroll"}, "title"=>{"en"=>"This should never show up in the search, even if it would be findable"}, "slug"=>{"en"=>"rickroll"}, "site_id"=>"52a1acdf247580fb67000033", "serialized_template"=>{"en"=>#<Moped::BSON::Binary type=:generic length=90>}, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "updated_at"=>2013-12-06 10:54:23 UTC, "created_at"=>2013-12-06 10:54:23 UTC}] flags=[] (0.2129ms)
17878
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acdf247580fb67000033", "template_dependencies.en"=>{"$in"=>["52a1acdf247580fb67000038"]}}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.3550ms)
17879
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"parent_id"=>"52a1acdf247580fb67000038"}, "$orderby"=>{"position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.4108ms)
17880
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_pages selector={"parent_ids"=>{"$in"=>["52a1acdf247580fb67000038"]}} update={"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}} flags={:multi=>true} (0.0970ms)
17881
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acdf247580fb67000038"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3231ms)
17882
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acdf247580fb67000039", "_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :site_id=>"52a1acdf247580fb67000033", :fullpath=>{"en"=>"rickroll"}}, "_original_type"=>"Locomotive::Page", "_original_id"=>"52a1acdf247580fb67000038", "_keywords"=>["en:this", "en:should", "en:never", "en:show", "en:up", "en:in", "en:the", "en:search,", "en:even", "en:if", "en:it", "en:would", "en:be", "en:findable"]}] flags=[] (0.2210ms)
17883
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"52a1acdf247580fb67000033", "slug"=>"examples"} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4518ms)
17884
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_types documents=[{"_id"=>"52a1acdf247580fb6700003a", "order_direction"=>"asc", "entries_custom_fields_version"=>0, "public_submission_enabled"=>false, "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>"52a1acdf247580fb67000033", "serialized_item_template"=>#<Moped::BSON::Binary type=:generic length=86>, "slug"=>"examples", "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>"52a1acdf247580fb6700003b", "updated_at"=>2013-12-06 10:54:23 UTC, "created_at"=>2013-12-06 10:54:23 UTC, "entries_custom_fields"=>[{"_id"=>"52a1acdf247580fb6700003b", "text_formatting"=>"html", "position"=>0, "ui_enabled"=>true, "label"=>"Name", "type"=>"string", "searchable"=>true, "allow_currency_from_symbol"=>false, "required"=>true, "unique"=>false, "localized"=>false, "_type"=>"Locomotive::ContentTypeEntryField", "default_currency"=>"EUR", "name"=>"name"}]}] flags=[] (0.1941ms)
17885
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"_id"=>{"$ne"=>"52a1acdf247580fb6700003c"}, "_slug.en"=>"not-findable-entry", "_type"=>{"$in"=>["Locomotive::ContentEntry52a1acdf247580fb6700003a"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5360ms)
17886
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"content_type_id"=>"52a1acdf247580fb6700003a", "$or"=>[{"_slug.en"=>"not-findable-entry"}]} flags=[] limit=1 skip=0 batch_size=nil fields={:_id=>1} (0.4458ms)
17887
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_content_entries", :query=>{"_type"=>{"$in"=>["Locomotive::ContentEntry52a1acdf247580fb6700003a"]}}} (0.4091ms)
17888
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=locomotive_content_entries documents=[{"_id"=>"52a1acdf247580fb6700003c", "_position"=>0, "_visible"=>true, "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry52a1acdf247580fb6700003a", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "unique"=>false, "localized"=>false}], "version"=>0, "model_name"=>"Locomotive::ContentEntry"}, "_type"=>"Locomotive::ContentEntry52a1acdf247580fb6700003a", "content_type_id"=>"52a1acdf247580fb6700003a", "_slug"=>{"en"=>"not-findable-entry"}, "site_id"=>"52a1acdf247580fb67000033", "_label_field_name"=>"name", "updated_at"=>2013-12-06 10:54:23 UTC, "created_at"=>2013-12-06 10:54:23 UTC}] flags=[] (0.2120ms)
17889
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=active_search_mongoid_models selector={"$query"=>{"_original_type"=>"Locomotive::ContentEntry52a1acdf247580fb6700003a", "_original_id"=>"52a1acdf247580fb6700003c"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.3562ms)
17890
+ MOPED: 127.0.0.1:27017 INSERT database=locomotive_search_test collection=active_search_mongoid_models documents=[{"_id"=>"52a1acdf247580fb6700003d", "_stored"=>{:_slug=>{"en"=>"not-findable-entry"}, "name"=>"NOT Findable entry", :site_id=>"52a1acdf247580fb67000033", :content_type_slug=>"examples"}, "_original_type"=>"Locomotive::ContentEntry52a1acdf247580fb6700003a", "_original_id"=>"52a1acdf247580fb6700003c", "_keywords"=>["not", "findable", "entry"]}] flags=[] (0.1500ms)
17891
+ Started GET "/locomotive" for 127.0.0.1 at 2013-12-06 11:54:23 +0100
17892
+ Processing by Locomotive::SessionsController#new as HTML
17893
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
17894
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.8669ms)
17895
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>{"$in"=>["52a1acde247580fb67000020"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6490ms)
17896
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/sessions/new.html.haml within /locomotive/layouts/not_logged_in (5.0ms)
17897
+ Completed 200 OK in 11.1ms (Views: 6.9ms)
17898
+ Started POST "/locomotive/sign_in" for 127.0.0.1 at 2013-12-06 11:54:23 +0100
17899
+ Processing by Locomotive::SessionsController#create as HTML
17900
+ Parameters: {"utf8"=>"✓", "locomotive_account"=>{"remember_me"=>"true", "email"=>"admin@locomotiveapp.org", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
17901
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
17902
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.6471ms)
17903
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>{"$in"=>["52a1acde247580fb67000020"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4542ms)
17904
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"email"=>"admin@locomotiveapp.org"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4101ms)
17905
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>"52a1acde247580fb67000020"} update={"$set"=>{"remember_created_at"=>2013-12-06 10:54:23 UTC, "updated_at"=>2013-12-06 10:54:23 UTC}} flags=[] (0.0970ms)
17906
+ MOPED: 127.0.0.1:27017 UPDATE database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>"52a1acde247580fb67000020"} update={"$set"=>{"last_sign_in_at"=>2013-12-06 10:54:23 UTC, "current_sign_in_at"=>2013-12-06 10:54:23 UTC, "last_sign_in_ip"=>"127.0.0.1", "current_sign_in_ip"=>"127.0.0.1", "sign_in_count"=>1, "updated_at"=>2013-12-06 10:54:23 UTC}} flags=[] (0.1292ms)
17907
+ Redirected to http://test.example.com:7171/locomotive/pages
17908
+ Completed 302 Found in 7.9ms
17909
+ Started GET "/locomotive/pages" for 127.0.0.1 at 2013-12-06 11:54:23 +0100
17910
+ Processing by Locomotive::PagesController#index as HTML
17911
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
17912
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.8562ms)
17913
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>"52a1acde247580fb67000020"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4871ms)
17914
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>{"$in"=>["52a1acde247580fb67000020"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5941ms)
17915
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acde247580fb67000021"}, "$orderby"=>{"depth"=>1, "position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"serialized_template.en"=>0, "template_dependencies.en"=>0, "snippet_dependencies.en"=>0, "templatized_from_parent"=>0, "target_klass_name"=>0, "redirect_url.en"=>0, "redirect_type"=>0, "seo_title.en"=>0, "meta_keywords.en"=>0, "meta_description.en"=>0, "handle"=>0, "raw_template.en"=>0, "locales"=>0, "cache_strategy"=>0, "searchable"=>0} (1.2162ms)
17916
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acde247580fb67000021"}, "$orderby"=>{"position"=>1, "updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields={"serialized_template.en"=>0, "template_dependencies.en"=>0, "snippet_dependencies.en"=>0, "templatized_from_parent"=>0, "target_klass_name"=>0, "redirect_url.en"=>0, "redirect_type"=>0, "seo_title.en"=>0, "meta_keywords.en"=>0, "meta_description.en"=>0, "handle"=>0, "raw_template.en"=>0, "locales"=>0, "cache_strategy"=>0, "searchable"=>0} (1.1590ms)
17917
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"52a1acde247580fb67000021"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"site_id"=>1, "name"=>1, "slug"=>1, "label_field_name"=>1} (0.4640ms)
17918
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"52a1acde247580fb67000021"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"site_id"=>1, "name"=>1, "slug"=>1, "label_field_name"=>1} (0.4938ms)
17919
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"52a1acde247580fb67000026"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (0.6940ms)
17920
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/menu/_contents.html.haml (14.7ms)
17921
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/actions/_contents.html.haml (0.5ms)
17922
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/_page.html.haml (4.6ms)
17923
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/_page.html.haml (7.0ms)
17924
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/index.html.haml within /locomotive/layouts/application (24.0ms)
17925
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_main_app_head_before_backbone.html.haml (0.1ms)
17926
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships"=>{"$elemMatch"=>{:account_id=>"52a1acde247580fb67000020", :role=>:admin}}}} (0.6878ms)
17927
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_main_app_head.html.haml (0.0ms)
17928
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_head.html.haml (5.9ms)
17929
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships.account_id"=>"52a1acde247580fb67000020"}} (0.3951ms)
17930
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/cells/locomotive/global_actions/show.html.haml (0.7ms)
17931
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"memberships.account_id"=>"52a1acde247580fb67000020"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5379ms)
17932
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_site_picker.html.haml (2.0ms)
17933
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_header.html.haml (7.1ms)
17934
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/cells/locomotive/main_menu/show.html.haml (0.6ms)
17935
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_footer.html.haml (0.2ms)
17936
+ Completed 200 OK in 59.9ms (Views: 41.1ms)
17937
+ Started GET "/locomotive/pages/new" for 127.0.0.1 at 2013-12-06 11:54:23 +0100
17938
+ Processing by Locomotive::PagesController#new as HTML
17939
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com:7171
17940
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"$query"=>{"domains"=>{"$in"=>["test.example.com"]}}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.8039ms)
17941
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"$query"=>{"_id"=>"52a1acde247580fb67000020"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 batch_size=nil fields=nil (0.4911ms)
17942
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_accounts selector={"_id"=>{"$in"=>["52a1acde247580fb67000020"]}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.5081ms)
17943
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acde247580fb67000021"}, "$orderby"=>{"position"=>1, "updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields={"serialized_template.en"=>0, "template_dependencies.en"=>0, "snippet_dependencies.en"=>0, "templatized_from_parent"=>0, "target_klass_name"=>0, "redirect_url.en"=>0, "redirect_type"=>0, "seo_title.en"=>0, "meta_keywords.en"=>0, "meta_description.en"=>0, "handle"=>0, "raw_template.en"=>0, "locales"=>0, "cache_strategy"=>0, "searchable"=>0} (1.5519ms)
17944
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"52a1acde247580fb67000021"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"site_id"=>1, "name"=>1, "slug"=>1, "label_field_name"=>1} (0.7203ms)
17945
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"$query"=>{"site_id"=>"52a1acde247580fb67000021"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"site_id"=>1, "name"=>1, "slug"=>1, "label_field_name"=>1} (0.6018ms)
17946
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_entries selector={"$query"=>{"content_type_id"=>"52a1acde247580fb67000026"}, "$orderby"=>{"updated_at"=>-1}} flags=[:slave_ok] limit=5 skip=0 batch_size=nil fields=nil (1.1022ms)
17947
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/menu/_contents.html.haml (22.5ms)
17948
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/actions/_contents.html.haml (1.3ms)
17949
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/content_assets/_picker.html.haml (10.5ms)
17950
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/theme_assets/_picker.html.haml (81.6ms)
17951
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/_editable_elements.html.haml (7.1ms)
17952
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_pages selector={"$query"=>{"site_id"=>"52a1acde247580fb67000021"}, "$orderby"=>{"depth"=>1, "position"=>1}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields={"serialized_template.en"=>0, "template_dependencies.en"=>0, "snippet_dependencies.en"=>0, "templatized_from_parent"=>0, "target_klass_name"=>0, "redirect_url.en"=>0, "redirect_type"=>0, "seo_title.en"=>0, "meta_keywords.en"=>0, "meta_description.en"=>0, "handle"=>0, "raw_template.en"=>0, "locales"=>0, "cache_strategy"=>0, "searchable"=>0} (1.2710ms)
17953
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_content_types selector={"site_id"=>"52a1acde247580fb67000021"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.8759ms)
17954
+ Rendered /Users/didier/Documents/LocomotiveCMS/gems/search/app/cells/locomotive/partials/searchable.html.haml (3.0ms)
17955
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/_form.html.haml (195.0ms)
17956
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_form_actions.html.haml (0.3ms)
17957
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/pages/new.html.haml within /locomotive/layouts/application (231.9ms)
17958
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_main_app_head_before_backbone.html.haml (0.0ms)
17959
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships"=>{"$elemMatch"=>{:account_id=>"52a1acde247580fb67000020", :role=>:admin}}}} (0.7701ms)
17960
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_main_app_head.html.haml (0.1ms)
17961
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_head.html.haml (5.2ms)
17962
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:count=>"locomotive_sites", :query=>{"memberships.account_id"=>"52a1acde247580fb67000020"}} (0.6211ms)
17963
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/cells/locomotive/global_actions/show.html.haml (0.8ms)
17964
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=locomotive_sites selector={"memberships.account_id"=>"52a1acde247580fb67000020"} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6518ms)
17965
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_site_picker.html.haml (2.2ms)
17966
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_header.html.haml (8.1ms)
17967
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/cells/locomotive/main_menu/show.html.haml (0.6ms)
17968
+ Rendered /Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/views/locomotive/shared/_footer.html.haml (0.2ms)
17969
+ Completed 200 OK in 272.8ms (Views: 255.1ms)
17970
+ Started GET "/assets/locomotive/jquery/images/ui-icons_222222_256x240.png" for 127.0.0.1 at 2013-12-06 11:54:23 +0100
17971
+ Served asset /locomotive/jquery/images/ui-icons_222222_256x240.png - 200 OK (4ms)
17972
+ MOPED: 127.0.0.1:27017 QUERY database=locomotive_search_test collection=system.namespaces selector={:name=>{"$not"=>/locomotive_search_test\.system\.|\$/}} flags=[:slave_ok] limit=0 skip=0 batch_size=nil fields=nil (0.6392ms)
17973
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_accounts"} (1.2879ms)
17974
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_sites"} (1.3399ms)
17975
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_pages"} (1.1480ms)
17976
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"active_search_mongoid_models"} (0.8180ms)
17977
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_types"} (0.7799ms)
17978
+ MOPED: 127.0.0.1:27017 COMMAND database=locomotive_search_test command={:drop=>"locomotive_content_entries"} (0.9239ms)