muck-services 0.1.10 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. data/VERSION +1 -1
  2. data/app/controllers/muck/recommendations_controller.rb +21 -6
  3. data/app/models/entry.rb +7 -10
  4. data/app/views/recommendations/get_button.html.erb +5 -0
  5. data/app/views/recommendations/index.pjs.erb +1 -1
  6. data/app/views/recommendations/index.xml.builder +4 -6
  7. data/app/views/recommendations/real_time.html.erb +13 -0
  8. data/app/views/recommendations/{index_real_time.pjs.erb → real_time.pjs.erb} +0 -0
  9. data/app/views/recommendations/{index_real_time.xml.builder → real_time.xml.builder} +1 -1
  10. data/config/muck_services_routes.rb +3 -0
  11. data/locales/en.yml +2 -1
  12. data/muck-services.gemspec +8 -52
  13. data/public/images/folksemantic/logo-folksemantic-gm.gif +0 -0
  14. data/public/javascripts/recommenderextension.user.js +392 -0
  15. data/test/rails_root/config/environment.rb +7 -6
  16. data/test/rails_root/config/environments/test.rb +0 -10
  17. data/test/rails_root/db/migrate/20090602191243_create_muck_raker.rb +4 -19
  18. data/test/rails_root/db/migrate/20090703175825_denormalize_entries_subjects.rb +3 -29
  19. data/test/rails_root/db/migrate/20090717175825_normalize_entries_subjects.rb +3 -32
  20. data/test/rails_root/test/factories.rb +0 -145
  21. data/test/rails_root/test/functional/topics_controller_test.rb +4 -0
  22. data/test/rails_root/test/test_helper.rb +5 -40
  23. data/test/rails_root/test/unit/share_test.rb +3 -0
  24. data/test/rails_root/test/unit/user_test.rb +3 -0
  25. metadata +8 -52
  26. data/app/views/recommendations/index_js.pjs.erb +0 -39
  27. data/config/solr/README.txt +0 -0
  28. data/config/solr/cores/de/conf/protwords.txt +0 -21
  29. data/config/solr/cores/de/conf/schema.xml +0 -81
  30. data/config/solr/cores/de/conf/solrconfig.xml +0 -311
  31. data/config/solr/cores/de/conf/stopwords.txt +0 -341
  32. data/config/solr/cores/de/conf/synonyms.txt +0 -31
  33. data/config/solr/cores/en/conf/protwords.txt +0 -21
  34. data/config/solr/cores/en/conf/schema.xml +0 -83
  35. data/config/solr/cores/en/conf/solrconfig.xml +0 -311
  36. data/config/solr/cores/en/conf/stopwords.txt +0 -341
  37. data/config/solr/cores/en/conf/synonyms.txt +0 -31
  38. data/config/solr/cores/es/conf/protwords.txt +0 -21
  39. data/config/solr/cores/es/conf/schema.xml +0 -81
  40. data/config/solr/cores/es/conf/solrconfig.xml +0 -311
  41. data/config/solr/cores/es/conf/stopwords.txt +0 -206
  42. data/config/solr/cores/es/conf/synonyms.txt +0 -31
  43. data/config/solr/cores/fr/conf/protwords.txt +0 -21
  44. data/config/solr/cores/fr/conf/schema.xml +0 -82
  45. data/config/solr/cores/fr/conf/solrconfig.xml +0 -311
  46. data/config/solr/cores/fr/conf/stopwords.txt +0 -57
  47. data/config/solr/cores/fr/conf/synonyms.txt +0 -31
  48. data/config/solr/cores/ja/conf/protwords.txt +0 -21
  49. data/config/solr/cores/ja/conf/schema.xml +0 -69
  50. data/config/solr/cores/ja/conf/solrconfig.xml +0 -311
  51. data/config/solr/cores/ja/conf/stopwords.txt +0 -341
  52. data/config/solr/cores/ja/conf/synonyms.txt +0 -31
  53. data/config/solr/cores/nl/conf/protwords.txt +0 -21
  54. data/config/solr/cores/nl/conf/schema.xml +0 -78
  55. data/config/solr/cores/nl/conf/solrconfig.xml +0 -311
  56. data/config/solr/cores/nl/conf/stopwords.txt +0 -45691
  57. data/config/solr/cores/nl/conf/synonyms.txt +0 -31
  58. data/config/solr/cores/ru/conf/protwords.txt +0 -21
  59. data/config/solr/cores/ru/conf/schema.xml +0 -78
  60. data/config/solr/cores/ru/conf/solrconfig.xml +0 -311
  61. data/config/solr/cores/ru/conf/stopwords.txt +0 -341
  62. data/config/solr/cores/ru/conf/synonyms.txt +0 -31
  63. data/config/solr/cores/zh/conf/protwords.txt +0 -21
  64. data/config/solr/cores/zh/conf/schema.xml +0 -72
  65. data/config/solr/cores/zh/conf/solrconfig.xml +0 -311
  66. data/config/solr/cores/zh/conf/stopwords.txt +0 -341
  67. data/config/solr/cores/zh/conf/synonyms.txt +0 -31
  68. data/config/solr/solr.xml +0 -50
  69. data/test/rails_root/test/shoulda_macros/controller.rb +0 -49
  70. data/test/rails_root/test/shoulda_macros/forms.rb +0 -32
  71. data/test/rails_root/test/shoulda_macros/models.rb +0 -50
  72. data/test/rails_root/test/shoulda_macros/pagination.rb +0 -53
  73. data/test/rails_root/test/shoulda_macros/plugins.rb +0 -34
