enju_question 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. data/MIT-LICENSE +1 -1
  2. data/Rakefile +9 -0
  3. data/app/controllers/answers_controller.rb +2 -1
  4. data/app/controllers/questions_controller.rb +2 -1
  5. data/app/models/answer.rb +2 -1
  6. data/app/models/answer_has_item.rb +1 -0
  7. data/app/models/question.rb +1 -0
  8. data/lib/enju_question/engine.rb +1 -1
  9. data/lib/enju_question/version.rb +1 -1
  10. data/spec/cassette_library/enju_ndl/crd.yml +8 -95
  11. data/spec/controllers/answers_controller_spec.rb +1 -1
  12. data/spec/controllers/questions_controller_spec.rb +1 -1
  13. data/spec/dummy/config/environments/development.rb +8 -1
  14. data/spec/dummy/config/environments/production.rb +8 -1
  15. data/spec/dummy/config/environments/test.rb +4 -6
  16. data/spec/dummy/db/development.sqlite3 +0 -0
  17. data/spec/dummy/db/test.sqlite3 +0 -0
  18. data/spec/dummy/solr/data/test/index/_0.fdt +0 -0
  19. data/spec/dummy/solr/data/test/index/_0.fdx +0 -0
  20. data/spec/dummy/solr/data/test/index/_0.fnm +3 -0
  21. data/spec/dummy/solr/data/test/index/_0.frq +1 -0
  22. data/spec/dummy/solr/data/test/index/_0.nrm +1 -0
  23. data/spec/dummy/solr/data/test/index/_0.prx +0 -0
  24. data/spec/dummy/solr/data/test/index/_0.tii +0 -0
  25. data/spec/dummy/solr/data/test/index/_0.tis +0 -0
  26. data/spec/dummy/solr/data/test/index/_0_1.del +0 -0
  27. data/spec/dummy/solr/data/test/index/_1.fdt +0 -0
  28. data/spec/dummy/solr/data/test/index/_1.fdx +0 -0
  29. data/spec/dummy/solr/data/test/index/_1.fnm +3 -0
  30. data/spec/dummy/solr/data/test/index/_1.frq +1 -0
  31. data/spec/dummy/solr/data/test/index/_1.nrm +1 -0
  32. data/spec/dummy/solr/data/test/index/_1.prx +0 -0
  33. data/spec/dummy/solr/data/test/index/_1.tii +0 -0
  34. data/spec/dummy/solr/data/test/index/_1.tis +0 -0
  35. data/spec/dummy/solr/data/test/index/segments.gen +0 -0
  36. data/spec/dummy/solr/data/test/index/segments_3 +0 -0
  37. data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
  38. metadata +40 -8
  39. data/spec/dummy/log/sunspot-solr-test.log +0 -222
  40. data/spec/dummy/log/test.log +0 -3065
  41. data/spec/dummy/solr/data/test/index/segments_1 +0 -0
