From 962bae9a8256a7738f86e1234cbfc1393d121a0c Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 1 Oct 2012 21:09:09 +0800 Subject: [PATCH 1/2] merge --- Gemfile | 7 +- Gemfile.lock | 260 ++++++-------- app/jobs/nccu_calendar.rb | 2 +- config/initializers/resque.rb | 2 +- config/ldap.yml | 4 +- config/mongoid.yml | 4 +- config/resque.god | 6 +- config/sunspot.yml | 4 +- log/sunspot-solr-development.log.1 | 324 +++++++++--------- public/assets/.gitignore | 0 public/static/nccu_calendar.xml | 122 +------ .../back_end/bulletins_controller.rb | 2 +- 12 files changed, 296 insertions(+), 441 deletions(-) delete mode 100644 public/assets/.gitignore diff --git a/Gemfile b/Gemfile index 37a8d319..0fb3acd0 100644 --- a/Gemfile +++ b/Gemfile @@ -25,13 +25,10 @@ gem "mongo_session_store-rails3" gem 'mysql2' gem 'nokogiri' -gem 'pry', :group => :development -gem 'pry-debugger', :group => :development - gem 'radius' gem 'rake' # gem 'remotipart' -gem 'resque' # background jobs +gem 'resque', :require => 'resque/server' # background jobs gem 'resque-scheduler' # job scheduling gem 'resque-restriction' #gem 'rb-readline' @@ -84,7 +81,7 @@ group :test, :development do gem "simplecov" gem "delorean" gem "watchr" - gem "spork" + gem "spork" # gem "capybara" # gem 'yard' # gem "bluecloth" diff --git a/Gemfile.lock b/Gemfile.lock index beb6db38..a28df6b1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,11 +1,10 @@ GIT remote: git://github.com/amatsuda/kaminari.git - revision: 118927a42e57d6608c10d85b8a62acfc7c175974 + revision: b4b1e578ad81b803522d9bc28713bf1b20e7ded9 specs: - kaminari (0.13.0) + kaminari (0.14.1) actionpack (>= 3.0.0) activesupport (>= 3.0.0) - railties (>= 3.0.0) GIT remote: git://github.com/charlotte-ruby/impressionist.git @@ -18,76 +17,70 @@ GIT GEM remote: http://rubygems.org/ specs: - actionmailer (3.1.4) - actionpack (= 3.1.4) - mail (~> 2.3.0) - actionpack (3.1.4) - activemodel (= 3.1.4) - activesupport (= 3.1.4) + actionmailer (3.1.8) + actionpack (= 3.1.8) + mail (~> 2.3.3) + actionpack (3.1.8) + activemodel (= 3.1.8) + activesupport (= 3.1.8) builder (~> 3.0.0) erubis (~> 2.7.0) i18n (~> 0.6) rack (~> 1.3.6) - rack-cache (~> 1.1) + rack-cache (~> 1.2) rack-mount (~> 0.8.2) rack-test (~> 0.6.1) - sprockets (~> 2.0.3) - activemodel (3.1.4) - activesupport (= 3.1.4) + sprockets (~> 2.0.4) + activemodel (3.1.8) + activesupport (= 3.1.8) builder (~> 3.0.0) i18n (~> 0.6) - activerecord (3.1.4) - activemodel (= 3.1.4) - activesupport (= 3.1.4) + activerecord (3.1.8) + activemodel (= 3.1.8) + activesupport (= 3.1.8) arel (~> 2.2.3) tzinfo (~> 0.3.29) - activeresource (3.1.4) - activemodel (= 3.1.4) - activesupport (= 3.1.4) - activesupport (3.1.4) - multi_json (~> 1.0) + activeresource (3.1.8) + activemodel (= 3.1.8) + activesupport (= 3.1.8) + activesupport (3.1.8) + multi_json (>= 1.0, < 1.3) archive-tar-minitar (0.5.2) arel (2.2.3) bcrypt-ruby (3.0.1) - bcrypt-ruby (3.0.1-x86-mingw32) - brakeman (1.5.1) + brakeman (1.8.0) activesupport erubis (~> 2.6) + fastercsv (~> 1.5) haml (~> 3.0) + highline (~> 1.6) i18n + json_pure ruby2ruby (~> 1.2) - ruport (~> 1.6) + ruby_parser (= 2.3.1) sass (~> 3.0) - bson (1.6.4) - bson_ext (1.6.1) - bson (~> 1.6.1) - builder (3.0.0) + terminal-table (~> 1.4) + bson (1.7.0) + bson_ext (1.7.0) + bson (~> 1.7.0) + builder (3.0.3) carrierwave (0.5.8) activesupport (~> 3.0) - carrierwave-mongoid (0.1.3) - carrierwave (>= 0.5.6) + carrierwave-mongoid (0.1.6) + carrierwave (~> 0.5.6) mongoid (~> 2.1) chinese_pinyin (0.4.1) - chronic (0.6.7) - coderay (1.0.7) + chronic (0.8.0) coffee-rails (3.1.1) coffee-script (>= 2.2.0) railties (~> 3.1.0) coffee-script (2.2.0) coffee-script-source execjs - coffee-script-source (1.2.0) - color (1.4.1) + coffee-script-source (1.3.3) columnize (0.3.6) - database_cleaner (0.7.1) - debugger (1.1.4) - columnize (>= 0.3.1) - debugger-linecache (~> 1.1.1) - debugger-ruby_core_source (~> 1.1.3) - debugger-linecache (1.1.2) - debugger-ruby_core_source (>= 1.1.1) - debugger-ruby_core_source (1.1.3) - delorean (1.2.0) + database_cleaner (0.8.0) + delorean (2.0.0) chronic devise (1.5.3) bcrypt-ruby (~> 3.0) @@ -95,81 +88,63 @@ GEM warden (~> 1.1) diff-lcs (1.1.3) erubis (2.7.0) - exception_notification (2.5.2) + exception_notification (2.6.1) actionmailer (>= 3.0.4) - execjs (1.3.0) + execjs (1.4.0) multi_json (~> 1.0) - factory_girl (2.6.3) - activesupport (>= 2.3.9) - factory_girl_rails (1.7.0) - factory_girl (~> 2.6.0) + factory_girl (4.1.0) + activesupport (>= 3.0.0) + factory_girl_rails (4.1.0) + factory_girl (~> 4.1.0) railties (>= 3.0.0) - fastercsv (1.5.4) + fastercsv (1.5.5) fattr (2.2.1) - haml (3.1.4) - highline (1.6.13) + haml (3.1.7) + highline (1.6.15) hike (1.2.1) - hoe (2.16.1) - rake (~> 0.8) - httpclient (2.2.5) - i18n (0.6.0) - jquery-rails (1.0.19) - railties (~> 3.0) + httpclient (2.2.7) + i18n (0.6.1) + jquery-rails (2.1.2) + railties (>= 3.1.0, < 5.0) thor (~> 0.14) - jquery-ui-rails (0.4.0) + jquery-ui-rails (2.0.0) jquery-rails railties (>= 3.1.0) - json (1.6.5) + json (1.7.5) + json_pure (1.7.5) + libv8 (3.3.10.4) linecache19 (0.5.12) ruby_core_source (>= 0.1.4) mail (2.3.3) i18n (>= 0.4.0) mime-types (~> 1.16) treetop (~> 1.4.8) - method_source (0.8) - mime-types (1.17.2) + mime-types (1.19) mini_magick (3.4) subexec (~> 0.2.1) - mongo (1.6.2) - bson (~> 1.6.2) - mongo_session_store-rails3 (3.0.5) + mongo (1.7.0) + bson (~> 1.7.0) + mongo_session_store-rails3 (3.0.6) actionpack (>= 3.0) mongo - mongoid (2.4.12) + mongoid (2.5.0) activemodel (~> 3.1) - mongo (<= 1.6.2) + mongo (~> 1.7) tzinfo (~> 0.3.22) mongoid-tree (0.7.0) mongoid (~> 2.0) - multi_json (1.3.6) + multi_json (1.2.0) mysql2 (0.3.11) - mysql2 (0.3.11-x86-mingw32) net-ldap (0.3.1) - nokogiri (1.5.2) - nokogiri (1.5.2-x86-mingw32) + nokogiri (1.5.5) options (2.3.0) fattr - orm_adapter (0.0.6) - pdf-writer (1.1.8) - color (>= 1.4.0) - transaction-simple (~> 1.3) + orm_adapter (0.0.7) polyglot (0.3.3) pr_geohash (1.0.0) progress_bar (0.4.0) highline (~> 1.6.1) options (~> 2.3.0) - pry (0.9.10) - coderay (~> 1.0.5) - method_source (~> 0.8) - slop (~> 3.3.1) - pry (0.9.10-x86-mingw32) - coderay (~> 1.0.5) - method_source (~> 0.8) - slop (~> 3.3.1) - win32console (~> 1.3) - pry-debugger (0.2.0) - debugger (~> 1.1.3) - pry (~> 0.9.9) rack (1.3.6) rack-cache (1.2) rack (>= 0.4) @@ -182,22 +157,23 @@ GEM rack-test (0.6.1) rack (>= 1.0) radius (0.7.3) - rails (3.1.4) - actionmailer (= 3.1.4) - actionpack (= 3.1.4) - activerecord (= 3.1.4) - activeresource (= 3.1.4) - activesupport (= 3.1.4) + rails (3.1.8) + actionmailer (= 3.1.8) + actionpack (= 3.1.8) + activerecord (= 3.1.8) + activeresource (= 3.1.8) + activesupport (= 3.1.8) bundler (~> 1.0) - railties (= 3.1.4) - railties (3.1.4) - actionpack (= 3.1.4) - activesupport (= 3.1.4) + railties (= 3.1.8) + railties (3.1.8) + actionpack (= 3.1.8) + activesupport (= 3.1.8) rack-ssl (~> 1.3.2) rake (>= 0.8.7) rdoc (~> 3.4) thor (~> 0.14.6) rake (0.9.2.2) + rb-readline (0.4.2) rdoc (3.12) json (~> 1.4) redis (2.2.2) @@ -207,41 +183,41 @@ GEM chinese_pinyin (>= 0.3.0) redis (>= 2.1.1) redis-namespace (~> 1.0.2) - resque (1.20.0) + resque (1.22.0) multi_json (~> 1.0) - redis-namespace (~> 1.0.2) + redis-namespace (~> 1.0) sinatra (>= 0.9.2) vegas (~> 0.1.2) resque-restriction (0.3.0) resque (>= 1.7.0) - resque-scheduler (1.9.9) + resque-scheduler (2.0.0) redis (>= 2.0.1) - resque (>= 1.8.0) + resque (>= 1.20.0) rufus-scheduler rmmseg-cpp-huacnlee (0.2.9) rsolr (1.0.8) builder (>= 2.1.2) - rspec (2.8.0) - rspec-core (~> 2.8.0) - rspec-expectations (~> 2.8.0) - rspec-mocks (~> 2.8.0) - rspec-core (2.8.0) - rspec-expectations (2.8.0) - diff-lcs (~> 1.1.2) - rspec-mocks (2.8.0) - rspec-rails (2.8.1) + rspec (2.11.0) + rspec-core (~> 2.11.0) + rspec-expectations (~> 2.11.0) + rspec-mocks (~> 2.11.0) + rspec-core (2.11.1) + rspec-expectations (2.11.3) + diff-lcs (~> 1.1.3) + rspec-mocks (2.11.2) + rspec-rails (2.11.0) actionpack (>= 3.0) activesupport (>= 3.0) railties (>= 3.0) - rspec (~> 2.8.0) + rspec (~> 2.11.0) ruby-debug-base19 (0.11.25) columnize (>= 0.3.1) linecache19 (>= 0.5.11) ruby_core_source (>= 0.1.4) - ruby-debug19 (0.11.6) + ruby-debug19 (0.11.5) columnize (>= 0.3.1) linecache19 (>= 0.5.11) - ruby-debug-base19 (>= 0.11.19) + ruby-debug-base19 (>= 0.11.15) ruby2ruby (1.3.1) ruby_parser (~> 2.0) sexp_processor (~> 3.0) @@ -249,38 +225,33 @@ GEM archive-tar-minitar (>= 0.5.2) ruby_parser (2.3.1) sexp_processor (~> 3.0) - rubyzip (0.9.6.1) - rufus-scheduler (2.0.16) + rubyzip (0.9.9) + rufus-scheduler (2.0.17) tzinfo (>= 0.3.23) - ruport (1.6.3) - fastercsv - pdf-writer (= 1.1.8) - sass (3.1.15) - sass-rails (3.1.5) + sass (3.2.1) + sass-rails (3.1.6) actionpack (~> 3.1.0) railties (~> 3.1.0) - sass (~> 3.1.10) + sass (>= 3.1.10) tilt (~> 1.3.2) - sexp_processor (3.1.0) - shoulda-matchers (1.0.0) - simplecov (0.6.1) + sexp_processor (3.2.0) + shoulda-matchers (1.3.0) + activesupport (>= 3.0.0) + simplecov (0.6.4) multi_json (~> 1.0) simplecov-html (~> 0.5.3) simplecov-html (0.5.3) - sinatra (1.3.2) + sinatra (1.3.3) rack (~> 1.3, >= 1.3.6) rack-protection (~> 1.2) tilt (~> 1.3, >= 1.3.3) - slop (3.3.2) - social-share-button (0.0.6) - spork (0.9.0) - spork (0.9.0-x86-mingw32) - win32-process - sprockets (2.0.3) + social-share-button (0.0.8) + spork (0.9.2) + sprockets (2.0.4) hike (~> 1.2) rack (~> 1.0) tilt (~> 1.1, != 1.3.0) - subexec (0.2.1) + subexec (0.2.2) sunspot (1.3.3) pr_geohash (~> 1.0) rsolr (~> 1.0.7) @@ -292,37 +263,28 @@ GEM nokogiri sunspot (= 1.3.3) sunspot_solr (1.3.3) + terminal-table (1.4.5) + therubyracer (0.10.2) + libv8 (~> 3.3.10) thor (0.14.6) tilt (1.3.3) tinymce-rails (3.4.8) railties (>= 3.1) - transaction-simple (1.4.0) - hoe (>= 1.1.7) treetop (1.4.10) polyglot polyglot (>= 0.3.1) tzinfo (0.3.33) - uglifier (1.2.3) + uglifier (1.3.0) execjs (>= 0.3.0) - multi_json (>= 1.0.2) + multi_json (~> 1.0, >= 1.0.2) vegas (0.1.11) rack (>= 1.0.0) - warden (1.1.1) + warden (1.2.1) rack (>= 1.0) watchr (0.7) - win32-api (1.4.8-x86-mingw32) - win32-process (0.6.5) - windows-pr (>= 1.1.2) - win32console (1.3.2-x86-mingw32) - windows-api (0.4.1) - win32-api (>= 1.4.5) - windows-pr (1.2.1) - win32-api (>= 1.4.5) - windows-api (>= 0.3.0) PLATFORMS ruby - x86-mingw32 DEPENDENCIES brakeman @@ -349,11 +311,10 @@ DEPENDENCIES net-ldap (~> 0.3.1) nokogiri progress_bar - pry - pry-debugger radius rails (>= 3.1.0, < 3.2.0) rake + rb-readline redis (>= 2.1.1) redis-namespace (~> 1.0.2) redis-search (= 0.7.1) @@ -375,6 +336,7 @@ DEPENDENCIES sunspot-rails-tester sunspot_mongo sunspot_solr + therubyracer tinymce-rails uglifier watchr diff --git a/app/jobs/nccu_calendar.rb b/app/jobs/nccu_calendar.rb index 8756029d..df60bdd2 100644 --- a/app/jobs/nccu_calendar.rb +++ b/app/jobs/nccu_calendar.rb @@ -16,6 +16,6 @@ end # FileUtils.mv(temp_file, File.join(Rails.root, 'public/static', 'nccu_calendar.xml')) - puts "[#{ DateTime.now.strftime("%Y %D %H:%M")}]NccuCalendar Synced" + puts "[#{ DateTime.now.strftime("%Y %D %H:%M")}]NccuCalendar Synced #{File.join(Rails.root, 'public/static', 'nccu_calendar.xml')}" end end diff --git a/config/initializers/resque.rb b/config/initializers/resque.rb index 62de3fa4..270c7321 100644 --- a/config/initializers/resque.rb +++ b/config/initializers/resque.rb @@ -3,7 +3,7 @@ require 'resque_scheduler' # require 'yaml' Resque.redis = 'localhost:6379' -#Resque.redis.namespace = "resque:SchedulerExample" +Resque.redis.namespace = "resque:nccu_stage" # If you want to be able to dynamically change the schedule, # uncomment this line. A dynamic schedule can be updated via the diff --git a/config/ldap.yml b/config/ldap.yml index 5c48fc1a..9d330c47 100644 --- a/config/ldap.yml +++ b/config/ldap.yml @@ -4,8 +4,8 @@ defaults: &defaults development: <<: *defaults - host: '127.0.0.1' - port: 8001 + host: '140.119.166.23' + port: 389 production: <<: *defaults host: '140.119.166.23' diff --git a/config/mongoid.yml b/config/mongoid.yml index 0d68cb7a..ed5aa3e7 100644 --- a/config/mongoid.yml +++ b/config/mongoid.yml @@ -2,7 +2,7 @@ defaults: &defaults host: localhost # slaves: # - host: slave1.local - # port: 27018 + port: 37017 # - host: slave2.local # port: 27019 @@ -12,7 +12,7 @@ development: test: <<: *defaults - database: prototype_r4_test + database: prototype_r4_ldap0229 # set these environment variables on your prod server production: diff --git a/config/resque.god b/config/resque.god index 7622576c..afd706c0 100644 --- a/config/resque.god +++ b/config/resque.god @@ -1,5 +1,5 @@ #developer pls change here -rails_root = "/home/nccu/NCCU/" #keep this blank when development +rails_root = "/home/nccu/stage/NCCU" #keep this blank when development development_uid = 'kaito' #when dev development_gid = 'staff' #when dev @@ -16,7 +16,7 @@ num_workers.times do |num| w.dir = rails_root w.name = "resque-#{num}" - w.group = 'resque' + w.group = 'resque-stage' w.interval = 30.seconds w.env = {"QUEUE"=>"critical,high,low", "RAILS_ENV"=>rails_env} @@ -25,7 +25,7 @@ num_workers.times do |num| w.uid = (rails_env == 'production' )? "root" : development_uid w.gid = (rails_env == 'production' )? "root" : development_gid - w.log = (rails_env == 'production' )? "/var/log/#{w.name}.log":"#{rails_root}/log/#{w.name}.log" + w.log = (rails_env == 'production' )? "/var/log/#{w.name}-stage.log":"#{rails_root}/log/#{w.name}.log" # restart if memory gets too high w.transition(:up, :restart) do |on| diff --git a/config/sunspot.yml b/config/sunspot.yml index 7bbd32c0..e8323e42 100644 --- a/config/sunspot.yml +++ b/config/sunspot.yml @@ -1,7 +1,7 @@ production: solr: hostname: localhost - port: 8983 + port: 8982 log_level: WARNING development: @@ -14,4 +14,4 @@ test: solr: hostname: localhost port: 8981 - log_level: WARNING \ No newline at end of file + log_level: WARNING diff --git a/log/sunspot-solr-development.log.1 b/log/sunspot-solr-development.log.1 index 049dd80c..76fd38c6 100644 --- a/log/sunspot-solr-development.log.1 +++ b/log/sunspot-solr-development.log.1 @@ -1,222 +1,222 @@ -Jun 18, 2012 4:30:20 PM org.apache.solr.core.SolrResourceLoader locateSolrHome +Sep 24, 2012 10:20:33 AM org.apache.solr.core.SolrResourceLoader locateSolrHome INFO: JNDI not configured for solr (NoInitialContextEx) -Jun 18, 2012 4:30:20 PM org.apache.solr.core.SolrResourceLoader locateSolrHome -INFO: using system property solr.solr.home: /Users/kaito/Documents/MyWorkspeace/NCCU/solr -Jun 18, 2012 4:30:20 PM org.apache.solr.core.SolrResourceLoader -INFO: Solr home set to '/Users/kaito/Documents/MyWorkspeace/NCCU/solr/' -Jun 18, 2012 4:30:20 PM org.apache.solr.servlet.SolrDispatchFilter init +Sep 24, 2012 10:20:33 AM org.apache.solr.core.SolrResourceLoader locateSolrHome +INFO: using system property solr.solr.home: /home/nccu/stage/NCCU/solr +Sep 24, 2012 10:20:33 AM org.apache.solr.core.SolrResourceLoader +INFO: Solr home set to '/home/nccu/stage/NCCU/solr/' +Sep 24, 2012 10:20:33 AM org.apache.solr.servlet.SolrDispatchFilter init INFO: SolrDispatchFilter.init() -Jun 18, 2012 4:30:20 PM org.apache.solr.core.SolrResourceLoader locateSolrHome +Sep 24, 2012 10:20:33 AM org.apache.solr.core.SolrResourceLoader locateSolrHome INFO: JNDI not configured for solr (NoInitialContextEx) -Jun 18, 2012 4:30:20 PM org.apache.solr.core.SolrResourceLoader locateSolrHome -INFO: using system property solr.solr.home: /Users/kaito/Documents/MyWorkspeace/NCCU/solr -Jun 18, 2012 4:30:20 PM org.apache.solr.core.CoreContainer$Initializer initialize -INFO: looking for solr.xml: /Users/kaito/Documents/MyWorkspeace/NCCU/solr/solr.xml -Jun 18, 2012 4:30:20 PM org.apache.solr.core.SolrResourceLoader -INFO: Solr home set to '/Users/kaito/Documents/MyWorkspeace/NCCU/solr/' -Jun 18, 2012 4:30:20 PM org.apache.solr.core.SolrConfig initLibs +Sep 24, 2012 10:20:33 AM org.apache.solr.core.SolrResourceLoader locateSolrHome +INFO: using system property solr.solr.home: /home/nccu/stage/NCCU/solr +Sep 24, 2012 10:20:33 AM org.apache.solr.core.CoreContainer$Initializer initialize +INFO: looking for solr.xml: /home/nccu/stage/NCCU/solr/solr.xml +Sep 24, 2012 10:20:33 AM org.apache.solr.core.SolrResourceLoader +INFO: Solr home set to '/home/nccu/stage/NCCU/solr/' +Sep 24, 2012 10:20:33 AM org.apache.solr.core.SolrConfig initLibs INFO: Adding specified lib dirs to ClassLoader -Jun 18, 2012 4:30:20 PM org.apache.solr.core.SolrConfig +Sep 24, 2012 10:20:33 AM org.apache.solr.core.SolrConfig INFO: Loaded SolrConfig: solrconfig.xml -Jun 18, 2012 4:30:20 PM org.apache.solr.core.SolrCore -INFO: Opening new SolrCore at /Users/kaito/Documents/MyWorkspeace/NCCU/solr/, dataDir=/Users/kaito/Documents/MyWorkspeace/NCCU/solr/data/development/ -Jun 18, 2012 4:30:20 PM org.apache.solr.schema.IndexSchema readSchema +Sep 24, 2012 10:20:33 AM org.apache.solr.core.SolrCore +INFO: Opening new SolrCore at /home/nccu/stage/NCCU/solr/, dataDir=/home/nccu/stage/NCCU/solr/data/development/ +Sep 24, 2012 10:20:33 AM org.apache.solr.schema.IndexSchema readSchema INFO: Reading Solr Schema -Jun 18, 2012 4:30:21 PM org.apache.solr.schema.IndexSchema readSchema +Sep 24, 2012 10:20:33 AM org.apache.solr.schema.IndexSchema readSchema INFO: Schema name=sunspot -Jun 18, 2012 4:30:21 PM org.apache.solr.util.plugin.AbstractPluginLoader load +Sep 24, 2012 10:20:33 AM org.apache.solr.util.plugin.AbstractPluginLoader load INFO: created string: org.apache.solr.schema.StrField -Jun 18, 2012 4:30:21 PM org.apache.solr.util.plugin.AbstractPluginLoader load +Sep 24, 2012 10:20:33 AM org.apache.solr.util.plugin.AbstractPluginLoader load INFO: created tdouble: org.apache.solr.schema.TrieDoubleField -Jun 18, 2012 4:30:21 PM org.apache.solr.util.plugin.AbstractPluginLoader load +Sep 24, 2012 10:20:33 AM org.apache.solr.util.plugin.AbstractPluginLoader load INFO: created rand: org.apache.solr.schema.RandomSortField -Jun 18, 2012 4:30:21 PM org.apache.solr.util.plugin.AbstractPluginLoader load -INFO: created null: org.apache.solr.analysis.StandardTokenizerFactory -Jun 18, 2012 4:30:21 PM org.apache.solr.util.plugin.AbstractPluginLoader load +Sep 24, 2012 10:20:33 AM org.apache.solr.util.plugin.AbstractPluginLoader load +INFO: created null: org.apache.solr.analysis.CJKTokenizerFactory +Sep 24, 2012 10:20:33 AM org.apache.solr.util.plugin.AbstractPluginLoader load INFO: created null: org.apache.solr.analysis.StandardFilterFactory -Jun 18, 2012 4:30:21 PM org.apache.solr.util.plugin.AbstractPluginLoader load +Sep 24, 2012 10:20:33 AM org.apache.solr.util.plugin.AbstractPluginLoader load INFO: created null: org.apache.solr.analysis.LowerCaseFilterFactory -Jun 18, 2012 4:30:21 PM org.apache.solr.util.plugin.AbstractPluginLoader load +Sep 24, 2012 10:20:33 AM org.apache.solr.util.plugin.AbstractPluginLoader load INFO: created text: org.apache.solr.schema.TextField -Jun 18, 2012 4:30:21 PM org.apache.solr.util.plugin.AbstractPluginLoader load +Sep 24, 2012 10:20:33 AM org.apache.solr.util.plugin.AbstractPluginLoader load INFO: created boolean: org.apache.solr.schema.BoolField -Jun 18, 2012 4:30:21 PM org.apache.solr.util.plugin.AbstractPluginLoader load +Sep 24, 2012 10:20:33 AM org.apache.solr.util.plugin.AbstractPluginLoader load INFO: created date: org.apache.solr.schema.DateField -Jun 18, 2012 4:30:21 PM org.apache.solr.util.plugin.AbstractPluginLoader load +Sep 24, 2012 10:20:33 AM org.apache.solr.util.plugin.AbstractPluginLoader load INFO: created sdouble: org.apache.solr.schema.SortableDoubleField -Jun 18, 2012 4:30:21 PM org.apache.solr.util.plugin.AbstractPluginLoader load +Sep 24, 2012 10:20:33 AM org.apache.solr.util.plugin.AbstractPluginLoader load INFO: created sfloat: org.apache.solr.schema.SortableFloatField -Jun 18, 2012 4:30:21 PM org.apache.solr.util.plugin.AbstractPluginLoader load +Sep 24, 2012 10:20:33 AM org.apache.solr.util.plugin.AbstractPluginLoader load INFO: created sint: org.apache.solr.schema.SortableIntField -Jun 18, 2012 4:30:21 PM org.apache.solr.util.plugin.AbstractPluginLoader load +Sep 24, 2012 10:20:33 AM org.apache.solr.util.plugin.AbstractPluginLoader load INFO: created slong: org.apache.solr.schema.SortableLongField -Jun 18, 2012 4:30:21 PM org.apache.solr.util.plugin.AbstractPluginLoader load +Sep 24, 2012 10:20:33 AM org.apache.solr.util.plugin.AbstractPluginLoader load INFO: created tint: org.apache.solr.schema.TrieIntField -Jun 18, 2012 4:30:21 PM org.apache.solr.util.plugin.AbstractPluginLoader load +Sep 24, 2012 10:20:33 AM org.apache.solr.util.plugin.AbstractPluginLoader load INFO: created tfloat: org.apache.solr.schema.TrieFloatField -Jun 18, 2012 4:30:21 PM org.apache.solr.util.plugin.AbstractPluginLoader load +Sep 24, 2012 10:20:33 AM org.apache.solr.util.plugin.AbstractPluginLoader load INFO: created tdate: org.apache.solr.schema.TrieDateField -Jun 18, 2012 4:30:21 PM org.apache.solr.schema.IndexSchema readSchema +Sep 24, 2012 10:20:33 AM org.apache.solr.schema.IndexSchema readSchema INFO: default search field is text -Jun 18, 2012 4:30:21 PM org.apache.solr.schema.IndexSchema readSchema +Sep 24, 2012 10:20:33 AM org.apache.solr.schema.IndexSchema readSchema INFO: query parser default operator is AND -Jun 18, 2012 4:30:21 PM org.apache.solr.schema.IndexSchema readSchema +Sep 24, 2012 10:20:33 AM org.apache.solr.schema.IndexSchema readSchema INFO: unique key field: id -Jun 18, 2012 4:30:21 PM org.apache.solr.core.JmxMonitoredMap +Sep 24, 2012 10:20:33 AM org.apache.solr.core.JmxMonitoredMap INFO: No JMX servers found, not exposing Solr information with JMX. -Jun 18, 2012 4:30:21 PM org.apache.solr.core.SolrCore initListeners +Sep 24, 2012 10:20:33 AM org.apache.solr.core.SolrCore initListeners INFO: Added SolrEventListener: org.apache.solr.core.QuerySenderListener{queries=[]} -Jun 18, 2012 4:30:21 PM org.apache.solr.core.SolrCore initListeners +Sep 24, 2012 10:20:33 AM org.apache.solr.core.SolrCore initListeners INFO: Added SolrEventListener: org.apache.solr.core.QuerySenderListener{queries=[{q=solr rocks,start=0,rows=10}, {q=static firstSearcher warming query from solrconfig.xml}]} -Jun 18, 2012 4:30:21 PM org.apache.solr.request.XSLTResponseWriter init +Sep 24, 2012 10:20:33 AM org.apache.solr.request.XSLTResponseWriter init INFO: xsltCacheLifetimeSeconds=5 -Jun 18, 2012 4:30:21 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig +Sep 24, 2012 10:20:33 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig INFO: created standard: solr.SearchHandler -Jun 18, 2012 4:30:21 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig +Sep 24, 2012 10:20:33 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig INFO: created dismax: solr.SearchHandler -Jun 18, 2012 4:30:21 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig +Sep 24, 2012 10:20:33 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig INFO: created partitioned: solr.SearchHandler -Jun 18, 2012 4:30:21 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig +Sep 24, 2012 10:20:33 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig INFO: created /spell: solr.SearchHandler -Jun 18, 2012 4:30:21 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig +Sep 24, 2012 10:20:33 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig INFO: created tvrh: org.apache.solr.handler.component.SearchHandler -Jun 18, 2012 4:30:21 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig +Sep 24, 2012 10:20:33 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig INFO: adding lazy requestHandler: org.apache.solr.handler.extraction.ExtractingRequestHandler -Jun 18, 2012 4:30:21 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig +Sep 24, 2012 10:20:33 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig INFO: created /update/extract: org.apache.solr.handler.extraction.ExtractingRequestHandler -Jun 18, 2012 4:30:21 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig +Sep 24, 2012 10:20:33 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig INFO: created /terms: org.apache.solr.handler.component.SearchHandler -Jun 18, 2012 4:30:21 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig +Sep 24, 2012 10:20:33 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig INFO: adding lazy requestHandler: solr.SearchHandler -Jun 18, 2012 4:30:21 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig +Sep 24, 2012 10:20:33 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig INFO: created /elevate: solr.SearchHandler -Jun 18, 2012 4:30:21 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig +Sep 24, 2012 10:20:33 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig INFO: created /update: solr.XmlUpdateRequestHandler -Jun 18, 2012 4:30:21 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig +Sep 24, 2012 10:20:33 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig INFO: created /update/javabin: solr.BinaryUpdateRequestHandler -Jun 18, 2012 4:30:21 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig +Sep 24, 2012 10:20:33 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig INFO: created /analysis/document: solr.DocumentAnalysisRequestHandler -Jun 18, 2012 4:30:21 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig +Sep 24, 2012 10:20:33 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig INFO: created /analysis/field: solr.FieldAnalysisRequestHandler -Jun 18, 2012 4:30:21 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig +Sep 24, 2012 10:20:33 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig INFO: adding lazy requestHandler: solr.CSVRequestHandler -Jun 18, 2012 4:30:21 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig +Sep 24, 2012 10:20:33 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig INFO: created /update/csv: solr.CSVRequestHandler -Jun 18, 2012 4:30:21 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig +Sep 24, 2012 10:20:33 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig INFO: created /admin/: org.apache.solr.handler.admin.AdminHandlers -Jun 18, 2012 4:30:21 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig +Sep 24, 2012 10:20:33 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig INFO: created /admin/ping: PingRequestHandler -Jun 18, 2012 4:30:21 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig +Sep 24, 2012 10:20:33 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig INFO: created /debug/dump: solr.DumpRequestHandler -Jun 18, 2012 4:30:21 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig +Sep 24, 2012 10:20:33 AM org.apache.solr.core.RequestHandlers initHandlersFromConfig INFO: created /mlt: solr.MoreLikeThisHandler -Jun 18, 2012 4:30:21 PM org.apache.solr.search.SolrIndexSearcher -INFO: Opening Searcher@3b5b123b main -Jun 18, 2012 4:30:21 PM org.apache.solr.update.DirectUpdateHandler2$CommitTracker +Sep 24, 2012 10:20:33 AM org.apache.solr.search.SolrIndexSearcher +INFO: Opening Searcher@6a510e39 main +Sep 24, 2012 10:20:33 AM org.apache.solr.update.DirectUpdateHandler2$CommitTracker INFO: AutoCommit: disabled -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SpellCheckComponent inform +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SpellCheckComponent inform INFO: Initializing spell checkers -Jun 18, 2012 4:30:21 PM org.apache.solr.spelling.AbstractLuceneSpellChecker init +Sep 24, 2012 10:20:33 AM org.apache.solr.spelling.AbstractLuceneSpellChecker init INFO: Using WhitespaceAnalzyer for dictionary: default -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SpellCheckComponent inform +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SpellCheckComponent inform WARNING: No queryConverter defined, using default converter -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.QueryElevationComponent inform -INFO: Loading QueryElevation from: /Users/kaito/Documents/MyWorkspeace/NCCU/solr/conf/elevate.xml -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.QueryComponent@7dc21ece -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.FacetComponent@5374a6e2 -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.MoreLikeThisComponent@f786a3c -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.HighlightComponent@2a869113 -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.StatsComponent@689e8c34 -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding debug component:org.apache.solr.handler.component.DebugComponent@106df95 -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.QueryComponent@7dc21ece -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.FacetComponent@5374a6e2 -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.MoreLikeThisComponent@f786a3c -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.HighlightComponent@2a869113 -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.StatsComponent@689e8c34 -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding debug component:org.apache.solr.handler.component.DebugComponent@106df95 -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.QueryComponent@7dc21ece -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.FacetComponent@5374a6e2 -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.MoreLikeThisComponent@f786a3c -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.HighlightComponent@2a869113 -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.StatsComponent@689e8c34 -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding debug component:org.apache.solr.handler.component.DebugComponent@106df95 -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.QueryComponent@7dc21ece -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.FacetComponent@5374a6e2 -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.MoreLikeThisComponent@f786a3c -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.HighlightComponent@2a869113 -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.StatsComponent@689e8c34 -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.SpellCheckComponent@6a40afb9 -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding debug component:org.apache.solr.handler.component.DebugComponent@106df95 -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.QueryComponent@7dc21ece -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.FacetComponent@5374a6e2 -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.MoreLikeThisComponent@f786a3c -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.HighlightComponent@2a869113 -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.StatsComponent@689e8c34 -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.TermVectorComponent@3cd0d12e -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding debug component:org.apache.solr.handler.component.DebugComponent@106df95 -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SearchHandler inform -INFO: Adding component:org.apache.solr.handler.component.TermsComponent@31554233 -Jun 18, 2012 4:30:21 PM org.apache.solr.core.QuerySenderListener newSearcher -INFO: QuerySenderListener sending requests to Searcher@3b5b123b main -Jun 18, 2012 4:30:21 PM org.apache.solr.core.CoreContainer register +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.QueryElevationComponent inform +INFO: Loading QueryElevation from: /home/nccu/stage/NCCU/solr/conf/elevate.xml +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.QueryComponent@3cc70b0d +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.FacetComponent@2fa6a1a7 +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.MoreLikeThisComponent@64bef361 +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.HighlightComponent@345c98f3 +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.StatsComponent@2b3d9460 +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding debug component:org.apache.solr.handler.component.DebugComponent@57d840cd +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.QueryComponent@3cc70b0d +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.FacetComponent@2fa6a1a7 +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.MoreLikeThisComponent@64bef361 +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.HighlightComponent@345c98f3 +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.StatsComponent@2b3d9460 +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding debug component:org.apache.solr.handler.component.DebugComponent@57d840cd +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.QueryComponent@3cc70b0d +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.FacetComponent@2fa6a1a7 +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.MoreLikeThisComponent@64bef361 +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.HighlightComponent@345c98f3 +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.StatsComponent@2b3d9460 +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding debug component:org.apache.solr.handler.component.DebugComponent@57d840cd +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.QueryComponent@3cc70b0d +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.FacetComponent@2fa6a1a7 +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.MoreLikeThisComponent@64bef361 +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.HighlightComponent@345c98f3 +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.StatsComponent@2b3d9460 +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.SpellCheckComponent@36867fc9 +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding debug component:org.apache.solr.handler.component.DebugComponent@57d840cd +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.QueryComponent@3cc70b0d +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.FacetComponent@2fa6a1a7 +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.MoreLikeThisComponent@64bef361 +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.HighlightComponent@345c98f3 +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.StatsComponent@2b3d9460 +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.TermVectorComponent@382f8116 +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding debug component:org.apache.solr.handler.component.DebugComponent@57d840cd +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SearchHandler inform +INFO: Adding component:org.apache.solr.handler.component.TermsComponent@36c3e82b +Sep 24, 2012 10:20:33 AM org.apache.solr.core.QuerySenderListener newSearcher +INFO: QuerySenderListener sending requests to Searcher@6a510e39 main +Sep 24, 2012 10:20:33 AM org.apache.solr.core.CoreContainer register INFO: registering core: -Jun 18, 2012 4:30:21 PM org.apache.solr.servlet.SolrDispatchFilter init -INFO: user.dir=/Users/kaito/.rvm/gems/ruby-1.9.2-p290@orbit/gems/sunspot_solr-1.3.3/solr -Jun 18, 2012 4:30:21 PM org.apache.solr.servlet.SolrDispatchFilter init +Sep 24, 2012 10:20:33 AM org.apache.solr.servlet.SolrDispatchFilter init +INFO: user.dir=/home/nccu/.rvm/gems/ruby-1.9.2-p318@stage/gems/sunspot_solr-1.3.3/solr +Sep 24, 2012 10:20:33 AM org.apache.solr.servlet.SolrDispatchFilter init INFO: SolrDispatchFilter.init() done -Jun 18, 2012 4:30:21 PM org.apache.solr.core.SolrCore execute -INFO: [] webapp=null path=null params={start=0&event=firstSearcher&q=solr+rocks&rows=10} hits=0 status=0 QTime=43 -Jun 18, 2012 4:30:21 PM org.apache.solr.core.SolrCore execute -INFO: [] webapp=null path=null params={event=firstSearcher&q=static+firstSearcher+warming+query+from+solrconfig.xml} hits=0 status=0 QTime=1 -Jun 18, 2012 4:30:21 PM org.apache.solr.core.QuerySenderListener newSearcher -INFO: QuerySenderListener done. -Jun 18, 2012 4:30:21 PM org.apache.solr.handler.component.SpellCheckComponent$SpellCheckerListener newSearcher -INFO: Loading spell index for spellchecker: default -Jun 18, 2012 4:30:21 PM org.apache.solr.core.SolrCore registerSearcher -INFO: [] Registered new searcher Searcher@3b5b123b main -Jun 18, 2012 4:30:21 PM org.apache.solr.servlet.SolrServlet init +Sep 24, 2012 10:20:33 AM org.apache.solr.servlet.SolrServlet init INFO: SolrServlet.init() -Jun 18, 2012 4:30:21 PM org.apache.solr.core.SolrResourceLoader locateSolrHome +Sep 24, 2012 10:20:33 AM org.apache.solr.core.SolrResourceLoader locateSolrHome INFO: JNDI not configured for solr (NoInitialContextEx) -Jun 18, 2012 4:30:21 PM org.apache.solr.core.SolrResourceLoader locateSolrHome -INFO: using system property solr.solr.home: /Users/kaito/Documents/MyWorkspeace/NCCU/solr -Jun 18, 2012 4:30:21 PM org.apache.solr.servlet.SolrServlet init +Sep 24, 2012 10:20:33 AM org.apache.solr.core.SolrResourceLoader locateSolrHome +INFO: using system property solr.solr.home: /home/nccu/stage/NCCU/solr +Sep 24, 2012 10:20:33 AM org.apache.solr.servlet.SolrServlet init INFO: SolrServlet.init() done -Jun 18, 2012 4:30:21 PM org.apache.solr.core.SolrResourceLoader locateSolrHome +Sep 24, 2012 10:20:33 AM org.apache.solr.core.SolrResourceLoader locateSolrHome INFO: JNDI not configured for solr (NoInitialContextEx) -Jun 18, 2012 4:30:21 PM org.apache.solr.core.SolrResourceLoader locateSolrHome -INFO: using system property solr.solr.home: /Users/kaito/Documents/MyWorkspeace/NCCU/solr -Jun 18, 2012 4:30:21 PM org.apache.solr.servlet.SolrUpdateServlet init +Sep 24, 2012 10:20:33 AM org.apache.solr.core.SolrResourceLoader locateSolrHome +INFO: using system property solr.solr.home: /home/nccu/stage/NCCU/solr +Sep 24, 2012 10:20:33 AM org.apache.solr.servlet.SolrUpdateServlet init INFO: SolrUpdateServlet.init() done +Sep 24, 2012 10:20:33 AM org.apache.solr.core.SolrCore execute +INFO: [] webapp=null path=null params={start=0&event=firstSearcher&q=solr+rocks&rows=10} hits=0 status=0 QTime=46 +Sep 24, 2012 10:20:33 AM org.apache.solr.core.SolrCore execute +INFO: [] webapp=null path=null params={event=firstSearcher&q=static+firstSearcher+warming+query+from+solrconfig.xml} hits=0 status=0 QTime=4 +Sep 24, 2012 10:20:33 AM org.apache.solr.core.QuerySenderListener newSearcher +INFO: QuerySenderListener done. +Sep 24, 2012 10:20:33 AM org.apache.solr.handler.component.SpellCheckComponent$SpellCheckerListener newSearcher +INFO: Loading spell index for spellchecker: default +Sep 24, 2012 10:20:33 AM org.apache.solr.core.SolrCore registerSearcher +INFO: [] Registered new searcher Searcher@6a510e39 main diff --git a/public/assets/.gitignore b/public/assets/.gitignore deleted file mode 100644 index e69de29b..00000000 diff --git a/public/static/nccu_calendar.xml b/public/static/nccu_calendar.xml index e903ac45..ee4157b0 100644 --- a/public/static/nccu_calendar.xml +++ b/public/static/nccu_calendar.xml @@ -5,132 +5,28 @@ 本月最新活動 zh-tw - 政大講座論壇:東亞模式的民法典?(蘇永欽講座教授) - + 國立政治大學101學年度新住宿學生消防演練 + - 101/06/04 10:10-11:50 + 101/09/10 08:00-17:00 - 文化講座【父親與民國】-白先勇 - + 國立政治大學101學年度新住宿生教育訓練 + - 101/06/06 14:00-16:00 + 101/09/10 18:00-20:00 - 鄭丁旺講座教授榮退專題演講-我國會計發展的回顧與前瞻 - + 「中國大陸公民社會的發展與評估」研討會 + - 101/06/07 10:00-12:30 - - - 弦樂社 - - - - - 政大弦樂社期末成果發表音樂會 - - - 期末舞展 - - - - - 政大國標社期末舞展 歡迎大家來共襄盛舉 - - - 國際學院運動會 - - - - - 101/06/09 08:00-17:00 - - - IELTS雅思校園考 - - - - - 101/06/09 09:00-17:00 - - - 政橄隊慶 - - - - - 101/06/09 11:00-18:00 - - - 傳院頂大計畫「與未來對話:新的使用者體驗」交流會 - - - - - 101/06/09 13:00-17:30 - - - 2012年福祿貝爾恩物親子戲遊成長團體(下午) - - - - - 101/04/07-101/06/09 14:00-16:00 - - - 商院盃排球賽 - - - - - 101/06/10 08:00-17:00 - - - 教職員羽球賽 - - - - - 101/06/16 08:00-12:00 - - - 「樂活飲食•健康之鑰」系列活動--餐飲實務操作與食品安全 - - - - - 101/06/22 14:00-16:00 - - - 學生議會預備會議 - - - - - 第13屆學生議會第1會期預備會議,將選舉新任學生議會議長、副議長,歡迎政大同學列席旁聽!! - - - 山水講堂:政大教學日 - - - - - 101/06/26 08:20-16:40 - - - 「樂活飲食•健康之鑰」系列活動--廚房消毒與病媒防治 - - - - - 101/06/29 14:00-16:00 + 101/10/06 08:30-17:00 diff --git a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletins_controller.rb b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletins_controller.rb index b2316ef7..46b74c0a 100644 --- a/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletins_controller.rb +++ b/vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletins_controller.rb @@ -18,7 +18,7 @@ class Panel::Announcement::BackEnd::BulletinsController < OrbitBackendController bulletin = Bulletin.new params @preview_obj = bulletin.to_preview @preview_obj.save - render '/shared/preview/preview.html.erb', :layout=>false + render '/shared/preview/preview.html.erb',:layout=>false end def index From afff128e9ca2eb99dac65ddd808c6533c6486f94 Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 16 Oct 2012 14:15:33 +0800 Subject: [PATCH 2/2] Fix page_part creation when design is changed --- app/models/page.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/page.rb b/app/models/page.rb index cba692d0..1d53e36d 100644 --- a/app/models/page.rb +++ b/app/models/page.rb @@ -25,7 +25,7 @@ class Page < Item protected def create_parts - if self.new_record? || self.design.changed? + if self.new_record? || self.design_id_changed? page_design = self.design parent = self.parent menu_part = parent.page_parts.detect{|page_part| page_part.kind.eql?('public_r_tag') && page_part.public_r_tag.eql?('sub_menu') && page_part.public_r_tag_object_id.eql?(parent.id.to_s)} if parent