locomotivecms-search 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- M2U0ZWNkYTQyNDg0MmNhOGM2YjJkMjUyM2VlMjYzYzA0YzI2NTdjOA==
4
+ MmExZjQ0NWRjNWMyOGI3MjAzNTA2Y2RmOGM0ZDVmMmY5NjZkYTBjYw==
5
5
  data.tar.gz: !binary |-
6
- NTg0NDdhMzY0OWJjYmVlMDdmNDQyODVhZGRjNjk0Yzk1NmQ2YjNlNw==
6
+ M2E5YjEzNDJhZjE5MjBjNzYxZjIyZGM3OGIzY2I2ODc1NWZjZGYwZg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZjMxNTZkMzM1MTRkZDQ2ZWI4ZDk5NWY1MTVlYzM1M2U0YjE3YjUzNjlkODVk
10
- NzNlZTliZGFiNzhmMjExN2I5ZWM1NjZmZDRhN2U2MmQwN2ViMjU5MmU2NmJl
11
- YTA0ZWYyNjQ4M2M5ZmMwMzc4NWFhYzNlZjhjMGYxYTZhZGE1MGQ=
9
+ MmIxODE3MWIzOTI4Y2NkNzc5M2RjMmQ5ZjQ5MDQ2ZjA4ZjRlYjZjNDUyMDlj
10
+ MzIxOGNlNzY2NzY5YmFmODY4ODJkYzNkNzE2OGMzYjRmNjAzNGJlMmJiZTA2
11
+ YWUxMjEyNWE2OWJjMDMzMTc4NjRkMjIzZjYxNGJjYzY0MzkwMmU=
12
12
  data.tar.gz: !binary |-
13
- ZTI2NzRlZWY0MTc5MGQzNDA1ZGEyODAyYjE2NWQzYTQyOTJlZWZiNDFiYzI5
14
- ZmQ2YmQ4MmQzOWEyYzBmOGYzNDljYjFhNTUyNTZmZGQ4M2ZiN2I3ZGFmMjUy
15
- NTgxMDY4NDE3YWRiMmRlNjhjOGZhYzVkYmE2YTIyM2I5MWU5YjU=
13
+ YjMwODY1YTMyNzVlOGE3MjYxZjhhZGFiZmM5NGJkMzgxMmQ5MjVlOTcyZmJk
14
+ MDRlYTBiOTlmYjU0ZjQzZjkzMWZlNGM0Mjc1NmE3ZGVjNDc3MDgyMTZiMGUw
15
+ M2UyZjIwZDdjMzU4MTZlYWY2ODgyZGViYmE3MDE3YmI3NTM4NTI=
@@ -4,7 +4,7 @@ module Locomotive::Search
4
4
  def self.const_missing(const)
5
5
  if const.to_s == "Extension"
6
6
  require "activesearch/#{Locomotive.config.search_engine}"
7
- const_set(const, ::ActiveSearch.const_get(Locomotive.config.search_engine.to_s.classify))
7
+ const_set(const, ::ActiveSearch.const_get(Locomotive.config.search_engine.to_s.camelize))
8
8
  end
9
9
  end
10
10
 
@@ -1,5 +1,5 @@
1
1
  module Locomotive
2
2
  module Search
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
@@ -7033,3 +7033,1198 @@ MONGODB locomotive_search_test['system.namespaces'].find({})
7033
7033
  MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1)
7034
7034
  MONGODB locomotive_search_test['system.namespaces'].find({})
7035
7035
  MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1)