@@ -1,31 +0,0 @@
1
- # The ASF licenses this file to You under the Apache License, Version 2.0
2
- # (the "License"); you may not use this file except in compliance with
3
- # the License. You may obtain a copy of the License at
4
- #
5
- # http://www.apache.org/licenses/LICENSE-2.0
6
- #
7
- # Unless required by applicable law or agreed to in writing, software
8
- # distributed under the License is distributed on an "AS IS" BASIS,
9
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
- # See the License for the specific language governing permissions and
11
- # limitations under the License.
12
-
13
- #-----------------------------------------------------------------------
14
- #some test synonym mappings unlikely to appear in real input text
15
- aaa => aaaa
16
- bbb => bbbb1 bbbb2
17
- ccc => cccc1,cccc2
18
- a\=>a => b\=>b
19
- a\,a => b\,b
20
- fooaaa,baraaa,bazaaa
21
-
22
- # Some synonym groups specific to this example
23
- GB,gib,gigabyte,gigabytes
24
- MB,mib,megabyte,megabytes
25
- Television, Televisions, TV, TVs
26
- #notice we use "gib" instead of "GiB" so any WordDelimiterFilter coming
27
- #after us won't split it into two words.
28
-
29
- # Synonym mappings can be used for spelling correction too
30
- pixima => pixma
31
-
@@ -1,21 +0,0 @@
1
- # The ASF licenses this file to You under the Apache License, Version 2.0
2
- # (the "License"); you may not use this file except in compliance with
3
- # the License. You may obtain a copy of the License at
4
- #
5
- # http://www.apache.org/licenses/LICENSE-2.0
6
- #
7
- # Unless required by applicable law or agreed to in writing, software
8
- # distributed under the License is distributed on an "AS IS" BASIS,
9
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
- # See the License for the specific language governing permissions and
11
- # limitations under the License.
12
-
13
- #-----------------------------------------------------------------------
14
- # Use a protected word file to protect against the stemmer reducing two
15
- # unrelated words to the same base word.
16
-
17
- # Some non-words that normally won't be encountered,
18
- # just to test that they won't be stemmed.
19
- dontstems
20
- zwhacky
21
-
@@ -1,81 +0,0 @@
1
- <?xml version="1.0" ?>
2
- <!--
3
- Licensed to the Apache Software Foundation (ASF) under one or more
4
- contributor license agreements. See the NOTICE file distributed with
5
- this work for additional information regarding copyright ownership.
6
- The ASF licenses this file to You under the Apache License, Version 2.0
7
- (the "License"); you may not use this file except in compliance with
8
- the License. You may obtain a copy of the License at
9
-
10
- http://www.apache.org/licenses/LICENSE-2.0
11
-
12
- Unless required by applicable law or agreed to in writing, software
13
- distributed under the License is distributed on an "AS IS" BASIS,
14
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- See the License for the specific language governing permissions and
16
- limitations under the License.
17
- -->
18
-
19
- <schema name="es" version="1.1">
20
- <types>
21
- <fieldtype name="string" class="solr.StrField" sortMissingLast="true" omitNorms="true"/>
22
- <fieldType name="integer" class="solr.IntField" omitNorms="false"/>
23
- <fieldType name="text" class="solr.TextField" positionIncrementGap="100">
24
- <analyzer type="index">
25
- <tokenizer class="solr.HTMLStripWhitespaceTokenizerFactory"/>
26
- <filter class="solr.ISOLatin1AccentFilterFactory"/>
27
- <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/>
28
- <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0"/>
29
- <filter class="solr.LowerCaseFilterFactory"/>
30
- <filter class="edu.usu.cosl.analysis.es.SpanishPorterFilterFactory" protected="protwords.txt"/>
31
- </analyzer>
32
- <analyzer type="query">
33
- <tokenizer class="solr.WhitespaceTokenizerFactory"/>
34
- <filter class="solr.ISOLatin1AccentFilterFactory"/>
35
- <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
36
- <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/>
37
- <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0"/>
38
- <filter class="solr.LowerCaseFilterFactory"/>
39
- <filter class="edu.usu.cosl.analysis.es.SpanishPorterFilterFactory" protected="protwords.txt"/>
40
- <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
41
- </analyzer>
42
- </fieldType>
43
- <fieldType name="tag" class="solr.TextField" positionIncrementGap="100">
44
- <analyzer type="index">
45
- <tokenizer class="solr.HTMLStripWhitespaceTokenizerFactory"/>
46
- <filter class="solr.ISOLatin1AccentFilterFactory"/>
47
- <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/>
48
- <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0"/>
49
- <filter class="solr.LowerCaseFilterFactory"/>
50
- </analyzer>
51
- </fieldType>
52
- </types>
53
-
54
- <fields>
55
- <!-- general -->
56
- <field name="id" type="string" indexed="true" stored="true" multiValued="false" required="true"/>
57
-
58
- <field name="pk_i" type="integer" indexed="true" stored="true"/>
59
- <field name="pk_s" type="string" indexed="true" stored="true"/>
60
- <field name="text" type="text" indexed="true" stored="true" termVectors="true" multiValued="true"/>
61
- <field name="tag" type="tag" indexed="true" stored="true" termVectors="true" multiValued="true"/>
62
- <dynamicField name="*_i" type="integer" indexed="true" stored="false"/>
63
- <dynamicField name="*_t" type="text" indexed="true" stored="true"/>
64
- <dynamicField name="*_s" type="string" indexed="true" stored="true"/>
65
- <dynamicField name="*_facet" type="string" indexed="true" stored="false"/>
66
- <dynamicField name="*_s_mv" type="string" indexed="true" stored="false" multiValued="true"/>
67
- </fields>
68
-
69
- <!-- field to use to determine and enforce document uniqueness. -->
70
- <uniqueKey>id</uniqueKey>
71
-
72
- <copyField source="*_t" dest="text"/>
73
- <copyField source="*_facet" dest="text"/>
74
-
75
- <!-- field for the QueryParser to use when an explicit fieldname is absent -->
76
- <defaultSearchField>text</defaultSearchField>
77
-
78
- <!-- SolrQueryParser configuration: defaultOperator="AND|OR" -->
79
- <solrQueryParser defaultOperator="OR"/>
80
- </schema>
81
-
@@ -1,311 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" ?>
2
- <!--
3
- Licensed to the Apache Software Foundation (ASF) under one or more
4
- contributor license agreements. See the NOTICE file distributed with
5
- this work for additional information regarding copyright ownership.
6
- The ASF licenses this file to You under the Apache License, Version 2.0
7
- (the "License"); you may not use this file except in compliance with
8
- the License. You may obtain a copy of the License at
9
-
10
- http://www.apache.org/licenses/LICENSE-2.0
11
-
12
- Unless required by applicable law or agreed to in writing, software
13
- distributed under the License is distributed on an "AS IS" BASIS,
14
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- See the License for the specific language governing permissions and
16
- limitations under the License.
17
- -->
18
-
19
- <config>
20
- <!-- Set this to 'false' if you want solr to continue working after it has
21
- encountered an severe configuration error. In a production environment,
22
- you may want solr to keep working even if one handler is mis-configured.
23
-
24
- You may also set this to false using by setting the system property:
25
- -Dsolr.abortOnConfigurationError=false
26
- -->
27
- <abortOnConfigurationError>${solr.abortOnConfigurationError:true}</abortOnConfigurationError>
28
-
29
- <!-- Used to specify an alternate directory to hold all index data
30
- other than the default ./data under the Solr home.
31
- If replication is in use, this should match the replication configuration. -->
32
- <dataDir>${solr.data.dir:../../../../../solr_indexes}/es</dataDir>
33
-
34
- <!-- Values here affect all index writers and act as a default unless overridden. -->
35
- <indexDefaults>
36
- <useCompoundFile>false</useCompoundFile>
37
- <mergeFactor>10</mergeFactor>
38
- <maxBufferedDocs>1000</maxBufferedDocs>
39
- <maxMergeDocs>2147483647</maxMergeDocs>
40
- <maxFieldLength>10000</maxFieldLength>
41
- <writeLockTimeout>1000</writeLockTimeout>
42
- <commitLockTimeout>10000</commitLockTimeout>
43
- </indexDefaults>
44
- <!-- options specific to the main on-disk lucene index -->
45
- <!--
46
- <mainIndex>
47
- <useCompoundFile>false</useCompoundFile>
48
- <mergeFactor>10</mergeFactor>
49
- <maxBufferedDocs>1000</maxBufferedDocs>
50
- <maxMergeDocs>2147483647</maxMergeDocs>
51
- <maxFieldLength>10000</maxFieldLength>
52
-
53
- <unlockOnStartup>false</unlockOnStartup>
54
- </mainIndex>
55
- -->
56
- <!-- If true, unlock any held write or commit locks on startup.
57
- This defeats the locking mechanism that allows multiple
58
- processes to safely access a lucene index, and should be
59
- used with care. -->
60
-
61
- <!-- the default high-performance update handler -->
62
-
63
- <updateHandler class="solr.DirectUpdateHandler2">
64
-
65
- <!-- A prefix of "solr." for class names is an alias that
66
- causes solr to search appropriate packages, including
67
- org.apache.solr.(search|update|request|core|analysis)
68
- -->
69
-
70
- <!-- autocommit pending docs if certain criteria are met
71
- <autoCommit>
72
- <maxDocs>10000</maxDocs>
73
- <maxTime>1000</maxTime>
74
- </autoCommit>
75
- -->
76
-
77
- <!-- The RunExecutableListener executes an external command.
78
- exe - the name of the executable to run
79
- dir - dir to use as the current working directory. default="."
80
- wait - the calling thread waits until the executable returns. default="true"
81
- args - the arguments to pass to the program. default=nothing
82
- env - environment variables to set. default=nothing
83
- -->
84
- <!-- A postCommit event is fired after every commit or optimize command
85
- <listener event="postCommit" class="solr.RunExecutableListener">
86
- <str name="exe">snapshooter</str>
87
- <str name="dir">solr/bin</str>
88
- <bool name="wait">true</bool>
89
- <arr name="args"> <str>arg1</str> <str>arg2</str> </arr>
90
- <arr name="env"> <str>MYVAR=val1</str> </arr>
91
- </listener>
92
- -->
93
- <!-- A postOptimize event is fired only after every optimize command, useful
94
- in conjunction with index distribution to only distribute optimized indicies
95
- <listener event="postOptimize" class="solr.RunExecutableListener">
96
- <str name="exe">snapshooter</str>
97
- <str name="dir">solr/bin</str>
98
- <bool name="wait">true</bool>
99
- </listener>
100
- -->
101
-
102
- </updateHandler>
103
-
104
-
105
- <query>
106
- <!-- Maximum number of clauses in a boolean query... can affect
107
- range or prefix queries that expand to big boolean
108
- queries. An exception is thrown if exceeded. -->
109
- <maxBooleanClauses>1024</maxBooleanClauses>
110
-
111
-
112
- <!-- Cache used by SolrIndexSearcher for filters (DocSets),
113
- unordered sets of *all* documents that match a query.
114
- When a new searcher is opened, its caches may be prepopulated
115
- or "autowarmed" using data from caches in the old searcher.
116
- autowarmCount is the number of items to prepopulate. For LRUCache,
117
- the autowarmed items will be the most recently accessed items.
118
- Parameters:
119
- class - the SolrCache implementation (currently only LRUCache)
120
- size - the maximum number of entries in the cache
121
- initialSize - the initial capacity (number of entries) of
122
- the cache. (seel java.util.HashMap)
123
- autowarmCount - the number of entries to prepopulate from
124
- and old cache.
125
- -->
126
- <filterCache
127
- class="solr.LRUCache"
128
- size="512"
129
- initialSize="512"
130
- autowarmCount="256"/>
131
-
132
- <!-- queryResultCache caches results of searches - ordered lists of
133
- document ids (DocList) based on a query, a sort, and the range
134
- of documents requested. -->
135
- <queryResultCache
136
- class="solr.LRUCache"
137
- size="512"
138
- initialSize="512"
139
- autowarmCount="256"/>
140
-
141
- <!-- documentCache caches Lucene Document objects (the stored fields for each document).
142
- Since Lucene internal document ids are transient, this cache will not be autowarmed. -->
143
- <documentCache
144
- class="solr.LRUCache"
145
- size="512"
146
- initialSize="512"
147
- autowarmCount="0"/>
148
-
149
- <!-- If true, stored fields that are not requested will be loaded lazily.
150
-
151
- This can result in a significant speed improvement if the usual case is to
152
- not load all stored fields, especially if the skipped fields are large compressed
153
- text fields.
154
- -->
155
- <enableLazyFieldLoading>true</enableLazyFieldLoading>
156
-
157
- <!-- Example of a generic cache. These caches may be accessed by name
158
- through SolrIndexSearcher.getCache(),cacheLookup(), and cacheInsert().
159
- The purpose is to enable easy caching of user/application level data.
160
- The regenerator argument should be specified as an implementation
161
- of solr.search.CacheRegenerator if autowarming is desired. -->
162
- <!--
163
- <cache name="myUserCache"
164
- class="solr.LRUCache"
165
- size="4096"
166
- initialSize="1024"
167
- autowarmCount="1024"
168
- regenerator="org.mycompany.mypackage.MyRegenerator"
169
- />
170
- -->
171
-
172
- <!-- An optimization that attempts to use a filter to satisfy a search.
173
- If the requested sort does not include score, then the filterCache
174
- will be checked for a filter matching the query. If found, the filter
175
- will be used as the source of document ids, and then the sort will be
176
- applied to that.
177
- <useFilterForSortedQuery>true</useFilterForSortedQuery>
178
- -->
179
-
180
- <!-- An optimization for use with the queryResultCache. When a search
181
- is requested, a superset of the requested number of document ids
182
- are collected. For example, if a search for a particular query
183
- requests matching documents 10 through 19, and queryWindowSize is 50,
184
- then documents 0 through 50 will be collected and cached. Any further
185
- requests in that range can be satisfied via the cache. -->
186
- <queryResultWindowSize>10</queryResultWindowSize>
187
-
188
- <!-- This entry enables an int hash representation for filters (DocSets)
189
- when the number of items in the set is less than maxSize. For smaller
190
- sets, this representation is more memory efficient, more efficient to
191
- iterate over, and faster to take intersections. -->
192
- <HashDocSet maxSize="3000" loadFactor="0.75"/>
193
-
194
-
195
- <!-- boolToFilterOptimizer converts boolean clauses with zero boost
196
- into cached filters if the number of docs selected by the clause exceeds
197
- the threshold (represented as a fraction of the total index) -->
198
- <boolTofilterOptimizer enabled="true" cacheSize="32" threshold=".05"/>
199
-
200
-
201
- <!-- a newSearcher event is fired whenever a new searcher is being prepared
202
- and there is a current searcher handling requests (aka registered). -->
203
- <!-- QuerySenderListener takes an array of NamedList and executes a
204
- local query request for each NamedList in sequence. -->
205
- <!--
206
- <listener event="newSearcher" class="solr.QuerySenderListener">
207
- <arr name="queries">
208
- <lst> <str name="q">solr</str> <str name="start">0</str> <str name="rows">10</str> </lst>
209
- <lst> <str name="q">rocks</str> <str name="start">0</str> <str name="rows">10</str> </lst>
210
- </arr>
211
- </listener>
212
- -->
213
-
214
- <!-- a firstSearcher event is fired whenever a new searcher is being
215
- prepared but there is no current registered searcher to handle
216
- requests or to gain autowarming data from. -->
217
- <!--
218
- <listener event="firstSearcher" class="solr.QuerySenderListener">
219
- <arr name="queries">
220
- <lst> <str name="q">fast_warm</str> <str name="start">0</str> <str name="rows">10</str> </lst>
221
- </arr>
222
- </listener>
223
- -->
224
-
225
- <!-- If a search request comes in and there is no current registered searcher,
226
- then immediately register the still warming searcher and use it. If
227
- "false" then all requests will block until the first searcher is done
228
- warming. -->
229
- <useColdSearcher>false</useColdSearcher>
230
-
231
- <!-- Maximum number of searchers that may be warming in the background
232
- concurrently. An error is returned if this limit is exceeded. Recommend
233
- 1-2 for read-only slaves, higher for masters w/o cache warming. -->
234
- <maxWarmingSearchers>4</maxWarmingSearchers>
235
-
236
- </query>
237
-
238
- <!--
239
- Let the dispatch filter handler /select?qt=XXX
240
- handleSelect=true will use consistent error handling for /select and /update
241
- handleSelect=false will use solr1.1 style error formatting
242
- -->
243
- <requestDispatcher handleSelect="true" >
244
- <!--Make sure your system has some authentication before enabling remote streaming! -->
245
- <requestParsers enableRemoteStreaming="true" multipartUploadLimitInKB="2048" />
246
- </requestDispatcher>
247
-
248
-
249
- <!-- requestHandler plugins... incoming queries will be dispatched to the
250
- correct handler based on the qt (query type) param matching the
251
- name of registered handlers.
252
- The "standard" request handler is the default and will be used if qt
253
- is not specified in the request.
254
- -->
255
- <requestHandler name="standard" class="solr.StandardRequestHandler" default="true">
256
- <!-- default values for query parameters -->
257
- <lst name="defaults">
258
- <str name="echoParams">explicit</str>
259
- <str name="json.nl">map</str>
260
- <!--
261
- <int name="rows">10</int>
262
- <str name="fl">*</str>
263
- <str name="version">2.1</str>
264
- -->
265
- </lst>
266
- </requestHandler>
267
-
268
- <requestHandler name="mlt" class="solr.MoreLikeThisHandler">
269
- <lst name="defaults">
270
- <str name="mlt.fl">text</str>
271
- <int name="mlt.mindf">1</int>
272
- </lst>
273
- </requestHandler>
274
-
275
- <!-- Note how you can register the same handler multiple times with
276
- different names (and different init parameters)
277
- -->
278
- <!-- Update request handler.
279
-
280
- Note: Since solr1.1 requestHandlers requires a valid content type header if posted in
281
- the body. For example, curl now requires: -H 'Content-type:text/xml; charset=utf-8'
282
- The response format differs from solr1.1 formatting and returns a standard error code.
283
-
284
- To enable solr1.1 behavior, remove the /update handler or change its path
285
- -->
286
- <requestHandler name="/update" class="solr.XmlUpdateRequestHandler" />
287
-
288
- <!-- queryResponseWriter plugins... query responses will be written using the
289
- writer specified by the 'wt' request parameter matching the name of a registered
290
- writer.
291
- The "standard" writer is the default and will be used if 'wt' is not specified
292
- in the request. XMLResponseWriter will be used if nothing is specified here.
293
- The json, python, and ruby writers are also available by default.
294
-
295
- <queryResponseWriter name="standard" class="org.apache.solr.request.XMLResponseWriter"/>
296
- <queryResponseWriter name="json" class="org.apache.solr.request.JSONResponseWriter"/>
297
- <queryResponseWriter name="python" class="org.apache.solr.request.PythonResponseWriter"/>
298
- <queryResponseWriter name="ruby" class="org.apache.solr.request.RubyResponseWriter"/>
299
-
300
- <queryResponseWriter name="custom" class="com.example.MyResponseWriter"/>
301
- -->
302
-
303
- <!-- XSLT response writer transforms the XML output by any xslt file found
304
- in Solr's conf/xslt directory. Changes to xslt files are checked for
305
- every xsltCacheLifetimeSeconds.
306
- -->
307
- <queryResponseWriter name="xslt" class="org.apache.solr.request.XSLTResponseWriter">
308
- <int name="xsltCacheLifetimeSeconds">5</int>
309
- </queryResponseWriter>
310
-
311
- </config>
@@ -1,206 +0,0 @@
1
- # Licensed to the Apache Software Foundation (ASF) under one or more
2
- # contributor license agreements. See the NOTICE file distributed with
3
- # this work for additional information regarding copyright ownership.
4
- # The ASF licenses this file to You under the Apache License, Version 2.0
5
- # (the "License"); you may not use this file except in compliance with
6
- # the License. You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
-
16
- #-----------------------------------------------------------------------
17
- # a couple of test stopwords to test that the words are really being
18
- # configured from this file:
19
- stopworda
20
- stopwordb
21
-
22
- #Spanish stop words list found on the internet
23
- un
24
- una
25
- unas
26
- unos
27
- uno
28
- sobre
29
- todo
30
- tambien
31
- tras
32
- otro
33
- algun
34
- alguno
35
- alguna
36
- algunos
37
- algunas
38
- ser
39
- es
40
- soy
41
- eres
42
- somos
43
- sois
44
- estoy
45
- esta
46
- estamos
47
- estais
48
- estan
49
- en
50
- para
51
- atras
52
- porque
53
- por que
54
- estado
55
- estaba
56
- ante
57
- antes
58
- siendo
59
- ambos
60
- pero
61
- por
62
- poder
63
- puede
64
- puedo
65
- podemos
66
- podeis
67
- pueden
68
- fui
69
- fue
70
- fuimos
71
- fueron
72
- hacer
73
- hago
74
- hace
75
- hacemos
76
- haceis
77
- hacen
78
- cada
79
- fin
80
- incluso
81
- primero
82
- desde
83
- conseguir
84
- consigo
85
- consigue
86
- consigues
87
- conseguimos
88
- consiguen
89
- ir
90
- voy
91
- va
92
- vamos
93
- vais
94
- van
95
- vaya
96
- bueno
97
- ha
98
- tener
99
- tengo
100
- tiene
101
- tenemos
102
- teneis
103
- tienen
104
- el
105
- la
106
- lo
107
- las
108
- los
109
- su
110
- aqui
111
- mio
112
- tuyo
113
- ellos
114
- ellas
115
- nos
116
- nosotros
117
- vosotros
118
- vosotras
119
- si
120
- dentro
121
- solo
122
- solamente
123
- saber
124
- sabes
125
- sabe
126
- sabemos
127
- sabeis
128
- saben
129
- ultimo
130
- largo
131
- bastante
132
- haces
133
- muchos
134
- aquellos
135
- aquellas
136
- sus
137
- entonces
138
- tiempo
139
- verdad
140
- verdadero
141
- verdadera
142
- cierto
143
- ciertos
144
- cierta
145
- ciertas
146
- intentar
147
- intento
148
- intenta
149
- intentas
150
- intentamos
151
- intentais
152
- intentan
153
- dos
154
- bajo
155
- arriba
156
- encima
157
- usar
158
- uso
159
- usas
160
- usa
161
- usamos
162
- usais
163
- usan
164
- emplear
165
- empleo
166
- empleas
167
- emplean
168
- ampleamos
169
- empleais
170
- valor
171
- muy
172
- era
173
- eras
174
- eramos
175
- eran
176
- modo
177
- bien
178
- cual
179
- cuando
180
- donde
181
- mientras
182
- quien
183
- con
184
- entre
185
- sin
186
- trabajo
187
- trabajar
188
- trabajas
189
- trabaja
190
- trabajamos
191
- trabajais
192
- trabajan
193
- podria
194
- podrias
195
- podriamos
196
- podrian
197
- podriais
198
- yo
199
- aquel
200
- mi
201
- de
202
- a
203
- e
204
- i
205
- o
206
- u