@@ -1,222 +0,0 @@
1
- 2012/05/25 20:33:10 org.apache.solr.core.SolrResourceLoader locateSolrHome
2
- ���: JNDI not configured for solr (NoInitialContextEx)
3
- 2012/05/25 20:33:10 org.apache.solr.core.SolrResourceLoader locateSolrHome
4
- ���: using system property solr.solr.home: /Users/kosuke/enju_question/spec/dummy/solr
5
- 2012/05/25 20:33:10 org.apache.solr.core.SolrResourceLoader <init>
6
- ���: Solr home set to '/Users/kosuke/enju_question/spec/dummy/solr/'
7
- 2012/05/25 20:33:10 org.apache.solr.servlet.SolrDispatchFilter init
8
- ���: SolrDispatchFilter.init()
9
- 2012/05/25 20:33:10 org.apache.solr.core.SolrResourceLoader locateSolrHome
10
- ���: JNDI not configured for solr (NoInitialContextEx)
11
- 2012/05/25 20:33:10 org.apache.solr.core.SolrResourceLoader locateSolrHome
12
- ���: using system property solr.solr.home: /Users/kosuke/enju_question/spec/dummy/solr
13
- 2012/05/25 20:33:10 org.apache.solr.core.CoreContainer$Initializer initialize
14
- ���: looking for solr.xml: /Users/kosuke/enju_question/spec/dummy/solr/solr.xml
15
- 2012/05/25 20:33:10 org.apache.solr.core.SolrResourceLoader <init>
16
- ���: Solr home set to '/Users/kosuke/enju_question/spec/dummy/solr/'
17
- 2012/05/25 20:33:10 org.apache.solr.core.SolrConfig initLibs
18
- ���: Adding specified lib dirs to ClassLoader
19
- 2012/05/25 20:33:10 org.apache.solr.core.SolrConfig <init>
20
- ���: Loaded SolrConfig: solrconfig.xml
21
- 2012/05/25 20:33:10 org.apache.solr.core.SolrCore <init>
22
- ���: Opening new SolrCore at /Users/kosuke/enju_question/spec/dummy/solr/, dataDir=/Users/kosuke/enju_question/spec/dummy/solr/data/test/
23
- 2012/05/25 20:33:10 org.apache.solr.schema.IndexSchema readSchema
24
- ���: Reading Solr Schema
25
- 2012/05/25 20:33:10 org.apache.solr.schema.IndexSchema readSchema
26
- ���: Schema name=sunspot
27
- 2012/05/25 20:33:10 org.apache.solr.util.plugin.AbstractPluginLoader load
28
- ���: created string: org.apache.solr.schema.StrField
29
- 2012/05/25 20:33:10 org.apache.solr.util.plugin.AbstractPluginLoader load
30
- ���: created tdouble: org.apache.solr.schema.TrieDoubleField
31
- 2012/05/25 20:33:10 org.apache.solr.util.plugin.AbstractPluginLoader load
32
- ���: created rand: org.apache.solr.schema.RandomSortField
33
- 2012/05/25 20:33:10 org.apache.solr.util.plugin.AbstractPluginLoader load
34
- ���: created null: org.apache.solr.analysis.StandardTokenizerFactory
35
- 2012/05/25 20:33:10 org.apache.solr.util.plugin.AbstractPluginLoader load
36
- ���: created null: org.apache.solr.analysis.StandardFilterFactory
37
- 2012/05/25 20:33:10 org.apache.solr.util.plugin.AbstractPluginLoader load
38
- ���: created null: org.apache.solr.analysis.LowerCaseFilterFactory
39
- 2012/05/25 20:33:10 org.apache.solr.util.plugin.AbstractPluginLoader load
40
- ���: created text: org.apache.solr.schema.TextField
41
- 2012/05/25 20:33:10 org.apache.solr.util.plugin.AbstractPluginLoader load
42
- ���: created boolean: org.apache.solr.schema.BoolField
43
- 2012/05/25 20:33:10 org.apache.solr.util.plugin.AbstractPluginLoader load
44
- ���: created date: org.apache.solr.schema.DateField
45
- 2012/05/25 20:33:10 org.apache.solr.util.plugin.AbstractPluginLoader load
46
- ���: created sdouble: org.apache.solr.schema.SortableDoubleField
47
- 2012/05/25 20:33:10 org.apache.solr.util.plugin.AbstractPluginLoader load
48
- ���: created sfloat: org.apache.solr.schema.SortableFloatField
49
- 2012/05/25 20:33:10 org.apache.solr.util.plugin.AbstractPluginLoader load
50
- ���: created sint: org.apache.solr.schema.SortableIntField
51
- 2012/05/25 20:33:10 org.apache.solr.util.plugin.AbstractPluginLoader load
52
- ���: created slong: org.apache.solr.schema.SortableLongField
53
- 2012/05/25 20:33:10 org.apache.solr.util.plugin.AbstractPluginLoader load
54
- ���: created tint: org.apache.solr.schema.TrieIntField
55
- 2012/05/25 20:33:10 org.apache.solr.util.plugin.AbstractPluginLoader load
56
- ���: created tfloat: org.apache.solr.schema.TrieFloatField
57
- 2012/05/25 20:33:10 org.apache.solr.util.plugin.AbstractPluginLoader load
58
- ���: created tdate: org.apache.solr.schema.TrieDateField
59
- 2012/05/25 20:33:10 org.apache.solr.schema.IndexSchema readSchema
60
- ���: default search field is text
61
- 2012/05/25 20:33:10 org.apache.solr.schema.IndexSchema readSchema
62
- ���: query parser default operator is AND
63
- 2012/05/25 20:33:10 org.apache.solr.schema.IndexSchema readSchema
64
- ���: unique key field: id
65
- 2012/05/25 20:33:10 org.apache.solr.core.JmxMonitoredMap <init>
66
- ���: No JMX servers found, not exposing Solr information with JMX.
67
- 2012/05/25 20:33:10 org.apache.solr.core.SolrCore initListeners
68
- ���: Added SolrEventListener: org.apache.solr.core.QuerySenderListener{queries=[]}
69
- 2012/05/25 20:33:10 org.apache.solr.core.SolrCore initListeners
70
- ���: Added SolrEventListener: org.apache.solr.core.QuerySenderListener{queries=[{q=solr rocks,start=0,rows=10}, {q=static firstSearcher warming query from solrconfig.xml}]}
71
- 2012/05/25 20:33:10 org.apache.solr.request.XSLTResponseWriter init
72
- ���: xsltCacheLifetimeSeconds=5
73
- 2012/05/25 20:33:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
74
- ���: created standard: solr.SearchHandler
75
- 2012/05/25 20:33:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
76
- ���: created dismax: solr.SearchHandler
77
- 2012/05/25 20:33:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
78
- ���: created partitioned: solr.SearchHandler
79
- 2012/05/25 20:33:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
80
- ���: created /spell: solr.SearchHandler
81
- 2012/05/25 20:33:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
82
- ���: created tvrh: org.apache.solr.handler.component.SearchHandler
83
- 2012/05/25 20:33:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
84
- ���: adding lazy requestHandler: org.apache.solr.handler.extraction.ExtractingRequestHandler
85
- 2012/05/25 20:33:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
86
- ���: created /update/extract: org.apache.solr.handler.extraction.ExtractingRequestHandler
87
- 2012/05/25 20:33:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
88
- ���: created /terms: org.apache.solr.handler.component.SearchHandler
89
- 2012/05/25 20:33:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
90
- ���: adding lazy requestHandler: solr.SearchHandler
91
- 2012/05/25 20:33:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
92
- ���: created /elevate: solr.SearchHandler
93
- 2012/05/25 20:33:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
94
- ���: created /update: solr.XmlUpdateRequestHandler
95
- 2012/05/25 20:33:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
96
- ���: created /update/javabin: solr.BinaryUpdateRequestHandler
97
- 2012/05/25 20:33:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
98
- ���: created /analysis/document: solr.DocumentAnalysisRequestHandler
99
- 2012/05/25 20:33:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
100
- ���: created /analysis/field: solr.FieldAnalysisRequestHandler
101
- 2012/05/25 20:33:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
102
- ���: adding lazy requestHandler: solr.CSVRequestHandler
103
- 2012/05/25 20:33:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
104
- ���: created /update/csv: solr.CSVRequestHandler
105
- 2012/05/25 20:33:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
106
- ���: created /admin/: org.apache.solr.handler.admin.AdminHandlers
107
- 2012/05/25 20:33:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
108
- ���: created /admin/ping: PingRequestHandler
109
- 2012/05/25 20:33:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
110
- ���: created /debug/dump: solr.DumpRequestHandler
111
- 2012/05/25 20:33:10 org.apache.solr.core.RequestHandlers initHandlersFromConfig
112
- ���: created /mlt: solr.MoreLikeThisHandler
113
- 2012/05/25 20:33:10 org.apache.solr.search.SolrIndexSearcher <init>
114
- ���: Opening Searcher@1e4bb369 main
115
- 2012/05/25 20:33:10 org.apache.solr.update.DirectUpdateHandler2$CommitTracker <init>
116
- ���: AutoCommit: disabled
117
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SpellCheckComponent inform
118
- ���: Initializing spell checkers
119
- 2012/05/25 20:33:10 org.apache.solr.spelling.AbstractLuceneSpellChecker init
120
- ���: Using WhitespaceAnalzyer for dictionary: default
121
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SpellCheckComponent inform
122
- �x��: No queryConverter defined, using default converter
123
- 2012/05/25 20:33:10 org.apache.solr.handler.component.QueryElevationComponent inform
124
- ���: Loading QueryElevation from: /Users/kosuke/enju_question/spec/dummy/solr/conf/elevate.xml
125
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
126
- ���: Adding component:org.apache.solr.handler.component.QueryComponent@3ddcc4cd
127
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
128
- ���: Adding component:org.apache.solr.handler.component.FacetComponent@68fc8e75
129
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
130
- ���: Adding component:org.apache.solr.handler.component.MoreLikeThisComponent@1cecd92c
131
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
132
- ���: Adding component:org.apache.solr.handler.component.HighlightComponent@1a5e68a
133
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
134
- ���: Adding component:org.apache.solr.handler.component.StatsComponent@32c26ede
135
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
136
- ���: Adding debug component:org.apache.solr.handler.component.DebugComponent@7afccada
137
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
138
- ���: Adding component:org.apache.solr.handler.component.QueryComponent@3ddcc4cd
139
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
140
- ���: Adding component:org.apache.solr.handler.component.FacetComponent@68fc8e75
141
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
142
- ���: Adding component:org.apache.solr.handler.component.MoreLikeThisComponent@1cecd92c
143
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
144
- ���: Adding component:org.apache.solr.handler.component.HighlightComponent@1a5e68a
145
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
146
- ���: Adding component:org.apache.solr.handler.component.StatsComponent@32c26ede
147
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
148
- ���: Adding debug component:org.apache.solr.handler.component.DebugComponent@7afccada
149
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
150
- ���: Adding component:org.apache.solr.handler.component.QueryComponent@3ddcc4cd
151
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
152
- ���: Adding component:org.apache.solr.handler.component.FacetComponent@68fc8e75
153
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
154
- ���: Adding component:org.apache.solr.handler.component.MoreLikeThisComponent@1cecd92c
155
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
156
- ���: Adding component:org.apache.solr.handler.component.HighlightComponent@1a5e68a
157
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
158
- ���: Adding component:org.apache.solr.handler.component.StatsComponent@32c26ede
159
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
160
- ���: Adding debug component:org.apache.solr.handler.component.DebugComponent@7afccada
161
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
162
- ���: Adding component:org.apache.solr.handler.component.QueryComponent@3ddcc4cd
163
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
164
- ���: Adding component:org.apache.solr.handler.component.FacetComponent@68fc8e75
165
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
166
- ���: Adding component:org.apache.solr.handler.component.MoreLikeThisComponent@1cecd92c
167
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
168
- ���: Adding component:org.apache.solr.handler.component.HighlightComponent@1a5e68a
169
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
170
- ���: Adding component:org.apache.solr.handler.component.StatsComponent@32c26ede
171
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
172
- ���: Adding component:org.apache.solr.handler.component.SpellCheckComponent@6a69ed4a
173
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
174
- ���: Adding debug component:org.apache.solr.handler.component.DebugComponent@7afccada
175
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
176
- ���: Adding component:org.apache.solr.handler.component.QueryComponent@3ddcc4cd
177
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
178
- ���: Adding component:org.apache.solr.handler.component.FacetComponent@68fc8e75
179
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
180
- ���: Adding component:org.apache.solr.handler.component.MoreLikeThisComponent@1cecd92c
181
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
182
- ���: Adding component:org.apache.solr.handler.component.HighlightComponent@1a5e68a
183
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
184
- ���: Adding component:org.apache.solr.handler.component.StatsComponent@32c26ede
185
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
186
- ���: Adding component:org.apache.solr.handler.component.TermVectorComponent@5059cbda
187
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
188
- ���: Adding debug component:org.apache.solr.handler.component.DebugComponent@7afccada
189
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SearchHandler inform
190
- ���: Adding component:org.apache.solr.handler.component.TermsComponent@37567e6c
191
- 2012/05/25 20:33:10 org.apache.solr.core.QuerySenderListener newSearcher
192
- ���: QuerySenderListener sending requests to Searcher@1e4bb369 main
193
- 2012/05/25 20:33:10 org.apache.solr.core.CoreContainer register
194
- ���: registering core:
195
- 2012/05/25 20:33:10 org.apache.solr.servlet.SolrDispatchFilter init
196
- ���: user.dir=/Users/kosuke/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/sunspot_solr-1.3.2/solr
197
- 2012/05/25 20:33:10 org.apache.solr.servlet.SolrDispatchFilter init
198
- ���: SolrDispatchFilter.init() done
199
- 2012/05/25 20:33:10 org.apache.solr.core.SolrCore execute
200
- ���: [] webapp=null path=null params={start=0&event=firstSearcher&q=solr+rocks&rows=10} hits=0 status=0 QTime=26
201
- 2012/05/25 20:33:10 org.apache.solr.core.SolrCore execute
202
- ���: [] webapp=null path=null params={event=firstSearcher&q=static+firstSearcher+warming+query+from+solrconfig.xml} hits=0 status=0 QTime=0
203
- 2012/05/25 20:33:10 org.apache.solr.core.QuerySenderListener newSearcher
204
- ���: QuerySenderListener done.
205
- 2012/05/25 20:33:10 org.apache.solr.handler.component.SpellCheckComponent$SpellCheckerListener newSearcher
206
- ���: Loading spell index for spellchecker: default
207
- 2012/05/25 20:33:10 org.apache.solr.core.SolrCore registerSearcher
208
- ���: [] Registered new searcher Searcher@1e4bb369 main
209
- 2012/05/25 20:33:10 org.apache.solr.servlet.SolrServlet init
210
- ���: SolrServlet.init()
211
- 2012/05/25 20:33:10 org.apache.solr.core.SolrResourceLoader locateSolrHome
212
- ���: JNDI not configured for solr (NoInitialContextEx)
213
- 2012/05/25 20:33:10 org.apache.solr.core.SolrResourceLoader locateSolrHome
214
- ���: using system property solr.solr.home: /Users/kosuke/enju_question/spec/dummy/solr
215
- 2012/05/25 20:33:10 org.apache.solr.servlet.SolrServlet init
216
- ���: SolrServlet.init() done
217
- 2012/05/25 20:33:10 org.apache.solr.core.SolrResourceLoader locateSolrHome
218
- ���: JNDI not configured for solr (NoInitialContextEx)
219
- 2012/05/25 20:33:10 org.apache.solr.core.SolrResourceLoader locateSolrHome
220
- ���: using system property solr.solr.home: /Users/kosuke/enju_question/spec/dummy/solr
221
- 2012/05/25 20:33:10 org.apache.solr.servlet.SolrUpdateServlet init
222
- ���: SolrUpdateServlet.init() done