7036
+ MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
7037
+ MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
7038
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7039
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_types"}).limit(-1)
7040
+ MONGODB locomotive_search_test['locomotive_content_types'].find({})
7041
+ MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
7042
+ MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
7043
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7044
+ MONGODB locomotive_search_test['locomotive_content_types'].find({})
7045
+ MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
7046
+ MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
7047
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7048
+ MONGODB locomotive_search_test['locomotive_content_types'].find({})
7049
+ MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
7050
+ MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
7051
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7052
+ MONGODB locomotive_search_test['locomotive_content_types'].find({})
7053
+ MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
7054
+ MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
7055
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7056
+ MONGODB locomotive_search_test['locomotive_content_types'].find({})
7057
+ MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
7058
+ MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
7059
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7060
+ MONGODB locomotive_search_test['locomotive_content_types'].find({})
7061
+ Creating scope :root. Overwriting existing method Locomotive::Page.root.
7062
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7063
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7064
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1)
7065
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7066
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1)
7067
+ MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]])
7068
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1)
7069
+ MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"T9dpUnNQwECZdrjx9bbz", "encrypted_password"=>"06517ce5a9b9c68fe93407d2c3dfe99273b91631", "updated_at"=>2013-04-23 08:54:20 UTC, "created_at"=>2013-04-23 08:54:20 UTC}])
7070
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7071
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1)
7072
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1)
7073
+ MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-23 08:54:19 UTC, "updated_at"=>2013-04-23 08:54:20 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000003'), "account_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000002')}]}])
7074
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7075
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1)
7076
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7077
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000004')}}, {:_id=>1}).limit(-1)
7078
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "serialized_template"=>{"en"=><BSON::Binary:70185835402820>}, "updated_at"=>2013-04-23 08:54:20 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 08:54:20 UTC}])
7079
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000004')}).sort([[:position, :asc]])
7080
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000004')]}}).sort([[:position, :asc]])
7081
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7082
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7083
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1)
7084
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764c3cc82cd1f0f5000004')}).limit(-1).sort([[:_id, :asc]])
7085
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001')}, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000004'), "_keywords"=>["en:home", "en:page"]}])
7086
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7087
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000006')}}, {:_id=>1}).limit(-1)
7088
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000006')}}).sort([[:position, :asc]])
7089
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70185838540140 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000006')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70185838539700 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7090
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "serialized_template"=>{"en"=><BSON::Binary:70185836157320>}, "updated_at"=>2013-04-23 08:54:20 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 08:54:20 UTC}])
7091
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000006')]}}).sort([[:position, :asc]])
7092
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000006')}).sort([[:position, :asc]])
7093
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7094
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001')}, "fields"=>nil}).limit(-1)
7095
+ MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "serialized_item_template"=><BSON::Binary:70185838641820>, "slug"=>"examples", "updated_at"=>2013-04-23 08:54:20 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000008'), "created_at"=>2013-04-23 08:54:20 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 08:54:20 UTC, "created_at"=>2013-04-23 08:54:20 UTC}]}])
7096
+ MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-23 08:54:20 UTC, "created_at"=>2013-04-23 08:54:20 UTC}}})
7097
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7098
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1)
7099
+ MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f500000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764c3cc82cd1f0f5000007"]}})
7100
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51764c3cc82cd1f0f5000007')}, "fields"=>nil}).limit(-1)
7101
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=><BSON::Code:70185851266580 @data="function(obj, prev) { if (obj._position && prev.max == 'start') { prev.max = obj._position; } if (obj._position && prev.max < obj._position) { prev.max = obj._position; } }" @scope="{}">, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764c3cc82cd1f0f5000007"]}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70185851266320 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7102
+ MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f500000a'), "_type"=>"Locomotive::ContentEntry51764c3cc82cd1f0f5000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764c3cc82cd1f0f5000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-23 08:54:20 UTC, "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 08:54:20 UTC}])
7103
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764c3cc82cd1f0f5000007", :_original_id=>BSON::ObjectId('51764c3cc82cd1f0f500000a')}).limit(-1).sort([[:_id, :asc]])
7104
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f500000b'), "_original_type"=>"Locomotive::ContentEntry51764c3cc82cd1f0f5000007", "_original_id"=>BSON::ObjectId('51764c3cc82cd1f0f500000a'), "_keywords"=>["findable", "entry"]}])
7105
+ MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f500000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51764c3cc82cd1f0f5000007"]}})
7106
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51764c3cc82cd1f0f5000007')}, "fields"=>nil}).limit(-1)
7107
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=><BSON::Code:70185851501820 @data="function(obj, prev) { if (obj._position && prev.max == 'start') { prev.max = obj._position; } if (obj._position && prev.max < obj._position) { prev.max = obj._position; } }" @scope="{}">, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764c3cc82cd1f0f5000007"]}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70185851501560 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7108
+ MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f500000c'), "_type"=>"Locomotive::ContentEntry51764c3cc82cd1f0f5000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51764c3cc82cd1f0f5000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000007'), "_slug"=>"hidden", "updated_at"=>2013-04-23 08:54:20 UTC, "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 08:54:20 UTC}])
7109
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764c3cc82cd1f0f5000007", :_original_id=>BSON::ObjectId('51764c3cc82cd1f0f500000c')}).limit(-1).sort([[:_id, :asc]])
7110
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f500000d'), "_original_type"=>"Locomotive::ContentEntry51764c3cc82cd1f0f5000007", "_original_id"=>BSON::ObjectId('51764c3cc82cd1f0f500000c'), "_keywords"=>["hidden"]}])
7111
+ MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]])
7112
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :parent_id=>BSON::ObjectId('51764c3cc82cd1f0f5000004')}, "fields"=>nil}).limit(-1)
7113
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764c3cc82cd1f0f5000004'), :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f500000e')}}, {:_id=>1}).limit(-1)
7114
+ MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000004')]}})
7115
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764c3cc82cd1f0f5000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764c3cc82cd1f0f500000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "parent_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000004'), "serialized_template"=>{"en"=><BSON::Binary:70185850898020>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 08:54:20 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-23 08:54:20 UTC}])
7116
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f500000e')]}}).sort([[:position, :asc]])
7117
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764c3cc82cd1f0f500000e')}).sort([[:position, :asc]])
7118
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f500000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7119
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764c3cc82cd1f0f500000e')}).limit(-1).sort([[:_id, :asc]])
7120
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001')}, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f500000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764c3cc82cd1f0f500000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}])
7121
+ MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]])
7122
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :parent_id=>BSON::ObjectId('51764c3cc82cd1f0f5000004')}, "fields"=>nil}).limit(-1)
7123
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764c3cc82cd1f0f5000004'), :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000010')}}, {:_id=>1}).limit(-1)
7124
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764c3cc82cd1f0f5000004'), :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000010')}}).sort([[:position, :asc]])
7125
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70185835988460 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>BSON::ObjectId('51764c3cc82cd1f0f5000004'), :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000010')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70185835988200 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7126
+ MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000004')]}})
7127
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764c3cc82cd1f0f5000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000010'), "raw_template"=>{"en"=>" <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.slug}}\">{{ result.title }}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "parent_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000004'), "serialized_template"=>{"en"=><BSON::Binary:70185835763480>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 08:54:20 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-23 08:54:20 UTC}])
7128
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000010')]}}).sort([[:position, :asc]])
7129
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000010')}).sort([[:position, :asc]])
7130
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7131
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764c3cc82cd1f0f5000010')}).limit(-1).sort([[:_id, :asc]])
7132
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001')}, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000010'), "_keywords"=>["en:search"]}])
7133
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]])
7134
+ MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('51764c3cc82cd1f0f5000001')}).limit(-1).sort([[:_id, :asc]])
7135
+ MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000004')}, {"$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"=><BSON::Binary:70185874527820>}}})
7136
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000004')]}}).sort([[:position, :asc]])
7137
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764c3cc82cd1f0f5000004')}).limit(-1).sort([[:_id, :asc]])
7138
+ MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001')}}})
7139
+ MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]])
7140
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1)
7141
+ MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-23 08:54:19 UTC, "updated_at"=>2013-04-23 08:54:20 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000013'), "account_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000002')}]}])
7142
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7143
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000014')}}, {:_id=>1}).limit(-1)
7144
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), "serialized_template"=>{"en"=><BSON::Binary:70185838667540>}, "updated_at"=>2013-04-23 08:54:20 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 08:54:20 UTC}])
7145
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000014')]}}).sort([[:position, :asc]])
7146
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000014')}).sort([[:position, :asc]])
7147
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7148
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764c3cc82cd1f0f5000014')}).limit(-1).sort([[:_id, :asc]])
7149
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012')}, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000014'), "_keywords"=>["en:home", "en:page"]}])
7150
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7151
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000016')}}, {:_id=>1}).limit(-1)
7152
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000016')}}).sort([[:position, :asc]])
7153
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70185838870080 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000016')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70185838869420 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7154
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), "serialized_template"=>{"en"=><BSON::Binary:70185838595140>}, "updated_at"=>2013-04-23 08:54:20 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 08:54:20 UTC}])
7155
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000016')]}}).sort([[:position, :asc]])
7156
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000016')}).sort([[:position, :asc]])
7157
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7158
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7159
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000017')}}, {:_id=>1}).limit(-1)
7160
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000017')}}).sort([[:position, :asc]])
7161
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70185835751060 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), :_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f5000017')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70185835750680 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7162
+ MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}})
7163
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000017'), "raw_template"=>{"en"=>"Rickroll"}, "title"=>{"en"=>"This should never show up in the search, even if it would be findable"}, "slug"=>{"en"=>"rickroll"}, "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), "serialized_template"=>{"en"=><BSON::Binary:70185847848560>}, "updated_at"=>2013-04-23 08:54:20 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-23 08:54:20 UTC}])
7164
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000017')]}}).sort([[:position, :asc]])
7165
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000017')}).sort([[:position, :asc]])
7166
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764c3cc82cd1f0f5000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7167
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764c3cc82cd1f0f5000017')}).limit(-1).sort([[:_id, :asc]])
7168
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012')}, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000017'), "_keywords"=>["en:this", "en:should", "en:never", "en:show", "en:up", "en:in", "en:the", "en:search,", "en:even", "en:if", "en:it", "en:would", "en:be", "en:findable"]}])
7169
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012')}, "fields"=>nil}).limit(-1)
7170
+ MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), "serialized_item_template"=><BSON::Binary:70185851394420>, "slug"=>"examples", "updated_at"=>2013-04-23 08:54:20 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764c3cc82cd1f0f500001a'), "created_at"=>2013-04-23 08:54:20 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f500001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 08:54:20 UTC, "created_at"=>2013-04-23 08:54:20 UTC}]}])
7171
+ MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764c3cc82cd1f0f500001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764c3cc82cd1f0f5000019"]}})
7172
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('51764c3cc82cd1f0f5000019')}, "fields"=>nil}).limit(-1)
7173
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=><BSON::Code:70185851043760 @data="function(obj, prev) { if (obj._position && prev.max == 'start') { prev.max = obj._position; } if (obj._position && prev.max < obj._position) { prev.max = obj._position; } }" @scope="{}">, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764c3cc82cd1f0f5000019"]}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70185851043380 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7174
+ MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f500001b'), "_type"=>"Locomotive::ContentEntry51764c3cc82cd1f0f5000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764c3cc82cd1f0f5000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-23 08:54:20 UTC, "site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), "_label_field_name"=>"name", "created_at"=>2013-04-23 08:54:20 UTC}])
7175
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764c3cc82cd1f0f5000019", :_original_id=>BSON::ObjectId('51764c3cc82cd1f0f500001b')}).limit(-1).sort([[:_id, :asc]])
7176
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('51764c3cc82cd1f0f5000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764c3cc82cd1f0f500001c'), "_original_type"=>"Locomotive::ContentEntry51764c3cc82cd1f0f5000019", "_original_id"=>BSON::ObjectId('51764c3cc82cd1f0f500001b'), "_keywords"=>["not", "findable", "entry"]}])
7177
+ Started GET "/" for 127.0.0.1 at 2013-04-23 10:54:20 +0200
7178
+ Processing by Locomotive::Public::PagesController#show as HTML
7179
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7180
+ MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]])
7181
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]])
7182
+ Rendered text template (0.0ms)
7183
+ Completed 200 OK in 23ms (Views: 18.6ms)
7184
+ Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-23 10:54:20 +0200
7185
+ Processing by Locomotive::Public::PagesController#show as HTML
7186
+ Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"}
7187
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7188
+ MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]])
7189
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]])
7190
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :_keywords=>{"$in"=>["findable", "en:findable"]}})
7191
+ Rendered text template (0.0ms)
7192
+ Completed 200 OK in 5ms (Views: 0.3ms)
7193
+ Started GET "/findable" for 127.0.0.1 at 2013-04-23 10:54:21 +0200
7194
+ Processing by Locomotive::Public::PagesController#show as HTML
7195
+ Parameters: {"path"=>"findable"}
7196
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7197
+ MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]])
7198
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :depth=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}).sort([[:position, :asc]])
7199
+ Rendered text template (0.0ms)
7200
+ Completed 200 OK in 4ms (Views: 0.4ms)
7201
+ Started GET "/" for 127.0.0.1 at 2013-04-23 10:54:21 +0200
7202
+ Processing by Locomotive::Public::PagesController#show as HTML
7203
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7204
+ MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]])
7205
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]])
7206
+ Rendered text template (0.0ms)
7207
+ Completed 200 OK in 3ms (Views: 0.2ms)
7208
+ Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-04-23 10:54:21 +0200
7209
+ Processing by Locomotive::Public::PagesController#show as HTML
7210
+ Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"}
7211
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7212
+ MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]])
7213
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]])
7214
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('51764c3cc82cd1f0f5000001'), :_keywords=>{"$in"=>["not", "found", "en:not", "en:found"]}})
7215
+ Rendered text template (0.0ms)
7216
+ Completed 200 OK in 4ms (Views: 0.2ms)
7217
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7218
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7219
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1)
7220
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7221
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1)
7222
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7223
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1)
7224
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7225
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1)
7226
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7227
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1)
7228
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7229
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1)
7230
+ MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
7231
+ MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
7232
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7233
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_types"}).limit(-1)
7234
+ MONGODB locomotive_search_test['locomotive_content_types'].find({})
7235
+ Creating scope :root. Overwriting existing method Locomotive::Page.root.
7236
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7237
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7238
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1)
7239
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7240
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1)
7241
+ MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]])
7242
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1)
7243
+ MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51764e37c82cd1f169000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"y23W23xaXzD8QqE3gSCR", "encrypted_password"=>"36147376d40e93a259a0f0bde1577db45d9021ff", "updated_at"=>2013-04-23 09:02:47 UTC, "created_at"=>2013-04-23 09:02:47 UTC}])
7244
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7245
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1)
7246
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1)
7247
+ MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-23 09:02:46 UTC, "updated_at"=>2013-04-23 09:02:47 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764e37c82cd1f169000003'), "account_id"=>BSON::ObjectId('51764e37c82cd1f169000002')}]}])
7248
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7249
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1)
7250
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7251
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000004')}}, {:_id=>1}).limit(-1)
7252
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764e37c82cd1f169000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "serialized_template"=>{"en"=><BSON::Binary:70350157210160>}, "updated_at"=>2013-04-23 09:02:47 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:02:47 UTC}])
7253
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764e37c82cd1f169000004')}).sort([[:position, :asc]])
7254
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000004')]}}).sort([[:position, :asc]])
7255
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7256
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7257
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1)
7258
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764e37c82cd1f169000004')}).limit(-1).sort([[:_id, :asc]])
7259
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764e37c82cd1f169000001')}, "_id"=>BSON::ObjectId('51764e37c82cd1f169000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764e37c82cd1f169000004'), "_keywords"=>["en:home", "en:page"]}])
7260
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7261
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000006')}}, {:_id=>1}).limit(-1)
7262
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000006')}}).sort([[:position, :asc]])
7263
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70350157444580 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000006')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70350157444260 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7264
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764e37c82cd1f169000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "serialized_template"=>{"en"=><BSON::Binary:70350158283120>}, "updated_at"=>2013-04-23 09:02:47 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:02:47 UTC}])
7265
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000006')]}}).sort([[:position, :asc]])
7266
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764e37c82cd1f169000006')}).sort([[:position, :asc]])
7267
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7268
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764e37c82cd1f169000001')}, "fields"=>nil}).limit(-1)
7269
+ MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764e37c82cd1f169000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "serialized_item_template"=><BSON::Binary:70350158632640>, "slug"=>"examples", "updated_at"=>2013-04-23 09:02:47 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764e37c82cd1f169000008'), "created_at"=>2013-04-23 09:02:47 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764e37c82cd1f169000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 09:02:47 UTC, "created_at"=>2013-04-23 09:02:47 UTC}]}])
7270
+ MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51764e37c82cd1f169000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51764e37c82cd1f169000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-23 09:02:47 UTC, "created_at"=>2013-04-23 09:02:47 UTC}}})
7271
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7272
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1)
7273
+ MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f16900000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764e37c82cd1f169000007"]}})
7274
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51764e37c82cd1f169000007')}, "fields"=>nil}).limit(-1)
7275
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=><BSON::Code:70350132457020 @data="function(obj, prev) { if (obj._position && prev.max == 'start') { prev.max = obj._position; } if (obj._position && prev.max < obj._position) { prev.max = obj._position; } }" @scope="{}">, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764e37c82cd1f169000007"]}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70350132456680 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7276
+ MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764e37c82cd1f16900000a'), "_type"=>"Locomotive::ContentEntry51764e37c82cd1f169000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764e37c82cd1f169000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764e37c82cd1f169000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-23 09:02:47 UTC, "site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:02:47 UTC}])
7277
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764e37c82cd1f169000007", :_original_id=>BSON::ObjectId('51764e37c82cd1f16900000a')}).limit(-1).sort([[:_id, :asc]])
7278
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764e37c82cd1f16900000b'), "_original_type"=>"Locomotive::ContentEntry51764e37c82cd1f169000007", "_original_id"=>BSON::ObjectId('51764e37c82cd1f16900000a'), "_keywords"=>["findable", "entry"]}])
7279
+ MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f16900000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51764e37c82cd1f169000007"]}})
7280
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51764e37c82cd1f169000007')}, "fields"=>nil}).limit(-1)
7281
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=><BSON::Code:70350108276460 @data="function(obj, prev) { if (obj._position && prev.max == 'start') { prev.max = obj._position; } if (obj._position && prev.max < obj._position) { prev.max = obj._position; } }" @scope="{}">, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764e37c82cd1f169000007"]}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70350108276160 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7282
+ MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51764e37c82cd1f16900000c'), "_type"=>"Locomotive::ContentEntry51764e37c82cd1f169000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51764e37c82cd1f169000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764e37c82cd1f169000007'), "_slug"=>"hidden", "updated_at"=>2013-04-23 09:02:47 UTC, "site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:02:47 UTC}])
7283
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764e37c82cd1f169000007", :_original_id=>BSON::ObjectId('51764e37c82cd1f16900000c')}).limit(-1).sort([[:_id, :asc]])
7284
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764e37c82cd1f16900000d'), "_original_type"=>"Locomotive::ContentEntry51764e37c82cd1f169000007", "_original_id"=>BSON::ObjectId('51764e37c82cd1f16900000c'), "_keywords"=>["hidden"]}])
7285
+ MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]])
7286
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :parent_id=>BSON::ObjectId('51764e37c82cd1f169000004')}, "fields"=>nil}).limit(-1)
7287
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764e37c82cd1f169000004'), :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f16900000e')}}, {:_id=>1}).limit(-1)
7288
+ MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000004')]}})
7289
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764e37c82cd1f169000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764e37c82cd1f16900000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "parent_id"=>BSON::ObjectId('51764e37c82cd1f169000004'), "serialized_template"=>{"en"=><BSON::Binary:70350108263880>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:02:47 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-23 09:02:47 UTC}])
7290
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f16900000e')]}}).sort([[:position, :asc]])
7291
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764e37c82cd1f16900000e')}).sort([[:position, :asc]])
7292
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f16900000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7293
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764e37c82cd1f16900000e')}).limit(-1).sort([[:_id, :asc]])
7294
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51764e37c82cd1f169000001')}, "_id"=>BSON::ObjectId('51764e37c82cd1f16900000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764e37c82cd1f16900000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}])
7295
+ MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]])
7296
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :parent_id=>BSON::ObjectId('51764e37c82cd1f169000004')}, "fields"=>nil}).limit(-1)
7297
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764e37c82cd1f169000004'), :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000010')}}, {:_id=>1}).limit(-1)
7298
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764e37c82cd1f169000004'), :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000010')}}).sort([[:position, :asc]])
7299
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70350106890220 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>BSON::ObjectId('51764e37c82cd1f169000004'), :site_id=>BSON::ObjectId('51764e37c82cd1f169000001'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000010')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70350106889960 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7300
+ MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000004')]}})
7301
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764e37c82cd1f169000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764e37c82cd1f169000010'), "raw_template"=>{"en"=>" <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.slug}}\">{{ result.title }}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "parent_id"=>BSON::ObjectId('51764e37c82cd1f169000004'), "serialized_template"=>{"en"=><BSON::Binary:70350125125080>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:02:47 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-23 09:02:47 UTC}])
7302
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000010')]}}).sort([[:position, :asc]])
7303
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764e37c82cd1f169000010')}).sort([[:position, :asc]])
7304
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7305
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764e37c82cd1f169000010')}).limit(-1).sort([[:_id, :asc]])
7306
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('51764e37c82cd1f169000001')}, "_id"=>BSON::ObjectId('51764e37c82cd1f169000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764e37c82cd1f169000010'), "_keywords"=>["en:search"]}])
7307
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]])
7308
+ MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('51764e37c82cd1f169000001')}).limit(-1).sort([[:_id, :asc]])
7309
+ MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('51764e37c82cd1f169000004')}, {"$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"=><BSON::Binary:70350108281960>}}})
7310
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000004')]}}).sort([[:position, :asc]])
7311
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764e37c82cd1f169000004')}).limit(-1).sort([[:_id, :asc]])
7312
+ MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('51764e37c82cd1f169000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('51764e37c82cd1f169000001')}}})
7313
+ MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]])
7314
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1)
7315
+ MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('51764e37c82cd1f169000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-23 09:02:46 UTC, "updated_at"=>2013-04-23 09:02:47 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764e37c82cd1f169000013'), "account_id"=>BSON::ObjectId('51764e37c82cd1f169000002')}]}])
7316
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764e37c82cd1f169000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7317
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764e37c82cd1f169000012'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000014')}}, {:_id=>1}).limit(-1)
7318
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764e37c82cd1f169000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764e37c82cd1f169000012'), "serialized_template"=>{"en"=><BSON::Binary:70350158630460>}, "updated_at"=>2013-04-23 09:02:47 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:02:47 UTC}])
7319
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000014')]}}).sort([[:position, :asc]])
7320
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764e37c82cd1f169000014')}).sort([[:position, :asc]])
7321
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7322
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764e37c82cd1f169000014')}).limit(-1).sort([[:_id, :asc]])
7323
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764e37c82cd1f169000012')}, "_id"=>BSON::ObjectId('51764e37c82cd1f169000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764e37c82cd1f169000014'), "_keywords"=>["en:home", "en:page"]}])
7324
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764e37c82cd1f169000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7325
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764e37c82cd1f169000012'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000016')}}, {:_id=>1}).limit(-1)
7326
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764e37c82cd1f169000012'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000016')}}).sort([[:position, :asc]])
7327
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70350133162560 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764e37c82cd1f169000012'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000016')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70350133162200 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7328
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764e37c82cd1f169000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764e37c82cd1f169000012'), "serialized_template"=>{"en"=><BSON::Binary:70350132614040>}, "updated_at"=>2013-04-23 09:02:47 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:02:47 UTC}])
7329
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000016')]}}).sort([[:position, :asc]])
7330
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764e37c82cd1f169000016')}).sort([[:position, :asc]])
7331
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7332
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('51764e37c82cd1f169000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7333
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764e37c82cd1f169000012'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000017')}}, {:_id=>1}).limit(-1)
7334
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764e37c82cd1f169000012'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000017')}}).sort([[:position, :asc]])
7335
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70350108271140 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764e37c82cd1f169000012'), :_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f169000017')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70350108270840 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7336
+ MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}})
7337
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764e37c82cd1f169000017'), "raw_template"=>{"en"=>"Rickroll"}, "title"=>{"en"=>"This should never show up in the search, even if it would be findable"}, "slug"=>{"en"=>"rickroll"}, "site_id"=>BSON::ObjectId('51764e37c82cd1f169000012'), "serialized_template"=>{"en"=><BSON::Binary:70350129977500>}, "updated_at"=>2013-04-23 09:02:47 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-23 09:02:47 UTC}])
7338
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000017')]}}).sort([[:position, :asc]])
7339
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764e37c82cd1f169000017')}).sort([[:position, :asc]])
7340
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764e37c82cd1f169000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7341
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764e37c82cd1f169000017')}).limit(-1).sort([[:_id, :asc]])
7342
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('51764e37c82cd1f169000012')}, "_id"=>BSON::ObjectId('51764e37c82cd1f169000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764e37c82cd1f169000017'), "_keywords"=>["en:this", "en:should", "en:never", "en:show", "en:up", "en:in", "en:the", "en:search,", "en:even", "en:if", "en:it", "en:would", "en:be", "en:findable"]}])
7343
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764e37c82cd1f169000012')}, "fields"=>nil}).limit(-1)
7344
+ MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764e37c82cd1f169000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764e37c82cd1f169000012'), "serialized_item_template"=><BSON::Binary:70350131966660>, "slug"=>"examples", "updated_at"=>2013-04-23 09:02:47 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764e37c82cd1f16900001a'), "created_at"=>2013-04-23 09:02:47 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764e37c82cd1f16900001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 09:02:47 UTC, "created_at"=>2013-04-23 09:02:47 UTC}]}])
7345
+ MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764e37c82cd1f16900001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764e37c82cd1f169000019"]}})
7346
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('51764e37c82cd1f169000019')}, "fields"=>nil}).limit(-1)
7347
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=><BSON::Code:70350124005860 @data="function(obj, prev) { if (obj._position && prev.max == 'start') { prev.max = obj._position; } if (obj._position && prev.max < obj._position) { prev.max = obj._position; } }" @scope="{}">, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764e37c82cd1f169000019"]}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70350124005560 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7348
+ MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764e37c82cd1f16900001b'), "_type"=>"Locomotive::ContentEntry51764e37c82cd1f169000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764e37c82cd1f169000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764e37c82cd1f169000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-23 09:02:47 UTC, "site_id"=>BSON::ObjectId('51764e37c82cd1f169000012'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:02:47 UTC}])
7349
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764e37c82cd1f169000019", :_original_id=>BSON::ObjectId('51764e37c82cd1f16900001b')}).limit(-1).sort([[:_id, :asc]])
7350
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('51764e37c82cd1f169000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764e37c82cd1f16900001c'), "_original_type"=>"Locomotive::ContentEntry51764e37c82cd1f169000019", "_original_id"=>BSON::ObjectId('51764e37c82cd1f16900001b'), "_keywords"=>["not", "findable", "entry"]}])
7351
+ Started GET "/" for 127.0.0.1 at 2013-04-23 11:02:48 +0200
7352
+ Processing by Locomotive::Public::PagesController#show as HTML
7353
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7354
+ MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]])
7355
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]])
7356
+ Rendered text template (0.0ms)
7357
+ Completed 200 OK in 23ms (Views: 18.7ms)
7358
+ Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-23 11:02:48 +0200
7359
+ Processing by Locomotive::Public::PagesController#show as HTML
7360
+ Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"}
7361
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7362
+ MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]])
7363
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]])
7364
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), :_keywords=>{"$in"=>["findable", "en:findable"]}})
7365
+ Rendered text template (0.0ms)
7366
+ Completed 200 OK in 5ms (Views: 0.3ms)
7367
+ Started GET "/findable" for 127.0.0.1 at 2013-04-23 11:02:48 +0200
7368
+ Processing by Locomotive::Public::PagesController#show as HTML
7369
+ Parameters: {"path"=>"findable"}
7370
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7371
+ MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]])
7372
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), :depth=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}).sort([[:position, :asc]])
7373
+ Rendered text template (0.0ms)
7374
+ Completed 200 OK in 4ms (Views: 0.4ms)
7375
+ Started GET "/" for 127.0.0.1 at 2013-04-23 11:02:48 +0200
7376
+ Processing by Locomotive::Public::PagesController#show as HTML
7377
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7378
+ MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]])
7379
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]])
7380
+ Rendered text template (0.0ms)
7381
+ Completed 200 OK in 3ms (Views: 0.2ms)
7382
+ Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-04-23 11:02:48 +0200
7383
+ Processing by Locomotive::Public::PagesController#show as HTML
7384
+ Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"}
7385
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7386
+ MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]])
7387
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]])
7388
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('51764e37c82cd1f169000001'), :_keywords=>{"$in"=>["not", "found", "en:not", "en:found"]}})
7389
+ Rendered text template (0.0ms)
7390
+ Completed 200 OK in 3ms (Views: 0.2ms)
7391
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7392
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7393
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1)
7394
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7395
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1)
7396
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7397
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1)
7398
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7399
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1)
7400
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7401
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1)
7402
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7403
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1)
7404
+ MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
7405
+ MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
7406
+ MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
7407
+ MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
7408
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7409
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_types"}).limit(-1)
7410
+ MONGODB locomotive_search_test['locomotive_content_types'].find({})
7411
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7412
+ MONGODB locomotive_search_test['locomotive_content_types'].find({})
7413
+ MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
7414
+ MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
7415
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7416
+ MONGODB locomotive_search_test['locomotive_content_types'].find({})
7417
+ MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
7418
+ MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
7419
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7420
+ MONGODB locomotive_search_test['locomotive_content_types'].find({})
7421
+ MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
7422
+ MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
7423
+ MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
7424
+ MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
7425
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7426
+ MONGODB locomotive_search_test['locomotive_content_types'].find({})
7427
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7428
+ MONGODB locomotive_search_test['locomotive_content_types'].find({})
7429
+ Creating scope :root. Overwriting existing method Locomotive::Page.root.
7430
+ Creating scope :root. Overwriting existing method Locomotive::Page.root.
7431
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7432
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7433
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1)
7434
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7435
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1)
7436
+ MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]])
7437
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1)
7438
+ MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51764f82c82cd1f252000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"jrQ6xiAjE4pyhEmzqAum", "encrypted_password"=>"7511449026cd8134e1c9b4f2cf66fb1a8fc0b0bf", "updated_at"=>2013-04-23 09:08:18 UTC, "created_at"=>2013-04-23 09:08:18 UTC}])
7439
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7440
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1)
7441
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1)
7442
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7443
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7444
+ MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-23 09:08:18 UTC, "updated_at"=>2013-04-23 09:08:18 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764f82c82cd1f252000003'), "account_id"=>BSON::ObjectId('51764f82c82cd1f252000002')}]}])
7445
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1)
7446
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7447
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1)
7448
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7449
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1)
7450
+ MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]])
7451
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1)
7452
+ MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51764f82c82cd1f250000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"5kjwtDe2J9nUVxqzvM1S", "encrypted_password"=>"fc0caca851b5f7a54ee0dbe257d7272bfe64b06d", "updated_at"=>2013-04-23 09:08:18 UTC, "created_at"=>2013-04-23 09:08:18 UTC}])
7453
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7454
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1)
7455
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1)
7456
+ MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51764f82c82cd1f250000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-23 09:08:18 UTC, "updated_at"=>2013-04-23 09:08:18 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764f82c82cd1f250000003'), "account_id"=>BSON::ObjectId('51764f82c82cd1f250000002')}]}])
7457
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7458
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1)
7459
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7460
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :_id=>{"$ne"=>BSON::ObjectId('51764f82c82cd1f252000004')}}, {:_id=>1}).limit(-1)
7461
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764f82c82cd1f252000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "serialized_template"=>{"en"=><BSON::Binary:70194969710680>}, "updated_at"=>2013-04-23 09:08:18 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:08:18 UTC}])
7462
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764f82c82cd1f252000004')}).sort([[:position, :asc]])
7463
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764f82c82cd1f252000004')]}}).sort([[:position, :asc]])
7464
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764f82c82cd1f252000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7465
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7466
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1)
7467
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764f82c82cd1f252000004')}).limit(-1).sort([[:_id, :asc]])
7468
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764f82c82cd1f252000001')}, "_id"=>BSON::ObjectId('51764f82c82cd1f252000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764f82c82cd1f252000004'), "_keywords"=>["en:home", "en:page"]}])
7469
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7470
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :_id=>{"$ne"=>BSON::ObjectId('51764f82c82cd1f252000006')}}, {:_id=>1}).limit(-1)
7471
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :_id=>{"$ne"=>BSON::ObjectId('51764f82c82cd1f252000006')}}).sort([[:position, :asc]])
7472
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70195023659980 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :_id=>{"$ne"=>BSON::ObjectId('51764f82c82cd1f252000006')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70195023659720 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7473
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764f82c82cd1f252000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "serialized_template"=>{"en"=><BSON::Binary:70195023095780>}, "updated_at"=>2013-04-23 09:08:18 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:08:18 UTC}])
7474
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764f82c82cd1f252000006')]}}).sort([[:position, :asc]])
7475
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764f82c82cd1f252000006')}).sort([[:position, :asc]])
7476
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764f82c82cd1f252000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7477
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7478
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764f82c82cd1f250000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7479
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764f82c82cd1f250000001'), :_id=>{"$ne"=>BSON::ObjectId('51764f82c82cd1f250000004')}}, {:_id=>1}).limit(-1)
7480
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764f82c82cd1f250000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764f82c82cd1f250000001'), "serialized_template"=>{"en"=><BSON::Binary:70246773198660>}, "updated_at"=>2013-04-23 09:08:18 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:08:18 UTC}])
7481
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764f82c82cd1f250000004')}).sort([[:position, :asc]])
7482
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764f82c82cd1f250000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764f82c82cd1f250000004')]}}).sort([[:position, :asc]])
7483
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764f82c82cd1f250000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7484
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7485
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764f82c82cd1f250000004')}).limit(-1).sort([[:_id, :asc]])
7486
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764f82c82cd1f250000001')}, "_id"=>BSON::ObjectId('51764f82c82cd1f250000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764f82c82cd1f250000004'), "_keywords"=>["en:home", "en:page"]}])
7487
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764f82c82cd1f250000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7488
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764f82c82cd1f250000001'), :_id=>{"$ne"=>BSON::ObjectId('51764f82c82cd1f250000006')}}, {:_id=>1}).limit(-1)
7489
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764f82c82cd1f250000001'), :_id=>{"$ne"=>BSON::ObjectId('51764f82c82cd1f250000006')}}).sort([[:position, :asc]])
7490
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70246773797280 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764f82c82cd1f250000001'), :_id=>{"$ne"=>BSON::ObjectId('51764f82c82cd1f250000006')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70246773797020 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7491
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764f82c82cd1f250000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764f82c82cd1f250000001'), "serialized_template"=>{"en"=><BSON::Binary:70246773100480>}, "updated_at"=>2013-04-23 09:08:18 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:08:18 UTC}])
7492
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764f82c82cd1f250000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764f82c82cd1f250000006')]}}).sort([[:position, :asc]])
7493
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764f82c82cd1f250000006')}).sort([[:position, :asc]])
7494
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764f82c82cd1f250000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7495
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764f82c82cd1f252000001')}, "fields"=>nil}).limit(-1)
7496
+ MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764f82c82cd1f252000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "serialized_item_template"=><BSON::Binary:70194968454740>, "slug"=>"examples", "updated_at"=>2013-04-23 09:08:18 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764f82c82cd1f252000008'), "created_at"=>2013-04-23 09:08:18 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764f82c82cd1f252000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 09:08:18 UTC, "created_at"=>2013-04-23 09:08:18 UTC}]}])
7497
+ MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51764f82c82cd1f252000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51764f82c82cd1f252000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-23 09:08:18 UTC, "created_at"=>2013-04-23 09:08:18 UTC}}})
7498
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7499
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1)
7500
+ MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764f82c82cd1f25200000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764f82c82cd1f252000007"]}})
7501
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51764f82c82cd1f252000007')}, "fields"=>nil}).limit(-1)
7502
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=><BSON::Code:70195023024060 @data="function(obj, prev) { if (obj._position && prev.max == 'start') { prev.max = obj._position; } if (obj._position && prev.max < obj._position) { prev.max = obj._position; } }" @scope="{}">, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764f82c82cd1f252000007"]}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70195023023800 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7503
+ MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764f82c82cd1f25200000a'), "_type"=>"Locomotive::ContentEntry51764f82c82cd1f252000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764f82c82cd1f252000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764f82c82cd1f252000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-23 09:08:18 UTC, "site_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:08:18 UTC}])
7504
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764f82c82cd1f252000007", :_original_id=>BSON::ObjectId('51764f82c82cd1f25200000a')}).limit(-1).sort([[:_id, :asc]])
7505
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764f82c82cd1f25200000b'), "_original_type"=>"Locomotive::ContentEntry51764f82c82cd1f252000007", "_original_id"=>BSON::ObjectId('51764f82c82cd1f25200000a'), "_keywords"=>["findable", "entry"]}])
7506
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764f82c82cd1f250000001')}, "fields"=>nil}).limit(-1)
7507
+ MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764f82c82cd1f250000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764f82c82cd1f250000001'), "serialized_item_template"=><BSON::Binary:70246772897940>, "slug"=>"examples", "updated_at"=>2013-04-23 09:08:18 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764f82c82cd1f250000008'), "created_at"=>2013-04-23 09:08:18 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764f82c82cd1f250000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 09:08:18 UTC, "created_at"=>2013-04-23 09:08:18 UTC}]}])
7508
+ MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51764f82c82cd1f250000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51764f83c82cd1f250000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-23 09:08:19 UTC, "created_at"=>2013-04-23 09:08:19 UTC}}})
7509
+ MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764f82c82cd1f25200000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51764f82c82cd1f252000007"]}})
7510
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51764f82c82cd1f252000007')}, "fields"=>nil}).limit(-1)
7511
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=><BSON::Code:70194969405560 @data="function(obj, prev) { if (obj._position && prev.max == 'start') { prev.max = obj._position; } if (obj._position && prev.max < obj._position) { prev.max = obj._position; } }" @scope="{}">, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764f82c82cd1f252000007"]}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70194969405240 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7512
+ MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51764f82c82cd1f25200000c'), "_type"=>"Locomotive::ContentEntry51764f82c82cd1f252000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51764f82c82cd1f252000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764f82c82cd1f252000007'), "_slug"=>"hidden", "updated_at"=>2013-04-23 09:08:19 UTC, "site_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:08:19 UTC}])
7513
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764f82c82cd1f252000007", :_original_id=>BSON::ObjectId('51764f82c82cd1f25200000c')}).limit(-1).sort([[:_id, :asc]])
7514
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764f83c82cd1f25200000d'), "_original_type"=>"Locomotive::ContentEntry51764f82c82cd1f252000007", "_original_id"=>BSON::ObjectId('51764f82c82cd1f25200000c'), "_keywords"=>["hidden"]}])
7515
+ MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]])
7516
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :parent_id=>BSON::ObjectId('51764f82c82cd1f252000004')}, "fields"=>nil}).limit(-1)
7517
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764f82c82cd1f252000004'), :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :_id=>{"$ne"=>BSON::ObjectId('51764f83c82cd1f25200000e')}}, {:_id=>1}).limit(-1)
7518
+ MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764f82c82cd1f252000004')]}})
7519
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764f82c82cd1f252000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764f83c82cd1f25200000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "parent_id"=>BSON::ObjectId('51764f82c82cd1f252000004'), "serialized_template"=>{"en"=><BSON::Binary:70194968740080>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:08:19 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-23 09:08:19 UTC}])
7520
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764f83c82cd1f25200000e')]}}).sort([[:position, :asc]])
7521
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764f83c82cd1f25200000e')}).sort([[:position, :asc]])
7522
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764f83c82cd1f25200000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7523
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764f83c82cd1f25200000e')}).limit(-1).sort([[:_id, :asc]])
7524
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51764f82c82cd1f252000001')}, "_id"=>BSON::ObjectId('51764f83c82cd1f25200000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764f83c82cd1f25200000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}])
7525
+ MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]])
7526
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :parent_id=>BSON::ObjectId('51764f82c82cd1f252000004')}, "fields"=>nil}).limit(-1)
7527
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7528
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764f82c82cd1f252000004'), :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :_id=>{"$ne"=>BSON::ObjectId('51764f83c82cd1f252000010')}}, {:_id=>1}).limit(-1)
7529
+ MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764f83c82cd1f25000000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764f82c82cd1f250000007"]}})
7530
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764f82c82cd1f252000004'), :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :_id=>{"$ne"=>BSON::ObjectId('51764f83c82cd1f252000010')}}).sort([[:position, :asc]])
7531
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51764f82c82cd1f250000007')}, "fields"=>nil}).limit(-1)
7532
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70195023108940 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>BSON::ObjectId('51764f82c82cd1f252000004'), :site_id=>BSON::ObjectId('51764f82c82cd1f252000001'), :_id=>{"$ne"=>BSON::ObjectId('51764f83c82cd1f252000010')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70195023108660 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7533
+ MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764f82c82cd1f252000004')]}})
7534
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=><BSON::Code:70246773576760 @data="function(obj, prev) { if (obj._position && prev.max == 'start') { prev.max = obj._position; } if (obj._position && prev.max < obj._position) { prev.max = obj._position; } }" @scope="{}">, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764f82c82cd1f250000007"]}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70246772897780 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7535
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764f82c82cd1f252000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764f83c82cd1f252000010'), "raw_template"=>{"en"=>" <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.slug}}\">{{ result.title }}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "parent_id"=>BSON::ObjectId('51764f82c82cd1f252000004'), "serialized_template"=>{"en"=><BSON::Binary:70195023037120>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:08:19 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-23 09:08:19 UTC}])
7536
+ MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764f83c82cd1f25000000a'), "_type"=>"Locomotive::ContentEntry51764f82c82cd1f250000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764f82c82cd1f250000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764f82c82cd1f250000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-23 09:08:19 UTC, "site_id"=>BSON::ObjectId('51764f82c82cd1f250000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:08:19 UTC}])
7537
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764f83c82cd1f252000010')]}}).sort([[:position, :asc]])
7538
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764f82c82cd1f250000007", :_original_id=>BSON::ObjectId('51764f83c82cd1f25000000a')}).limit(-1).sort([[:_id, :asc]])
7539
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764f83c82cd1f252000010')}).sort([[:position, :asc]])
7540
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764f83c82cd1f252000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7541
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764f83c82cd1f252000010')}).limit(-1).sort([[:_id, :asc]])
7542
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51764f82c82cd1f250000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764f83c82cd1f25000000b'), "_original_type"=>"Locomotive::ContentEntry51764f82c82cd1f250000007", "_original_id"=>BSON::ObjectId('51764f83c82cd1f25000000a'), "_keywords"=>["findable", "entry"]}])
7543
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('51764f82c82cd1f252000001')}, "_id"=>BSON::ObjectId('51764f83c82cd1f252000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764f83c82cd1f252000010'), "_keywords"=>["en:search"]}])
7544
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764f82c82cd1f252000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]])
7545
+ MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764f83c82cd1f25000000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51764f82c82cd1f250000007"]}})
7546
+ MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('51764f82c82cd1f252000001')}).limit(-1).sort([[:_id, :asc]])
7547
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51764f82c82cd1f250000007')}, "fields"=>nil}).limit(-1)
7548
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=><BSON::Code:70246772606380 @data="function(obj, prev) { if (obj._position && prev.max == 'start') { prev.max = obj._position; } if (obj._position && prev.max < obj._position) { prev.max = obj._position; } }" @scope="{}">, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764f82c82cd1f250000007"]}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70246772606060 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7549
+ MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51764f83c82cd1f25000000c'), "_type"=>"Locomotive::ContentEntry51764f82c82cd1f250000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51764f82c82cd1f250000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764f82c82cd1f250000007'), "_slug"=>"hidden", "updated_at"=>2013-04-23 09:08:19 UTC, "site_id"=>BSON::ObjectId('51764f82c82cd1f250000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:08:19 UTC}])
7550
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764f82c82cd1f250000007", :_original_id=>BSON::ObjectId('51764f83c82cd1f25000000c')}).limit(-1).sort([[:_id, :asc]])
7551
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7552
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51764f82c82cd1f250000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764f83c82cd1f25000000d'), "_original_type"=>"Locomotive::ContentEntry51764f82c82cd1f250000007", "_original_id"=>BSON::ObjectId('51764f83c82cd1f25000000c'), "_keywords"=>["hidden"]}])
7553
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7554
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1)
7555
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7556
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1)
7557
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7558
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1)
7559
+ MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]])
7560
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7561
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1)
7562
+ MONGODB locomotive_search_test['locomotive_sites'].find({:subdomain=>"acme"}).limit(-1).sort([[:_id, :asc]])
7563
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7564
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1)
7565
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7566
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"acme"}, "fields"=>nil}).limit(-1)
7567
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1)
7568
+ MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["acme.example.com"], "_id"=>BSON::ObjectId('51764f83c82cd1f250000010'), "name"=>"Acme Website", "subdomain"=>"acme", "created_at"=>2013-04-23 09:08:18 UTC, "updated_at"=>2013-04-23 09:08:19 UTC}])
7569
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764f83c82cd1f250000010'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7570
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764f83c82cd1f250000010'), :_id=>{"$ne"=>BSON::ObjectId('51764f83c82cd1f250000011')}}, {:_id=>1}).limit(-1)
7571
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764f83c82cd1f250000011'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764f83c82cd1f250000010'), "serialized_template"=>{"en"=><BSON::Binary:70246772797680>}, "updated_at"=>2013-04-23 09:08:19 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:08:19 UTC}])
7572
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764f83c82cd1f250000010'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764f83c82cd1f250000011')]}}).sort([[:position, :asc]])
7573
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764f83c82cd1f250000011')}).sort([[:position, :asc]])
7574
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764f83c82cd1f250000011')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7575
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764f83c82cd1f250000011')}).limit(-1).sort([[:_id, :asc]])
7576
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764f83c82cd1f250000010')}, "_id"=>BSON::ObjectId('51764f83c82cd1f250000012'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764f83c82cd1f250000011'), "_keywords"=>["en:home", "en:page"]}])
7577
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764f83c82cd1f250000010'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7578
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764f83c82cd1f250000010'), :_id=>{"$ne"=>BSON::ObjectId('51764f83c82cd1f250000013')}}, {:_id=>1}).limit(-1)
7579
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764f83c82cd1f250000010'), :_id=>{"$ne"=>BSON::ObjectId('51764f83c82cd1f250000013')}}).sort([[:position, :asc]])
7580
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70246772366540 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764f83c82cd1f250000010'), :_id=>{"$ne"=>BSON::ObjectId('51764f83c82cd1f250000013')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70246772366220 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7581
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764f83c82cd1f250000013'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764f83c82cd1f250000010'), "serialized_template"=>{"en"=><BSON::Binary:70246773356380>}, "updated_at"=>2013-04-23 09:08:19 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:08:19 UTC}])
7582
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764f83c82cd1f250000010'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764f83c82cd1f250000013')]}}).sort([[:position, :asc]])
7583
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764f83c82cd1f250000013')}).sort([[:position, :asc]])
7584
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764f83c82cd1f250000013')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7585
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764f83c82cd1f250000010'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7586
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7587
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7588
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1)
7589
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7590
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1)
7591
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7592
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1)
7593
+ MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
7594
+ MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
7595
+ MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
7596
+ MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
7597
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7598
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_types"}).limit(-1)
7599
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7600
+ MONGODB locomotive_search_test['locomotive_content_types'].find({})
7601
+ MONGODB locomotive_search_test['locomotive_content_types'].find({})
7602
+ Creating scope :root. Overwriting existing method Locomotive::Page.root.
7603
+ Creating scope :root. Overwriting existing method Locomotive::Page.root.
7604
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7605
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7606
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1)
7607
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7608
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1)
7609
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7610
+ MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]])
7611
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7612
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1)
7613
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7614
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1)
7615
+ MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]])
7616
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1)
7617
+ MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51764fa2c82cd1f275000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"Kzp9af3qwQvWmZvupTyP", "encrypted_password"=>"10637349a8dab6d64994d9c1f4542e6a8da72103", "updated_at"=>2013-04-23 09:08:50 UTC, "created_at"=>2013-04-23 09:08:50 UTC}])
7618
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7619
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1)
7620
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1)
7621
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1)
7622
+ MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-23 09:08:50 UTC, "updated_at"=>2013-04-23 09:08:50 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764fa2c82cd1f275000003'), "account_id"=>BSON::ObjectId('51764fa2c82cd1f275000002')}]}])
7623
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7624
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1)
7625
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7626
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7627
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7628
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1)
7629
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7630
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1)
7631
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fa2c82cd1f275000004')}}, {:_id=>1}).limit(-1)
7632
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7633
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1)
7634
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fa2c82cd1f275000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "serialized_template"=>{"en"=><BSON::Binary:70102743187200>}, "updated_at"=>2013-04-23 09:08:50 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:08:50 UTC}])
7635
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fa2c82cd1f275000004')}).sort([[:position, :asc]])
7636
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fa2c82cd1f275000004')]}}).sort([[:position, :asc]])
7637
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fa2c82cd1f275000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7638
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7639
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1)
7640
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fa2c82cd1f275000004')}).limit(-1).sort([[:_id, :asc]])
7641
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001')}, "_id"=>BSON::ObjectId('51764fa2c82cd1f275000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fa2c82cd1f275000004'), "_keywords"=>["en:home", "en:page"]}])
7642
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7643
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fa2c82cd1f275000006')}}, {:_id=>1}).limit(-1)
7644
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fa2c82cd1f275000006')}}).sort([[:position, :asc]])
7645
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70102742086580 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fa2c82cd1f275000006')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70102742086320 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7646
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fa2c82cd1f275000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "serialized_template"=>{"en"=><BSON::Binary:70102744925920>}, "updated_at"=>2013-04-23 09:08:50 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:08:50 UTC}])
7647
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fa2c82cd1f275000006')]}}).sort([[:position, :asc]])
7648
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fa2c82cd1f275000006')}).sort([[:position, :asc]])
7649
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fa2c82cd1f275000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7650
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001')}, "fields"=>nil}).limit(-1)
7651
+ MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764fa2c82cd1f275000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "serialized_item_template"=><BSON::Binary:70102743267580>, "slug"=>"examples", "updated_at"=>2013-04-23 09:08:50 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764fa2c82cd1f275000008'), "created_at"=>2013-04-23 09:08:50 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764fa2c82cd1f275000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 09:08:50 UTC, "created_at"=>2013-04-23 09:08:50 UTC}]}])
7652
+ MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51764fa2c82cd1f275000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51764fa2c82cd1f275000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-23 09:08:50 UTC, "created_at"=>2013-04-23 09:08:50 UTC}}})
7653
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7654
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1)
7655
+ MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764fa2c82cd1f27500000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764fa2c82cd1f275000007"]}})
7656
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51764fa2c82cd1f275000007')}, "fields"=>nil}).limit(-1)
7657
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=><BSON::Code:70102743614000 @data="function(obj, prev) { if (obj._position && prev.max == 'start') { prev.max = obj._position; } if (obj._position && prev.max < obj._position) { prev.max = obj._position; } }" @scope="{}">, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764fa2c82cd1f275000007"]}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70102743613700 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7658
+ MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764fa2c82cd1f27500000a'), "_type"=>"Locomotive::ContentEntry51764fa2c82cd1f275000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764fa2c82cd1f275000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764fa2c82cd1f275000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-23 09:08:50 UTC, "site_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:08:50 UTC}])
7659
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764fa2c82cd1f275000007", :_original_id=>BSON::ObjectId('51764fa2c82cd1f27500000a')}).limit(-1).sort([[:_id, :asc]])
7660
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764fa2c82cd1f27500000b'), "_original_type"=>"Locomotive::ContentEntry51764fa2c82cd1f275000007", "_original_id"=>BSON::ObjectId('51764fa2c82cd1f27500000a'), "_keywords"=>["findable", "entry"]}])
7661
+ MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764fa2c82cd1f27500000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51764fa2c82cd1f275000007"]}})
7662
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51764fa2c82cd1f275000007')}, "fields"=>nil}).limit(-1)
7663
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=><BSON::Code:70102743665880 @data="function(obj, prev) { if (obj._position && prev.max == 'start') { prev.max = obj._position; } if (obj._position && prev.max < obj._position) { prev.max = obj._position; } }" @scope="{}">, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764fa2c82cd1f275000007"]}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70102743665380 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7664
+ MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51764fa2c82cd1f27500000c'), "_type"=>"Locomotive::ContentEntry51764fa2c82cd1f275000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51764fa2c82cd1f275000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764fa2c82cd1f275000007'), "_slug"=>"hidden", "updated_at"=>2013-04-23 09:08:50 UTC, "site_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:08:50 UTC}])
7665
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764fa2c82cd1f275000007", :_original_id=>BSON::ObjectId('51764fa2c82cd1f27500000c')}).limit(-1).sort([[:_id, :asc]])
7666
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764fa2c82cd1f27500000d'), "_original_type"=>"Locomotive::ContentEntry51764fa2c82cd1f275000007", "_original_id"=>BSON::ObjectId('51764fa2c82cd1f27500000c'), "_keywords"=>["hidden"]}])
7667
+ MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]])
7668
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :parent_id=>BSON::ObjectId('51764fa2c82cd1f275000004')}, "fields"=>nil}).limit(-1)
7669
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fa2c82cd1f275000004'), :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fa2c82cd1f27500000e')}}, {:_id=>1}).limit(-1)
7670
+ MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764fa2c82cd1f275000004')]}})
7671
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764fa2c82cd1f275000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fa2c82cd1f27500000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "parent_id"=>BSON::ObjectId('51764fa2c82cd1f275000004'), "serialized_template"=>{"en"=><BSON::Binary:70102742414300>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:08:50 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-23 09:08:50 UTC}])
7672
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fa2c82cd1f27500000e')]}}).sort([[:position, :asc]])
7673
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fa2c82cd1f27500000e')}).sort([[:position, :asc]])
7674
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fa2c82cd1f27500000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7675
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fa2c82cd1f27500000e')}).limit(-1).sort([[:_id, :asc]])
7676
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001')}, "_id"=>BSON::ObjectId('51764fa2c82cd1f27500000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fa2c82cd1f27500000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}])
7677
+ MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]])
7678
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :parent_id=>BSON::ObjectId('51764fa2c82cd1f275000004')}, "fields"=>nil}).limit(-1)
7679
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fa2c82cd1f275000004'), :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fa2c82cd1f275000010')}}, {:_id=>1}).limit(-1)
7680
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fa2c82cd1f275000004'), :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fa2c82cd1f275000010')}}).sort([[:position, :asc]])
7681
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70102743308420 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>BSON::ObjectId('51764fa2c82cd1f275000004'), :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fa2c82cd1f275000010')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70102743308120 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7682
+ MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764fa2c82cd1f275000004')]}})
7683
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764fa2c82cd1f275000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fa2c82cd1f275000010'), "raw_template"=>{"en"=>" <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.slug}}\">{{ result.title }}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "parent_id"=>BSON::ObjectId('51764fa2c82cd1f275000004'), "serialized_template"=>{"en"=><BSON::Binary:70102743628620>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:08:50 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-23 09:08:50 UTC}])
7684
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fa2c82cd1f275000010')]}}).sort([[:position, :asc]])
7685
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fa2c82cd1f275000010')}).sort([[:position, :asc]])
7686
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fa2c82cd1f275000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7687
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fa2c82cd1f275000010')}).limit(-1).sort([[:_id, :asc]])
7688
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('51764fa2c82cd1f275000001')}, "_id"=>BSON::ObjectId('51764fa2c82cd1f275000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fa2c82cd1f275000010'), "_keywords"=>["en:search"]}])
7689
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fa2c82cd1f275000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]])
7690
+ MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('51764fa2c82cd1f275000001')}).limit(-1).sort([[:_id, :asc]])
7691
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7692
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7693
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1)
7694
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7695
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1)
7696
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7697
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1)
7698
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7699
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1)
7700
+ MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
7701
+ MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
7702
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7703
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_types"}).limit(-1)
7704
+ MONGODB locomotive_search_test['locomotive_content_types'].find({})
7705
+ Creating scope :root. Overwriting existing method Locomotive::Page.root.
7706
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7707
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7708
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1)
7709
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7710
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1)
7711
+ MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]])
7712
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1)
7713
+ MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51764fafc82cd1f28d000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"N9aJC5s4tPLdpdMVcS4k", "encrypted_password"=>"c627958d4fabd67713cbeae9791b75e0e8595fe2", "updated_at"=>2013-04-23 09:09:03 UTC, "created_at"=>2013-04-23 09:09:03 UTC}])
7714
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7715
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1)
7716
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1)
7717
+ MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-23 09:09:03 UTC, "updated_at"=>2013-04-23 09:09:03 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764fafc82cd1f28d000003'), "account_id"=>BSON::ObjectId('51764fafc82cd1f28d000002')}]}])
7718
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7719
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1)
7720
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7721
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000004')}}, {:_id=>1}).limit(-1)
7722
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "serialized_template"=>{"en"=><BSON::Binary:70164358105880>}, "updated_at"=>2013-04-23 09:09:04 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:04 UTC}])
7723
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fb0c82cd1f28d000004')}).sort([[:position, :asc]])
7724
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000004')]}}).sort([[:position, :asc]])
7725
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7726
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7727
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1)
7728
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fb0c82cd1f28d000004')}).limit(-1).sort([[:_id, :asc]])
7729
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001')}, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fb0c82cd1f28d000004'), "_keywords"=>["en:home", "en:page"]}])
7730
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7731
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000006')}}, {:_id=>1}).limit(-1)
7732
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000006')}}).sort([[:position, :asc]])
7733
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70164359644460 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000006')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70164359644140 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7734
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "serialized_template"=>{"en"=><BSON::Binary:70164424968120>}, "updated_at"=>2013-04-23 09:09:04 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:04 UTC}])
7735
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000006')]}}).sort([[:position, :asc]])
7736
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fb0c82cd1f28d000006')}).sort([[:position, :asc]])
7737
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7738
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001')}, "fields"=>nil}).limit(-1)
7739
+ MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "serialized_item_template"=><BSON::Binary:70164359639240>, "slug"=>"examples", "updated_at"=>2013-04-23 09:09:04 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764fb0c82cd1f28d000008'), "created_at"=>2013-04-23 09:09:04 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 09:09:04 UTC, "created_at"=>2013-04-23 09:09:04 UTC}]}])
7740
+ MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51764fb0c82cd1f28d000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-23 09:09:04 UTC, "created_at"=>2013-04-23 09:09:04 UTC}}})
7741
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7742
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1)
7743
+ MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d00000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764fb0c82cd1f28d000007"]}})
7744
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51764fb0c82cd1f28d000007')}, "fields"=>nil}).limit(-1)
7745
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=><BSON::Code:70164405047200 @data="function(obj, prev) { if (obj._position && prev.max == 'start') { prev.max = obj._position; } if (obj._position && prev.max < obj._position) { prev.max = obj._position; } }" @scope="{}">, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764fb0c82cd1f28d000007"]}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70164405046940 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7746
+ MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d00000a'), "_type"=>"Locomotive::ContentEntry51764fb0c82cd1f28d000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764fb0c82cd1f28d000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764fb0c82cd1f28d000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-23 09:09:04 UTC, "site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:09:04 UTC}])
7747
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764fb0c82cd1f28d000007", :_original_id=>BSON::ObjectId('51764fb0c82cd1f28d00000a')}).limit(-1).sort([[:_id, :asc]])
7748
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d00000b'), "_original_type"=>"Locomotive::ContentEntry51764fb0c82cd1f28d000007", "_original_id"=>BSON::ObjectId('51764fb0c82cd1f28d00000a'), "_keywords"=>["findable", "entry"]}])
7749
+ MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d00000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51764fb0c82cd1f28d000007"]}})
7750
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51764fb0c82cd1f28d000007')}, "fields"=>nil}).limit(-1)
7751
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=><BSON::Code:70164404330500 @data="function(obj, prev) { if (obj._position && prev.max == 'start') { prev.max = obj._position; } if (obj._position && prev.max < obj._position) { prev.max = obj._position; } }" @scope="{}">, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764fb0c82cd1f28d000007"]}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70164404330240 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7752
+ MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d00000c'), "_type"=>"Locomotive::ContentEntry51764fb0c82cd1f28d000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51764fb0c82cd1f28d000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764fb0c82cd1f28d000007'), "_slug"=>"hidden", "updated_at"=>2013-04-23 09:09:04 UTC, "site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:09:04 UTC}])
7753
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764fb0c82cd1f28d000007", :_original_id=>BSON::ObjectId('51764fb0c82cd1f28d00000c')}).limit(-1).sort([[:_id, :asc]])
7754
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d00000d'), "_original_type"=>"Locomotive::ContentEntry51764fb0c82cd1f28d000007", "_original_id"=>BSON::ObjectId('51764fb0c82cd1f28d00000c'), "_keywords"=>["hidden"]}])
7755
+ MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]])
7756
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :parent_id=>BSON::ObjectId('51764fb0c82cd1f28d000004')}, "fields"=>nil}).limit(-1)
7757
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fb0c82cd1f28d000004'), :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d00000e')}}, {:_id=>1}).limit(-1)
7758
+ MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000004')]}})
7759
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764fb0c82cd1f28d000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fb0c82cd1f28d00000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "parent_id"=>BSON::ObjectId('51764fb0c82cd1f28d000004'), "serialized_template"=>{"en"=><BSON::Binary:70164370947020>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:09:04 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:04 UTC}])
7760
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d00000e')]}}).sort([[:position, :asc]])
7761
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fb0c82cd1f28d00000e')}).sort([[:position, :asc]])
7762
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d00000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7763
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fb0c82cd1f28d00000e')}).limit(-1).sort([[:_id, :asc]])
7764
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001')}, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d00000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fb0c82cd1f28d00000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}])
7765
+ MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]])
7766
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :parent_id=>BSON::ObjectId('51764fb0c82cd1f28d000004')}, "fields"=>nil}).limit(-1)
7767
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fb0c82cd1f28d000004'), :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000010')}}, {:_id=>1}).limit(-1)
7768
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fb0c82cd1f28d000004'), :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000010')}}).sort([[:position, :asc]])
7769
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70164404486940 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>BSON::ObjectId('51764fb0c82cd1f28d000004'), :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000010')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70164404486680 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7770
+ MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000004')]}})
7771
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764fb0c82cd1f28d000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000010'), "raw_template"=>{"en"=>" <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.slug}}\">{{ result.title }}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "parent_id"=>BSON::ObjectId('51764fb0c82cd1f28d000004'), "serialized_template"=>{"en"=><BSON::Binary:70164441257500>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:09:04 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:04 UTC}])
7772
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000010')]}}).sort([[:position, :asc]])
7773
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fb0c82cd1f28d000010')}).sort([[:position, :asc]])
7774
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7775
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fb0c82cd1f28d000010')}).limit(-1).sort([[:_id, :asc]])
7776
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('51764fafc82cd1f28d000001')}, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fb0c82cd1f28d000010'), "_keywords"=>["en:search"]}])
7777
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]])
7778
+ MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('51764fafc82cd1f28d000001')}).limit(-1).sort([[:_id, :asc]])
7779
+ MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('51764fb0c82cd1f28d000004')}, {"$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"=><BSON::Binary:70164424844660>}}})
7780
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000004')]}}).sort([[:position, :asc]])
7781
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fb0c82cd1f28d000004')}).limit(-1).sort([[:_id, :asc]])
7782
+ MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('51764fb0c82cd1f28d000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001')}}})
7783
+ MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]])
7784
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1)
7785
+ MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-23 09:09:03 UTC, "updated_at"=>2013-04-23 09:09:04 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000013'), "account_id"=>BSON::ObjectId('51764fafc82cd1f28d000002')}]}])
7786
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7787
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000014')}}, {:_id=>1}).limit(-1)
7788
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764fb0c82cd1f28d000012'), "serialized_template"=>{"en"=><BSON::Binary:70164424751420>}, "updated_at"=>2013-04-23 09:09:04 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:04 UTC}])
7789
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fb0c82cd1f28d000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000014')]}}).sort([[:position, :asc]])
7790
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fb0c82cd1f28d000014')}).sort([[:position, :asc]])
7791
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7792
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fb0c82cd1f28d000014')}).limit(-1).sort([[:_id, :asc]])
7793
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012')}, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fb0c82cd1f28d000014'), "_keywords"=>["en:home", "en:page"]}])
7794
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7795
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000016')}}, {:_id=>1}).limit(-1)
7796
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000016')}}).sort([[:position, :asc]])
7797
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70164405025860 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000016')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70164405050340 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7798
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764fb0c82cd1f28d000012'), "serialized_template"=>{"en"=><BSON::Binary:70164404899340>}, "updated_at"=>2013-04-23 09:09:04 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:04 UTC}])
7799
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fb0c82cd1f28d000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000016')]}}).sort([[:position, :asc]])
7800
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fb0c82cd1f28d000016')}).sort([[:position, :asc]])
7801
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7802
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7803
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000017')}}, {:_id=>1}).limit(-1)
7804
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000017')}}).sort([[:position, :asc]])
7805
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70164404427680 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d000017')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70164404427260 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7806
+ MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}})
7807
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000017'), "raw_template"=>{"en"=>"Rickroll"}, "title"=>{"en"=>"This should never show up in the search, even if it would be findable"}, "slug"=>{"en"=>"rickroll"}, "site_id"=>BSON::ObjectId('51764fb0c82cd1f28d000012'), "serialized_template"=>{"en"=><BSON::Binary:70164404235700>}, "updated_at"=>2013-04-23 09:09:04 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:04 UTC}])
7808
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fb0c82cd1f28d000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000017')]}}).sort([[:position, :asc]])
7809
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fb0c82cd1f28d000017')}).sort([[:position, :asc]])
7810
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fb0c82cd1f28d000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7811
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fb0c82cd1f28d000017')}).limit(-1).sort([[:_id, :asc]])
7812
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012')}, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fb0c82cd1f28d000017'), "_keywords"=>["en:this", "en:should", "en:never", "en:show", "en:up", "en:in", "en:the", "en:search,", "en:even", "en:if", "en:it", "en:would", "en:be", "en:findable"]}])
7813
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012')}, "fields"=>nil}).limit(-1)
7814
+ MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764fb0c82cd1f28d000012'), "serialized_item_template"=><BSON::Binary:70164371663760>, "slug"=>"examples", "updated_at"=>2013-04-23 09:09:04 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764fb0c82cd1f28d00001a'), "created_at"=>2013-04-23 09:09:04 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d00001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 09:09:04 UTC, "created_at"=>2013-04-23 09:09:04 UTC}]}])
7815
+ MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764fb0c82cd1f28d00001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764fb0c82cd1f28d000019"]}})
7816
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('51764fb0c82cd1f28d000019')}, "fields"=>nil}).limit(-1)
7817
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=><BSON::Code:70164404405400 @data="function(obj, prev) { if (obj._position && prev.max == 'start') { prev.max = obj._position; } if (obj._position && prev.max < obj._position) { prev.max = obj._position; } }" @scope="{}">, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764fb0c82cd1f28d000019"]}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70164404405140 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7818
+ MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d00001b'), "_type"=>"Locomotive::ContentEntry51764fb0c82cd1f28d000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764fb0c82cd1f28d000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764fb0c82cd1f28d000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-23 09:09:04 UTC, "site_id"=>BSON::ObjectId('51764fb0c82cd1f28d000012'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:09:04 UTC}])
7819
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764fb0c82cd1f28d000019", :_original_id=>BSON::ObjectId('51764fb0c82cd1f28d00001b')}).limit(-1).sort([[:_id, :asc]])
7820
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('51764fb0c82cd1f28d000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764fb0c82cd1f28d00001c'), "_original_type"=>"Locomotive::ContentEntry51764fb0c82cd1f28d000019", "_original_id"=>BSON::ObjectId('51764fb0c82cd1f28d00001b'), "_keywords"=>["not", "findable", "entry"]}])
7821
+ Started GET "/" for 127.0.0.1 at 2013-04-23 11:09:05 +0200
7822
+ Processing by Locomotive::Public::PagesController#show as HTML
7823
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7824
+ MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]])
7825
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]])
7826
+ Rendered text template (0.0ms)
7827
+ Completed 200 OK in 23ms (Views: 18.3ms)
7828
+ Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-23 11:09:05 +0200
7829
+ Processing by Locomotive::Public::PagesController#show as HTML
7830
+ Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"}
7831
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7832
+ MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]])
7833
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]])
7834
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), :_keywords=>{"$in"=>["findable", "en:findable"]}})
7835
+ Rendered text template (0.0ms)
7836
+ Completed 200 OK in 5ms (Views: 0.3ms)
7837
+ Started GET "/findable" for 127.0.0.1 at 2013-04-23 11:09:05 +0200
7838
+ Processing by Locomotive::Public::PagesController#show as HTML
7839
+ Parameters: {"path"=>"findable"}
7840
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7841
+ MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]])
7842
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), :depth=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}).sort([[:position, :asc]])
7843
+ Rendered text template (0.0ms)
7844
+ Completed 200 OK in 4ms (Views: 0.4ms)
7845
+ Started GET "/" for 127.0.0.1 at 2013-04-23 11:09:05 +0200
7846
+ Processing by Locomotive::Public::PagesController#show as HTML
7847
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7848
+ MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]])
7849
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]])
7850
+ Rendered text template (0.0ms)
7851
+ Completed 200 OK in 3ms (Views: 0.2ms)
7852
+ Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-04-23 11:09:05 +0200
7853
+ Processing by Locomotive::Public::PagesController#show as HTML
7854
+ Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"}
7855
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7856
+ MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]])
7857
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]])
7858
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('51764fafc82cd1f28d000001'), :_keywords=>{"$in"=>["not", "found", "en:not", "en:found"]}})
7859
+ Rendered text template (0.0ms)
7860
+ Completed 200 OK in 4ms (Views: 0.3ms)
7861
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7862
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7863
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1)
7864
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7865
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1)
7866
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7867
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1)
7868
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7869
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1)
7870
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7871
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1)
7872
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7873
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1)
7874
+ MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
7875
+ MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
7876
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7877
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_types"}).limit(-1)
7878
+ MONGODB locomotive_search_test['locomotive_content_types'].find({})
7879
+ Creating scope :root. Overwriting existing method Locomotive::Page.root.
7880
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7881
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7882
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1)
7883
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7884
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1)
7885
+ MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]])
7886
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1)
7887
+ MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"ikoE8qt3TugG9pRQnFZx", "encrypted_password"=>"536d9dea6cb86ae9735171b12c06450ab14caead", "updated_at"=>2013-04-23 09:09:17 UTC, "created_at"=>2013-04-23 09:09:17 UTC}])
7888
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7889
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1)
7890
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1)
7891
+ MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-23 09:09:17 UTC, "updated_at"=>2013-04-23 09:09:17 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000003'), "account_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000002')}]}])
7892
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7893
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1)
7894
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7895
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000004')}}, {:_id=>1}).limit(-1)
7896
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "serialized_template"=>{"en"=><BSON::Binary:70114163246220>}, "updated_at"=>2013-04-23 09:09:17 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:17 UTC}])
7897
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000004')}).sort([[:position, :asc]])
7898
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000004')]}}).sort([[:position, :asc]])
7899
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7900
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7901
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1)
7902
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fbdc82cd1f2a1000004')}).limit(-1).sort([[:_id, :asc]])
7903
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001')}, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000004'), "_keywords"=>["en:home", "en:page"]}])
7904
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7905
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000006')}}, {:_id=>1}).limit(-1)
7906
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000006')}}).sort([[:position, :asc]])
7907
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70114164690780 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000006')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70114164690380 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7908
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "serialized_template"=>{"en"=><BSON::Binary:70114108731780>}, "updated_at"=>2013-04-23 09:09:17 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:17 UTC}])
7909
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000006')]}}).sort([[:position, :asc]])
7910
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000006')}).sort([[:position, :asc]])
7911
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7912
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001')}, "fields"=>nil}).limit(-1)
7913
+ MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "serialized_item_template"=><BSON::Binary:70114166092640>, "slug"=>"examples", "updated_at"=>2013-04-23 09:09:17 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000008'), "created_at"=>2013-04-23 09:09:17 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 09:09:17 UTC, "created_at"=>2013-04-23 09:09:17 UTC}]}])
7914
+ MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-23 09:09:17 UTC, "created_at"=>2013-04-23 09:09:17 UTC}}})
7915
+ MONGODB locomotive_search_test['system.namespaces'].find({})
7916
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1)
7917
+ MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a100000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764fbdc82cd1f2a1000007"]}})
7918
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51764fbdc82cd1f2a1000007')}, "fields"=>nil}).limit(-1)
7919
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=><BSON::Code:70114145023920 @data="function(obj, prev) { if (obj._position && prev.max == 'start') { prev.max = obj._position; } if (obj._position && prev.max < obj._position) { prev.max = obj._position; } }" @scope="{}">, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764fbdc82cd1f2a1000007"]}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70114145023580 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7920
+ MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a100000a'), "_type"=>"Locomotive::ContentEntry51764fbdc82cd1f2a1000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764fbdc82cd1f2a1000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-23 09:09:17 UTC, "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:09:17 UTC}])
7921
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764fbdc82cd1f2a1000007", :_original_id=>BSON::ObjectId('51764fbdc82cd1f2a100000a')}).limit(-1).sort([[:_id, :asc]])
7922
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a100000b'), "_original_type"=>"Locomotive::ContentEntry51764fbdc82cd1f2a1000007", "_original_id"=>BSON::ObjectId('51764fbdc82cd1f2a100000a'), "_keywords"=>["findable", "entry"]}])
7923
+ MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a100000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51764fbdc82cd1f2a1000007"]}})
7924
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51764fbdc82cd1f2a1000007')}, "fields"=>nil}).limit(-1)
7925
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=><BSON::Code:70114145056920 @data="function(obj, prev) { if (obj._position && prev.max == 'start') { prev.max = obj._position; } if (obj._position && prev.max < obj._position) { prev.max = obj._position; } }" @scope="{}">, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764fbdc82cd1f2a1000007"]}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70114145056660 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7926
+ MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a100000c'), "_type"=>"Locomotive::ContentEntry51764fbdc82cd1f2a1000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51764fbdc82cd1f2a1000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000007'), "_slug"=>"hidden", "updated_at"=>2013-04-23 09:09:17 UTC, "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:09:17 UTC}])
7927
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764fbdc82cd1f2a1000007", :_original_id=>BSON::ObjectId('51764fbdc82cd1f2a100000c')}).limit(-1).sort([[:_id, :asc]])
7928
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a100000d'), "_original_type"=>"Locomotive::ContentEntry51764fbdc82cd1f2a1000007", "_original_id"=>BSON::ObjectId('51764fbdc82cd1f2a100000c'), "_keywords"=>["hidden"]}])
7929
+ MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]])
7930
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :parent_id=>BSON::ObjectId('51764fbdc82cd1f2a1000004')}, "fields"=>nil}).limit(-1)
7931
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fbdc82cd1f2a1000004'), :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a100000e')}}, {:_id=>1}).limit(-1)
7932
+ MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000004')]}})
7933
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764fbdc82cd1f2a1000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fbdc82cd1f2a100000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "parent_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000004'), "serialized_template"=>{"en"=><BSON::Binary:70114143048960>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:09:17 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:17 UTC}])
7934
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a100000e')]}}).sort([[:position, :asc]])
7935
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fbdc82cd1f2a100000e')}).sort([[:position, :asc]])
7936
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a100000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7937
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fbdc82cd1f2a100000e')}).limit(-1).sort([[:_id, :asc]])
7938
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001')}, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a100000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fbdc82cd1f2a100000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}])
7939
+ MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]])
7940
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :parent_id=>BSON::ObjectId('51764fbdc82cd1f2a1000004')}, "fields"=>nil}).limit(-1)
7941
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fbdc82cd1f2a1000004'), :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000010')}}, {:_id=>1}).limit(-1)
7942
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fbdc82cd1f2a1000004'), :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000010')}}).sort([[:position, :asc]])
7943
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70114095448060 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>BSON::ObjectId('51764fbdc82cd1f2a1000004'), :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000010')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70114095447800 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7944
+ MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000004')]}})
7945
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764fbdc82cd1f2a1000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000010'), "raw_template"=>{"en"=>" <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.slug}}\">{{ result.title }}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "parent_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000004'), "serialized_template"=>{"en"=><BSON::Binary:70114095429140>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:09:17 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:17 UTC}])
7946
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000010')]}}).sort([[:position, :asc]])
7947
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000010')}).sort([[:position, :asc]])
7948
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7949
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fbdc82cd1f2a1000010')}).limit(-1).sort([[:_id, :asc]])
7950
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001')}, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000010'), "_keywords"=>["en:search"]}])
7951
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]])
7952
+ MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('51764fbdc82cd1f2a1000001')}).limit(-1).sort([[:_id, :asc]])
7953
+ MONGODB locomotive_search_test['locomotive_pages'].update({"_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000004')}, {"$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"=><BSON::Binary:70114142350680>}}})
7954
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000004')]}}).sort([[:position, :asc]])
7955
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fbdc82cd1f2a1000004')}).limit(-1).sort([[:_id, :asc]])
7956
+ MONGODB locomotive_search_test['active_search_mongoid_models'].update({"_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000005')}, {"$set"=>{"_stored"=>{"title"=>{"en"=>"Home page"}, "slug"=>{"en"=>"index"}, "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001')}}})
7957
+ MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]])
7958
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test2"}, "fields"=>nil}).limit(-1)
7959
+ MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test2.example.com"], "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), "name"=>"Locomotive test website #2", "subdomain"=>"test2", "created_at"=>2013-04-23 09:09:17 UTC, "updated_at"=>2013-04-23 09:09:17 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000013'), "account_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000002')}]}])
7960
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7961
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000014')}}, {:_id=>1}).limit(-1)
7962
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000014'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), "serialized_template"=>{"en"=><BSON::Binary:70114144609320>}, "updated_at"=>2013-04-23 09:09:17 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:17 UTC}])
7963
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000014')]}}).sort([[:position, :asc]])
7964
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000014')}).sort([[:position, :asc]])
7965
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000014')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7966
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fbdc82cd1f2a1000014')}).limit(-1).sort([[:_id, :asc]])
7967
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012')}, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000015'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000014'), "_keywords"=>["en:home", "en:page"]}])
7968
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7969
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000016')}}, {:_id=>1}).limit(-1)
7970
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000016')}}).sort([[:position, :asc]])
7971
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70114166081240 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000016')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70114166080780 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7972
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000016'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), "serialized_template"=>{"en"=><BSON::Binary:70114142081140>}, "updated_at"=>2013-04-23 09:09:17 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:17 UTC}])
7973
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000016')]}}).sort([[:position, :asc]])
7974
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000016')}).sort([[:position, :asc]])
7975
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000016')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7976
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"rickroll", :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
7977
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000017')}}, {:_id=>1}).limit(-1)
7978
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000017')}}).sort([[:position, :asc]])
7979
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70114165205160 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a1000017')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70114165204900 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7980
+ MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[]}})
7981
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000017'), "raw_template"=>{"en"=>"Rickroll"}, "title"=>{"en"=>"This should never show up in the search, even if it would be findable"}, "slug"=>{"en"=>"rickroll"}, "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), "serialized_template"=>{"en"=><BSON::Binary:70114111790880>}, "updated_at"=>2013-04-23 09:09:17 UTC, "position"=>2, "fullpath"=>{"en"=>"rickroll"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:17 UTC}])
7982
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000017')]}}).sort([[:position, :asc]])
7983
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000017')}).sort([[:position, :asc]])
7984
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fbdc82cd1f2a1000017')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
7985
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fbdc82cd1f2a1000017')}).limit(-1).sort([[:_id, :asc]])
7986
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"This should never show up in the search, even if it would be findable"}, :slug=>{"en"=>"rickroll"}, :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012')}, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000018'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000017'), "_keywords"=>["en:this", "en:should", "en:never", "en:show", "en:up", "en:in", "en:the", "en:search,", "en:even", "en:if", "en:it", "en:would", "en:be", "en:findable"]}])
7987
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012')}, "fields"=>nil}).limit(-1)
7988
+ MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000019'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), "serialized_item_template"=><BSON::Binary:70114143199900>, "slug"=>"examples", "updated_at"=>2013-04-23 09:09:17 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764fbdc82cd1f2a100001a'), "created_at"=>2013-04-23 09:09:17 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a100001a'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 09:09:17 UTC, "created_at"=>2013-04-23 09:09:17 UTC}]}])
7989
+ MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764fbdc82cd1f2a100001b')}, :_slug=>"not-findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764fbdc82cd1f2a1000019"]}})
7990
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"not-findable-entry", :content_type_id=>BSON::ObjectId('51764fbdc82cd1f2a1000019')}, "fields"=>nil}).limit(-1)
7991
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=><BSON::Code:70114142439120 @data="function(obj, prev) { if (obj._position && prev.max == 'start') { prev.max = obj._position; } if (obj._position && prev.max < obj._position) { prev.max = obj._position; } }" @scope="{}">, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764fbdc82cd1f2a1000019"]}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70114142438860 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
7992
+ MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a100001b'), "_type"=>"Locomotive::ContentEntry51764fbdc82cd1f2a1000019", "name"=>"NOT Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764fbdc82cd1f2a1000019", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000019'), "_slug"=>"not-findable-entry", "updated_at"=>2013-04-23 09:09:17 UTC, "site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:09:17 UTC}])
7993
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764fbdc82cd1f2a1000019", :_original_id=>BSON::ObjectId('51764fbdc82cd1f2a100001b')}).limit(-1).sort([[:_id, :asc]])
7994
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"not-findable-entry", "name"=>"NOT Findable entry", :site_id=>BSON::ObjectId('51764fbdc82cd1f2a1000012'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764fbdc82cd1f2a100001c'), "_original_type"=>"Locomotive::ContentEntry51764fbdc82cd1f2a1000019", "_original_id"=>BSON::ObjectId('51764fbdc82cd1f2a100001b'), "_keywords"=>["not", "findable", "entry"]}])
7995
+ Started GET "/" for 127.0.0.1 at 2013-04-23 11:09:17 +0200
7996
+ Processing by Locomotive::Public::PagesController#show as HTML
7997
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
7998
+ MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]])
7999
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]])
8000
+ Rendered text template (0.0ms)
8001
+ Completed 200 OK in 24ms (Views: 19.4ms)
8002
+ Started GET "/en/search?search=findable" for 127.0.0.1 at 2013-04-23 11:09:18 +0200
8003
+ Processing by Locomotive::Public::PagesController#show as HTML
8004
+ Parameters: {"search"=>"findable", "locale"=>"en", "path"=>"search"}
8005
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
8006
+ MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]])
8007
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]])
8008
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :_keywords=>{"$in"=>["findable", "en:findable"]}})
8009
+ Rendered text template (0.0ms)
8010
+ Completed 200 OK in 5ms (Views: 0.4ms)
8011
+ Started GET "/findable" for 127.0.0.1 at 2013-04-23 11:09:18 +0200
8012
+ Processing by Locomotive::Public::PagesController#show as HTML
8013
+ Parameters: {"path"=>"findable"}
8014
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
8015
+ MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]])
8016
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :depth=>1, "fullpath.en"=>{"$in"=>["findable", "content_type_template"]}}).sort([[:position, :asc]])
8017
+ Rendered text template (0.0ms)
8018
+ Completed 200 OK in 4ms (Views: 0.4ms)
8019
+ Started GET "/" for 127.0.0.1 at 2013-04-23 11:09:18 +0200
8020
+ Processing by Locomotive::Public::PagesController#show as HTML
8021
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
8022
+ MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]])
8023
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :depth=>0, "fullpath.en"=>{"$in"=>["index"]}}).sort([[:position, :asc]])
8024
+ Rendered text template (0.0ms)
8025
+ Completed 200 OK in 3ms (Views: 0.2ms)
8026
+ Started GET "/en/search?search=not+found" for 127.0.0.1 at 2013-04-23 11:09:18 +0200
8027
+ Processing by Locomotive::Public::PagesController#show as HTML
8028
+ Parameters: {"search"=>"not found", "locale"=>"en", "path"=>"search"}
8029
+ [LocomotiveCMS] [fetch site] host = test.example.com / test.example.com
8030
+ MONGODB locomotive_search_test['locomotive_sites'].find({:domains=>{"$in"=>["test.example.com"]}}).limit(-1).sort([[:_id, :asc]])
8031
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :depth=>1, "fullpath.en"=>{"$in"=>["search", "content_type_template"]}}).sort([[:position, :asc]])
8032
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({"_stored.site_id"=>BSON::ObjectId('51764fbdc82cd1f2a1000001'), :_keywords=>{"$in"=>["not", "found", "en:not", "en:found"]}})
8033
+ Rendered text template (0.0ms)
8034
+ Completed 200 OK in 3ms (Views: 0.2ms)
8035
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8036
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8037
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1)
8038
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8039
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1)
8040
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8041
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1)
8042
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8043
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1)
8044
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8045
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1)
8046
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8047
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1)
8048
+ MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
8049
+ MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
8050
+ MONGODB [WARNING] Please note that logging negatively impacts client-side performance. You should set your logging level no lower than :info in production.
8051
+ MONGODB admin['$cmd'].find({:ismaster=>1}).limit(-1)
8052
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8053
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_types"}).limit(-1)
8054
+ MONGODB locomotive_search_test['locomotive_content_types'].find({})
8055
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8056
+ MONGODB locomotive_search_test['locomotive_content_types'].find({})
8057
+ Creating scope :root. Overwriting existing method Locomotive::Page.root.
8058
+ Creating scope :root. Overwriting existing method Locomotive::Page.root.
8059
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8060
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8061
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1)
8062
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8063
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1)
8064
+ MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]])
8065
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1)
8066
+ MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"AaeJfYCRBJNJhmnKxLZ7", "encrypted_password"=>"e15cc427ccf5267a4a2e431b4dfdb6a8aed2f037", "updated_at"=>2013-04-23 09:09:43 UTC, "created_at"=>2013-04-23 09:09:43 UTC}])
8067
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8068
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1)
8069
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1)
8070
+ MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-23 09:09:43 UTC, "updated_at"=>2013-04-23 09:09:43 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000003'), "account_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000002')}]}])
8071
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8072
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8073
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1)
8074
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8075
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1)
8076
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8077
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_accounts"}).limit(-1)
8078
+ MONGODB locomotive_search_test['locomotive_accounts'].find({:name=>"Admin"}).limit(-1).sort([[:_id, :asc]])
8079
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_accounts", "query"=>{:email=>"admin@locomotiveapp.org"}, "fields"=>nil}).limit(-1)
8080
+ MONGODB locomotive_search_test['locomotive_accounts'].insert([{"locale"=>"en", "_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000002'), "name"=>"Admin", "email"=>"admin@locomotiveapp.org", "password_salt"=>"MEhWiuvunqmNTmftFGm7", "encrypted_password"=>"50c8b1b4e102a60401d1d440b801debd51c9fe4f", "updated_at"=>2013-04-23 09:09:43 UTC, "created_at"=>2013-04-23 09:09:43 UTC}])
8081
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8082
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_sites"}).limit(-1)
8083
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"test"}, "fields"=>nil}).limit(-1)
8084
+ MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["test.example.com"], "_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), "name"=>"Locomotive test website", "subdomain"=>"test", "created_at"=>2013-04-23 09:09:43 UTC, "updated_at"=>2013-04-23 09:09:43 UTC, "memberships"=>[{"role"=>"admin", "_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000003'), "account_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000002')}]}])
8085
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8086
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_pages"}).limit(-1)
8087
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
8088
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2b8000004')}}, {:_id=>1}).limit(-1)
8089
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "serialized_template"=>{"en"=><BSON::Binary:70226116109840>}, "updated_at"=>2013-04-23 09:09:44 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:44 UTC}])
8090
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000004')}).sort([[:position, :asc]])
8091
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2b8000004')]}}).sort([[:position, :asc]])
8092
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2b8000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
8093
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8094
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"active_search_mongoid_models"}).limit(-1)
8095
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fd8c82cd1f2b8000004')}).limit(-1).sort([[:_id, :asc]])
8096
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001')}, "_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000004'), "_keywords"=>["en:home", "en:page"]}])
8097
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
8098
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2b8000006')}}, {:_id=>1}).limit(-1)
8099
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2b8000006')}}).sort([[:position, :asc]])
8100
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8101
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
8102
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2ba000004')}}, {:_id=>1}).limit(-1)
8103
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70226141023080 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2b8000006')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70226141022820 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
8104
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000004'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), "serialized_template"=>{"en"=><BSON::Binary:70108428295540>}, "updated_at"=>2013-04-23 09:09:44 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:44 UTC}])
8105
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "serialized_template"=>{"en"=><BSON::Binary:70226138547460>}, "updated_at"=>2013-04-23 09:09:44 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:44 UTC}])
8106
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000004')}).sort([[:position, :asc]])
8107
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2b8000006')]}}).sort([[:position, :asc]])
8108
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2ba000004')]}}).sort([[:position, :asc]])
8109
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000006')}).sort([[:position, :asc]])
8110
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2ba000004')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
8111
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2b8000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
8112
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8113
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fd8c82cd1f2ba000004')}).limit(-1).sort([[:_id, :asc]])
8114
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001')}, "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000005'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000004'), "_keywords"=>["en:home", "en:page"]}])
8115
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
8116
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2ba000006')}}, {:_id=>1}).limit(-1)
8117
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2ba000006')}}).sort([[:position, :asc]])
8118
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70108449822020 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2ba000006')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70108449821760 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
8119
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000006'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), "serialized_template"=>{"en"=><BSON::Binary:70108382314800>}, "updated_at"=>2013-04-23 09:09:44 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:44 UTC}])
8120
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2ba000006')]}}).sort([[:position, :asc]])
8121
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000006')}).sort([[:position, :asc]])
8122
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2ba000006')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
8123
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001')}, "fields"=>nil}).limit(-1)
8124
+ MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "serialized_item_template"=><BSON::Binary:70226139278380>, "slug"=>"examples", "updated_at"=>2013-04-23 09:09:44 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000008'), "created_at"=>2013-04-23 09:09:44 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 09:09:44 UTC, "created_at"=>2013-04-23 09:09:44 UTC}]}])
8125
+ MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-23 09:09:44 UTC, "created_at"=>2013-04-23 09:09:44 UTC}}})
8126
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8127
+ MONGODB locomotive_search_test['$cmd'].find({:create=>"locomotive_content_entries"}).limit(-1)
8128
+ MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2b800000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764fd8c82cd1f2b8000007"]}})
8129
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51764fd8c82cd1f2b8000007')}, "fields"=>nil}).limit(-1)
8130
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=><BSON::Code:70226141823340 @data="function(obj, prev) { if (obj._position && prev.max == 'start') { prev.max = obj._position; } if (obj._position && prev.max < obj._position) { prev.max = obj._position; } }" @scope="{}">, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764fd8c82cd1f2b8000007"]}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70226141823080 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
8131
+ MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764fd8c82cd1f2b800000a'), "_type"=>"Locomotive::ContentEntry51764fd8c82cd1f2b8000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764fd8c82cd1f2b8000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-23 09:09:44 UTC, "site_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:09:44 UTC}])
8132
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764fd8c82cd1f2b8000007", :_original_id=>BSON::ObjectId('51764fd8c82cd1f2b800000a')}).limit(-1).sort([[:_id, :asc]])
8133
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764fd8c82cd1f2b800000b'), "_original_type"=>"Locomotive::ContentEntry51764fd8c82cd1f2b8000007", "_original_id"=>BSON::ObjectId('51764fd8c82cd1f2b800000a'), "_keywords"=>["findable", "entry"]}])
8134
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_types", "query"=>{:slug=>"examples", :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001')}, "fields"=>nil}).limit(-1)
8135
+ MONGODB locomotive_search_test['locomotive_content_types'].insert([{"order_direction"=>"asc", "public_submission_enabled"=>false, "entries_custom_fields_version"=>0, "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000007'), "name"=>"Examples", "description"=>"The list of my projects", "site_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), "serialized_item_template"=><BSON::Binary:70108382465020>, "slug"=>"examples", "updated_at"=>2013-04-23 09:09:44 UTC, "order_by"=>"created_at", "label_field_name"=>"name", "label_field_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000008'), "created_at"=>2013-04-23 09:09:44 UTC, "entries_custom_fields"=>[{"text_formatting"=>"html", "position"=>0, "required"=>true, "localized"=>false, "ui_enabled"=>true, "searchable"=>true, "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000008'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Name", "type"=>"string", "name"=>"name", "updated_at"=>2013-04-23 09:09:44 UTC, "created_at"=>2013-04-23 09:09:44 UTC}]}])
8136
+ MONGODB locomotive_search_test['locomotive_content_types'].update({"_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000007')}, {"$push"=>{"entries_custom_fields"=>{"text_formatting"=>"html", "position"=>0, "required"=>false, "localized"=>false, "ui_enabled"=>true, "searchable"=>false, "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000009'), "_type"=>"Locomotive::ContentTypeEntryField", "label"=>"Stuff", "type"=>"text", "name"=>"stuff", "updated_at"=>2013-04-23 09:09:44 UTC, "created_at"=>2013-04-23 09:09:44 UTC}}})
8137
+ MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2b800000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51764fd8c82cd1f2b8000007"]}})
8138
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51764fd8c82cd1f2b8000007')}, "fields"=>nil}).limit(-1)
8139
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=><BSON::Code:70226138503660 @data="function(obj, prev) { if (obj._position && prev.max == 'start') { prev.max = obj._position; } if (obj._position && prev.max < obj._position) { prev.max = obj._position; } }" @scope="{}">, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764fd8c82cd1f2b8000007"]}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70226138503180 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
8140
+ MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51764fd8c82cd1f2b800000c'), "_type"=>"Locomotive::ContentEntry51764fd8c82cd1f2b8000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51764fd8c82cd1f2b8000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000007'), "_slug"=>"hidden", "updated_at"=>2013-04-23 09:09:44 UTC, "site_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:09:44 UTC}])
8141
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764fd8c82cd1f2b8000007", :_original_id=>BSON::ObjectId('51764fd8c82cd1f2b800000c')}).limit(-1).sort([[:_id, :asc]])
8142
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764fd8c82cd1f2b800000d'), "_original_type"=>"Locomotive::ContentEntry51764fd8c82cd1f2b8000007", "_original_id"=>BSON::ObjectId('51764fd8c82cd1f2b800000c'), "_keywords"=>["hidden"]}])
8143
+ MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]])
8144
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :parent_id=>BSON::ObjectId('51764fd8c82cd1f2b8000004')}, "fields"=>nil}).limit(-1)
8145
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fd8c82cd1f2b8000004'), :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2b800000e')}}, {:_id=>1}).limit(-1)
8146
+ MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2b8000004')]}})
8147
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764fd8c82cd1f2b8000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fd8c82cd1f2b800000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "parent_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000004'), "serialized_template"=>{"en"=><BSON::Binary:70226115584100>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:09:44 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:44 UTC}])
8148
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2b800000e')]}}).sort([[:position, :asc]])
8149
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fd8c82cd1f2b800000e')}).sort([[:position, :asc]])
8150
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2b800000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
8151
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fd8c82cd1f2b800000e')}).limit(-1).sort([[:_id, :asc]])
8152
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001')}, "_id"=>BSON::ObjectId('51764fd8c82cd1f2b800000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fd8c82cd1f2b800000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}])
8153
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8154
+ MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2ba00000a')}, :_slug=>"findable-entry", :_type=>{"$in"=>["Locomotive::ContentEntry51764fd8c82cd1f2ba000007"]}})
8155
+ MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]])
8156
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"findable-entry", :content_type_id=>BSON::ObjectId('51764fd8c82cd1f2ba000007')}, "fields"=>nil}).limit(-1)
8157
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"search", :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :parent_id=>BSON::ObjectId('51764fd8c82cd1f2b8000004')}, "fields"=>nil}).limit(-1)
8158
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=><BSON::Code:70108382465320 @data="function(obj, prev) { if (obj._position && prev.max == 'start') { prev.max = obj._position; } if (obj._position && prev.max < obj._position) { prev.max = obj._position; } }" @scope="{}">, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764fd8c82cd1f2ba000007"]}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70108382464840 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
8159
+ MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>1, "_visible"=>true, "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba00000a'), "_type"=>"Locomotive::ContentEntry51764fd8c82cd1f2ba000007", "name"=>"Findable entry", "stuff"=>"Some stuff", "custom_fields_recipe"=>{"name"=>"ContentEntry51764fd8c82cd1f2ba000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000007'), "_slug"=>"findable-entry", "updated_at"=>2013-04-23 09:09:44 UTC, "site_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:09:44 UTC}])
8160
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fd8c82cd1f2b8000004'), :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2b8000010')}}, {:_id=>1}).limit(-1)
8161
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fd8c82cd1f2b8000004'), :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2b8000010')}}).sort([[:position, :asc]])
8162
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764fd8c82cd1f2ba000007", :_original_id=>BSON::ObjectId('51764fd8c82cd1f2ba00000a')}).limit(-1).sort([[:_id, :asc]])
8163
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"findable-entry", "name"=>"Findable entry", :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba00000b'), "_original_type"=>"Locomotive::ContentEntry51764fd8c82cd1f2ba000007", "_original_id"=>BSON::ObjectId('51764fd8c82cd1f2ba00000a'), "_keywords"=>["findable", "entry"]}])
8164
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70226139382340 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>BSON::ObjectId('51764fd8c82cd1f2b8000004'), :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2b8000010')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70226139382000 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
8165
+ MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2b8000004')]}})
8166
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764fd8c82cd1f2b8000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000010'), "raw_template"=>{"en"=>" <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.slug}}\">{{ result.title }}</a></li>\n {% endif %}\n {% endfor %}\n </ul>\n"}, "title"=>{"en"=>"search"}, "slug"=>{"en"=>"search"}, "site_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "parent_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000004'), "serialized_template"=>{"en"=><BSON::Binary:70226138218680>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:09:44 UTC, "position"=>1, "fullpath"=>{"en"=>"search"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:44 UTC}])
8167
+ MONGODB locomotive_search_test['locomotive_content_entries'].find({:_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2ba00000c')}, :_slug=>"hidden", :_type=>{"$in"=>["Locomotive::ContentEntry51764fd8c82cd1f2ba000007"]}})
8168
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2b8000010')]}}).sort([[:position, :asc]])
8169
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_content_entries", "query"=>{:_slug=>"hidden", :content_type_id=>BSON::ObjectId('51764fd8c82cd1f2ba000007')}, "fields"=>nil}).limit(-1)
8170
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000010')}).sort([[:position, :asc]])
8171
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2b8000010')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
8172
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fd8c82cd1f2b8000010')}).limit(-1).sort([[:_id, :asc]])
8173
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_content_entries", "$reduce"=><BSON::Code:70108446116520 @data="function(obj, prev) { if (obj._position && prev.max == 'start') { prev.max = obj._position; } if (obj._position && prev.max < obj._position) { prev.max = obj._position; } }" @scope="{}">, "cond"=>{:_type=>{"$in"=>["Locomotive::ContentEntry51764fd8c82cd1f2ba000007"]}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70108446116240 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
8174
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"search"}, :slug=>{"en"=>"search"}, :site_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001')}, "_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000011'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000010'), "_keywords"=>["en:search"]}])
8175
+ MONGODB locomotive_search_test['locomotive_content_entries'].insert([{"_position"=>2, "_visible"=>true, "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba00000c'), "_type"=>"Locomotive::ContentEntry51764fd8c82cd1f2ba000007", "name"=>"Hidden", "stuff"=>"Not findable", "custom_fields_recipe"=>{"name"=>"ContentEntry51764fd8c82cd1f2ba000007", "rules"=>[{"name"=>"name", "type"=>"string", "required"=>true, "localized"=>false}, {"name"=>"stuff", "type"=>"text", "required"=>false, "localized"=>false}], "version"=>0}, "content_type_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000007'), "_slug"=>"hidden", "updated_at"=>2013-04-23 09:09:44 UTC, "site_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), "_label_field_name"=>"name", "created_at"=>2013-04-23 09:09:44 UTC}])
8176
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::ContentEntry51764fd8c82cd1f2ba000007", :_original_id=>BSON::ObjectId('51764fd8c82cd1f2ba00000c')}).limit(-1).sort([[:_id, :asc]])
8177
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fd7c82cd1f2b8000001'), "slug.en"=>"index"}).limit(-1).sort([[:position, :asc]])
8178
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:_slug=>"hidden", "name"=>"Hidden", :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), :content_type_slug=>"examples"}, "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba00000d'), "_original_type"=>"Locomotive::ContentEntry51764fd8c82cd1f2ba000007", "_original_id"=>BSON::ObjectId('51764fd8c82cd1f2ba00000c'), "_keywords"=>["hidden"]}])
8179
+ MONGODB locomotive_search_test['locomotive_sites'].find({:_id=>BSON::ObjectId('51764fd7c82cd1f2b8000001')}).limit(-1).sort([[:_id, :asc]])
8180
+ MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]])
8181
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8182
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"findable", :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), :parent_id=>BSON::ObjectId('51764fd8c82cd1f2b8000004')}, "fields"=>nil}).limit(-1)
8183
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8184
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_accounts"}).limit(-1)
8185
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>BSON::ObjectId('51764fd8c82cd1f2b8000004'), :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2ba00000e')}}, {:_id=>1}).limit(-1)
8186
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8187
+ MONGODB locomotive_search_test['locomotive_pages'].find({:_id=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2b8000004')]}})
8188
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[BSON::ObjectId('51764fd8c82cd1f2b8000004')], "depth"=>1, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba00000e'), "raw_template"=>{"en"=>"This is what you were looking for"}, "title"=>{"en"=>"Please search for this findable page"}, "slug"=>{"en"=>"findable"}, "site_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), "parent_id"=>BSON::ObjectId('51764fd8c82cd1f2b8000004'), "serialized_template"=>{"en"=><BSON::Binary:70108447754780>}, "target_klass_name"=>nil, "updated_at"=>2013-04-23 09:09:44 UTC, "position"=>0, "fullpath"=>{"en"=>"findable"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:44 UTC}])
8189
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1)
8190
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8191
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fd7c82cd1f2ba000001'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2ba00000e')]}}).sort([[:position, :asc]])
8192
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1)
8193
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8194
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fd8c82cd1f2ba00000e')}).sort([[:position, :asc]])
8195
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2ba00000e')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
8196
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1)
8197
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8198
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fd8c82cd1f2ba00000e')}).limit(-1).sort([[:_id, :asc]])
8199
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_types"}).limit(-1)
8200
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Please search for this findable page"}, :slug=>{"en"=>"findable"}, :site_id=>BSON::ObjectId('51764fd7c82cd1f2ba000001')}, "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba00000f'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fd8c82cd1f2ba00000e'), "_keywords"=>["en:please", "en:search", "en:for", "en:this", "en:findable", "en:page"]}])
8201
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8202
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_content_entries"}).limit(-1)
8203
+ MONGODB locomotive_search_test['locomotive_pages'].find({"slug.en"=>"index"}).limit(-1).sort([[:position, :asc]])
8204
+ MONGODB locomotive_search_test['locomotive_sites'].find({:subdomain=>"acme"}).limit(-1).sort([[:_id, :asc]])
8205
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_sites", "query"=>{:subdomain=>"acme"}, "fields"=>nil}).limit(-1)
8206
+ MONGODB locomotive_search_test['locomotive_sites'].insert([{"locales"=>["en"], "domains"=>["acme.example.com"], "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000012'), "name"=>"Acme Website", "subdomain"=>"acme", "created_at"=>2013-04-23 09:09:43 UTC, "updated_at"=>2013-04-23 09:09:44 UTC}])
8207
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764fd8c82cd1f2ba000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
8208
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fd8c82cd1f2ba000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2ba000013')}}, {:_id=>1}).limit(-1)
8209
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000013'), "slug"=>{"en"=>"index"}, "title"=>{"en"=>"Home page"}, "raw_template"=>{"en"=>"Content of the home page"}, "site_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000012'), "serialized_template"=>{"en"=><BSON::Binary:70108382593620>}, "updated_at"=>2013-04-23 09:09:44 UTC, "position"=>0, "fullpath"=>{"en"=>"index"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:44 UTC}])
8210
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2ba000013')]}}).sort([[:position, :asc]])
8211
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000013')}).sort([[:position, :asc]])
8212
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2ba000013')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
8213
+ MONGODB locomotive_search_test['active_search_mongoid_models'].find({:_original_type=>"Locomotive::Page", :_original_id=>BSON::ObjectId('51764fd8c82cd1f2ba000013')}).limit(-1).sort([[:_id, :asc]])
8214
+ MONGODB locomotive_search_test['active_search_mongoid_models'].insert([{"_stored"=>{:title=>{"en"=>"Home page"}, :slug=>{"en"=>"index"}, :site_id=>BSON::ObjectId('51764fd8c82cd1f2ba000012')}, "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000014'), "_original_type"=>"Locomotive::Page", "_original_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000013'), "_keywords"=>["en:home", "en:page"]}])
8215
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"404", :site_id=>BSON::ObjectId('51764fd8c82cd1f2ba000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
8216
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fd8c82cd1f2ba000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2ba000015')}}, {:_id=>1}).limit(-1)
8217
+ MONGODB locomotive_search_test['locomotive_pages'].find({:parent_id=>nil, :site_id=>BSON::ObjectId('51764fd8c82cd1f2ba000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2ba000015')}}).sort([[:position, :asc]])
8218
+ MONGODB locomotive_search_test['$cmd'].find({"group"=>{"ns"=>"locomotive_pages", "$reduce"=><BSON::Code:70108386927480 @data="function(obj, prev) { if (obj.position && prev.max == 'start') { prev.max = obj.position; } if (obj.position && prev.max < obj.position) { prev.max = obj.position; } }" @scope="{}">, "cond"=>{:parent_id=>nil, :site_id=>BSON::ObjectId('51764fd8c82cd1f2ba000012'), :_id=>{"$ne"=>BSON::ObjectId('51764fd8c82cd1f2ba000015')}}, "initial"=>{:max=>"start"}, "finalize"=><BSON::Code:70108386927220 @data="function(obj) { if (obj.max == 'start' || isNaN(obj.max)) { obj.max = 0; } return obj; }" @scope="{}">}}).limit(-1)
8219
+ MONGODB locomotive_search_test['locomotive_pages'].insert([{"parent_ids"=>[], "depth"=>0, "template_dependencies"=>{"en"=>[]}, "snippet_dependencies"=>{"en"=>[]}, "templatized"=>false, "templatized_from_parent"=>false, "redirect"=>false, "redirect_type"=>301, "listed"=>true, "published"=>true, "cache_strategy"=>"none", "response_type"=>"text/html", "_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000015'), "slug"=>{"en"=>"404"}, "title"=>{"en"=>"Page not found"}, "raw_template"=>{"en"=>"Content of the 404 page"}, "site_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000012'), "serialized_template"=>{"en"=><BSON::Binary:70108381466120>}, "updated_at"=>2013-04-23 09:09:44 UTC, "position"=>1, "fullpath"=>{"en"=>"404"}, "locales"=>[:en], "created_at"=>2013-04-23 09:09:44 UTC}])
8220
+ MONGODB locomotive_search_test['locomotive_pages'].find({"site_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000012'), "template_dependencies.en"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2ba000015')]}}).sort([[:position, :asc]])
8221
+ MONGODB locomotive_search_test['locomotive_pages'].find({"parent_id"=>BSON::ObjectId('51764fd8c82cd1f2ba000015')}).sort([[:position, :asc]])
8222
+ MONGODB locomotive_search_test['locomotive_pages'].update({"parent_ids"=>{"$in"=>[BSON::ObjectId('51764fd8c82cd1f2ba000015')]}}, {"$set"=>{"templatized"=>false, "templatized_from_parent"=>false, "target_klass_name"=>nil}})
8223
+ MONGODB locomotive_search_test['$cmd'].find({"count"=>"locomotive_pages", "query"=>{"slug.en"=>"index", :site_id=>BSON::ObjectId('51764fd8c82cd1f2ba000012'), :parent_id=>nil}, "fields"=>nil}).limit(-1)
8224
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8225
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8226
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"active_search_mongoid_models"}).limit(-1)
8227
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8228
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_sites"}).limit(-1)
8229
+ MONGODB locomotive_search_test['system.namespaces'].find({})
8230
+ MONGODB locomotive_search_test['$cmd'].find({:drop=>"locomotive_pages"}).limit(-1)