rer.solrpush 1.3.4__py3-none-any.whl

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 (116) hide show
  1. rer/solrpush/__init__.py +7 -0
  2. rer/solrpush/adapters/__init__.py +1 -0
  3. rer/solrpush/adapters/configure.zcml +13 -0
  4. rer/solrpush/adapters/file.py +52 -0
  5. rer/solrpush/adapters/rss_feed.py +28 -0
  6. rer/solrpush/behaviors/__init__.py +0 -0
  7. rer/solrpush/behaviors/configure.zcml +16 -0
  8. rer/solrpush/behaviors/solr_fields.py +41 -0
  9. rer/solrpush/browser/__init__.py +0 -0
  10. rer/solrpush/browser/configure.zcml +111 -0
  11. rer/solrpush/browser/controlpanel.py +96 -0
  12. rer/solrpush/browser/elevate_settings.py +35 -0
  13. rer/solrpush/browser/maintenance.py +476 -0
  14. rer/solrpush/browser/query_debug.py +12 -0
  15. rer/solrpush/browser/querybuilder.py +168 -0
  16. rer/solrpush/browser/scales.py +80 -0
  17. rer/solrpush/browser/static/.gitkeep +0 -0
  18. rer/solrpush/browser/static/dist/dev/main.js +58240 -0
  19. rer/solrpush/browser/static/dist/dev/main.js.map +180 -0
  20. rer/solrpush/browser/static/dist/prod/main.js +9604 -0
  21. rer/solrpush/browser/static/dist/prod/main.js.map +1 -0
  22. rer/solrpush/browser/static/javascripts/FacetsContainer/index.js +46 -0
  23. rer/solrpush/browser/static/javascripts/ProgressBar/index.js +40 -0
  24. rer/solrpush/browser/static/javascripts/ProgressBarContainer/index.js +66 -0
  25. rer/solrpush/browser/static/javascripts/index.js +14 -0
  26. rer/solrpush/browser/static/package.json +13 -0
  27. rer/solrpush/browser/static/styles.css +22 -0
  28. rer/solrpush/browser/static/styles.css.map +1 -0
  29. rer/solrpush/browser/static/styles.scss +27 -0
  30. rer/solrpush/browser/static/yarn.lock +1408 -0
  31. rer/solrpush/browser/templates/controlpanel_layout.pt +49 -0
  32. rer/solrpush/browser/templates/query_debug.pt +17 -0
  33. rer/solrpush/browser/templates/reindex_solr.pt +35 -0
  34. rer/solrpush/configure.zcml +81 -0
  35. rer/solrpush/indexer.py +120 -0
  36. rer/solrpush/interfaces/__init__.py +8 -0
  37. rer/solrpush/interfaces/adapter.py +13 -0
  38. rer/solrpush/interfaces/elevate.py +98 -0
  39. rer/solrpush/interfaces/layer.py +6 -0
  40. rer/solrpush/interfaces/queueprocessor.py +6 -0
  41. rer/solrpush/interfaces/settings.py +194 -0
  42. rer/solrpush/locales/README.rst +37 -0
  43. rer/solrpush/locales/__init__.py +0 -0
  44. rer/solrpush/locales/en/LC_MESSAGES/rer.solrpush.mo +0 -0
  45. rer/solrpush/locales/en/LC_MESSAGES/rer.solrpush.po +399 -0
  46. rer/solrpush/locales/it/LC_MESSAGES/rer.solrpush.mo +0 -0
  47. rer/solrpush/locales/it/LC_MESSAGES/rer.solrpush.po +399 -0
  48. rer/solrpush/locales/rer.solrpush.pot +402 -0
  49. rer/solrpush/locales/update.py +71 -0
  50. rer/solrpush/locales/update.sh +12 -0
  51. rer/solrpush/parser.py +211 -0
  52. rer/solrpush/permissions.zcml +18 -0
  53. rer/solrpush/profiles/default/actions.xml +21 -0
  54. rer/solrpush/profiles/default/browserlayer.xml +7 -0
  55. rer/solrpush/profiles/default/catalog.xml +4 -0
  56. rer/solrpush/profiles/default/controlpanel.xml +31 -0
  57. rer/solrpush/profiles/default/metadata.xml +8 -0
  58. rer/solrpush/profiles/default/registry/bundle.xml +25 -0
  59. rer/solrpush/profiles/default/registry/criteria.xml +55 -0
  60. rer/solrpush/profiles/default/registry/settings.xml +6 -0
  61. rer/solrpush/profiles/default/rolemap.xml +13 -0
  62. rer/solrpush/profiles/default/types/Document.xml +12 -0
  63. rer/solrpush/profiles/to_1100/componentregistry.xml +9 -0
  64. rer/solrpush/profiles/to_1100/metadata.xml +5 -0
  65. rer/solrpush/profiles/to_1300/controlpanel.xml +13 -0
  66. rer/solrpush/profiles/to_1300/registry.xml +5 -0
  67. rer/solrpush/profiles/uninstall/browserlayer.xml +7 -0
  68. rer/solrpush/profiles/uninstall/controlpanel.xml +21 -0
  69. rer/solrpush/profiles/uninstall/registry.xml +17 -0
  70. rer/solrpush/restapi/__init__.py +0 -0
  71. rer/solrpush/restapi/configure.zcml +8 -0
  72. rer/solrpush/restapi/services/__init__.py +0 -0
  73. rer/solrpush/restapi/services/configure.zcml +8 -0
  74. rer/solrpush/restapi/services/elevate_schema/__init__.py +0 -0
  75. rer/solrpush/restapi/services/elevate_schema/configure.zcml +14 -0
  76. rer/solrpush/restapi/services/elevate_schema/get.py +12 -0
  77. rer/solrpush/restapi/services/solr_search/__init__.py +0 -0
  78. rer/solrpush/restapi/services/solr_search/batch.py +129 -0
  79. rer/solrpush/restapi/services/solr_search/configure.zcml +14 -0
  80. rer/solrpush/restapi/services/solr_search/get.py +25 -0
  81. rer/solrpush/restapi/services/solr_search/solr_search_handler.py +86 -0
  82. rer/solrpush/setuphandlers.py +20 -0
  83. rer/solrpush/testing.py +161 -0
  84. rer/solrpush/tests/__init__.py +0 -0
  85. rer/solrpush/tests/docs/example.docx +0 -0
  86. rer/solrpush/tests/docs/example.ods +0 -0
  87. rer/solrpush/tests/docs/example.pdf +0 -0
  88. rer/solrpush/tests/docs/plone_logo.png +0 -0
  89. rer/solrpush/tests/test_behaviors.py +61 -0
  90. rer/solrpush/tests/test_elevate.py +124 -0
  91. rer/solrpush/tests/test_events.py +181 -0
  92. rer/solrpush/tests/test_image_tags.py +85 -0
  93. rer/solrpush/tests/test_maintenance.py +165 -0
  94. rer/solrpush/tests/test_querybuilder.py +272 -0
  95. rer/solrpush/tests/test_restapi_search.py +127 -0
  96. rer/solrpush/tests/test_search.py +177 -0
  97. rer/solrpush/tests/test_setup.py +67 -0
  98. rer/solrpush/tests/test_solr_interface.py +359 -0
  99. rer/solrpush/tests/test_tika.py +85 -0
  100. rer/solrpush/tests/test_vocabularies.py +113 -0
  101. rer/solrpush/upgrades.py +76 -0
  102. rer/solrpush/upgrades.zcml +86 -0
  103. rer/solrpush/utils/__init__.py +6 -0
  104. rer/solrpush/utils/solr_common.py +122 -0
  105. rer/solrpush/utils/solr_indexer.py +295 -0
  106. rer/solrpush/utils/solr_search.py +352 -0
  107. rer/solrpush/vocabularies.py +50 -0
  108. rer.solrpush-1.3.4-py3.10-nspkg.pth +1 -0
  109. rer.solrpush-1.3.4.dist-info/LICENSE.GPL +339 -0
  110. rer.solrpush-1.3.4.dist-info/LICENSE.rst +15 -0
  111. rer.solrpush-1.3.4.dist-info/METADATA +507 -0
  112. rer.solrpush-1.3.4.dist-info/RECORD +116 -0
  113. rer.solrpush-1.3.4.dist-info/WHEEL +5 -0
  114. rer.solrpush-1.3.4.dist-info/entry_points.txt +5 -0
  115. rer.solrpush-1.3.4.dist-info/namespace_packages.txt +1 -0
  116. rer.solrpush-1.3.4.dist-info/top_level.txt +1 -0
@@ -0,0 +1,507 @@
1
+ Metadata-Version: 2.1
2
+ Name: rer.solrpush
3
+ Version: 1.3.4
4
+ Summary: Prodotto per Regione Emilia-Romagna relativo all'indicizzazione dei contenuti con solr
5
+ Home-page: https://github.com/collective/rer.solrpush
6
+ Author: RedTurtle
7
+ Author-email: sviluppoplone@redturtle.it
8
+ License: GPL version 2
9
+ Project-URL: PyPI, https://pypi.python.org/pypi/rer.solrpush
10
+ Project-URL: Source, https://github.com/collective/rer.solrpush
11
+ Project-URL: Tracker, https://github.com/collective/rer.solrpush/issues
12
+ Keywords: Python Plone
13
+ Classifier: Environment :: Web Environment
14
+ Classifier: Framework :: Plone
15
+ Classifier: Framework :: Plone :: Addon
16
+ Classifier: Framework :: Plone :: 5.1
17
+ Classifier: Framework :: Plone :: 5.2
18
+ Classifier: Programming Language :: Python
19
+ Classifier: Programming Language :: Python :: 2.7
20
+ Classifier: Programming Language :: Python :: 3.6
21
+ Classifier: Programming Language :: Python :: 3.7
22
+ Classifier: Operating System :: OS Independent
23
+ Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
24
+ Requires-Python: ==2.7
25
+ License-File: LICENSE.GPL
26
+ License-File: LICENSE.rst
27
+ Requires-Dist: setuptools
28
+ Requires-Dist: collective.z3cform.jsonwidget
29
+ Requires-Dist: plone.api >=1.8.4
30
+ Requires-Dist: pysolr
31
+ Requires-Dist: plone.restapi
32
+ Requires-Dist: ftfy ==4.4.3 ; python_version <= "2.7"
33
+ Provides-Extra: test
34
+ Requires-Dist: plone.app.testing ; extra == 'test'
35
+ Requires-Dist: plone.testing >=5.0.0 ; extra == 'test'
36
+ Requires-Dist: plone.app.contenttypes ; extra == 'test'
37
+ Requires-Dist: plone.app.robotframework[debug] ; extra == 'test'
38
+ Requires-Dist: collective.MockMailHost ; extra == 'test'
39
+
40
+ ============
41
+ rer.solrpush
42
+ ============
43
+
44
+ .. image:: https://github.com/RegioneER/rer.solrpush/workflows/Tests/badge.svg
45
+
46
+ Product that allows SOLR indexing/searching of a Plone website.
47
+
48
+ SOLR schema configuration
49
+ =========================
50
+
51
+ This product works with some assumptions and SOLR schema need to have some particular configuration.
52
+
53
+ You can see an example in config folder of this product.
54
+
55
+ By default we mapped all base Plone indexes/metadata into SOLR, plus some additional fields::
56
+
57
+ <field name="searchwords" type="string" indexed="true" stored="true" required="false" multiValued="true" termVectors="false" termPositions="false" termOffsets="false"/>
58
+ <field name="showinsearch" type="boolean" indexed="true" stored="false" required="false" multiValued="false" termVectors="false" termPositions="false" termOffsets="false"/>
59
+ <field name="url" type="string" indexed="false" stored="true" required="false" multiValued="false" termVectors="false" termPositions="false" termOffsets="false"/>
60
+ <field name="site_name" type="string" indexed="true" stored="true" required="false" multiValued="false" termVectors="false" termPositions="false" termOffsets="false"/>
61
+ <field name="path_depth" type="pint" indexed="false" stored="true" required="false" multiValued="false" termVectors="false" termPositions="false" termOffsets="false"/>
62
+ <field name="path_parents" type="string" indexed="true" stored="true" multiValued="true"/>
63
+ <field name="view_name" type="string" indexed="true" stored="true" required="false" multiValued="false" termVectors="false" termPositions="false" termOffsets="false"/>
64
+ <field name="@id" type="string" indexed="false" stored="true" required="false" multiValued="false" termVectors="false" termPositions="false" termOffsets="false"/>
65
+ <field name="@type" type="string" indexed="false" stored="true" required="false" multiValued="false" termVectors="false" termPositions="false" termOffsets="false"/>
66
+ <field name="title" type="text_it" indexed="false" stored="true" required="false" multiValued="false" termVectors="false" termPositions="false" termOffsets="false"/>
67
+
68
+ - `searchwords`, `view_name`, `path_parents`, `path_depth`, `site_name` are needed for query filter and boost (see below)
69
+ - `showinsearch` is needed to allow/disallow single content indexing
70
+ - `url` is an index where we store frontend url
71
+ - `@id`, `@type` and `title` are needed for plone.restapi-like responses
72
+
73
+ plone.restapi related metadata are not indexed from Plone, but they are copied in SOLR::
74
+
75
+ <copyField source="Title" dest="title"/>
76
+ <copyField source="portal_type" dest="@type"/>
77
+ <copyField source="url" dest="@id"/>
78
+
79
+
80
+ Control Panel
81
+ =============
82
+
83
+ - Active: flag to enable/disable SOLR integration
84
+ - Solr URL: SOLR core url
85
+ - Portal types to index in SOLR
86
+ - Public frontend url
87
+
88
+
89
+ Hidden registry fields
90
+ ----------------------
91
+
92
+ There are some "service" registry fields hidden to disallow users to edit them.
93
+
94
+ - ready: a flag that specifies if the product is ready/initialized.
95
+ It basically indicates that schema.xml has been loaded.
96
+ - index_fields: is the list of SOLR fields loaded from schema.xml file.
97
+
98
+
99
+ schema.xml load
100
+ ---------------
101
+
102
+ SOLR fields are directly read from `schema.xml` file exposed by SOLR.
103
+
104
+ This schema is stored in Plone registry for performance reasons
105
+ and is always synced when you save `solr-controlpanel` form
106
+ or click on `Reload schema.xml` button.
107
+
108
+ File indexing
109
+ -------------
110
+
111
+ If Tika is configured on SOLR, you can send attachments to it and they will be indexed as SearchableText in the content.
112
+
113
+ To allow attachments indexing, you need to register an adapter for each content-type that you need to index.
114
+
115
+ `File` content-type is already registered, so you can copy from that::
116
+
117
+ <adapter
118
+ for="plone.app.contenttypes.interfaces.IFile"
119
+ provides="rer.solrpush.interfaces.adapter.IExtractFileFromTika"
120
+ factory=".file.FileExtractor"
121
+ />
122
+
123
+ ::
124
+
125
+ from rer.solrpush.interfaces.adapter import IExtractFileFromTika
126
+ from zope.interface import implementer
127
+
128
+
129
+ @implementer(IExtractFileFromTika)
130
+ class FileExtractor(object):
131
+ def __init__(self, context):
132
+ self.context = context
133
+
134
+ def get_file_to_index(self):
135
+ """
136
+ """
137
+ here you need to return the file that need to be indexed
138
+
139
+ N.B.: `SearchableText` index should be **multivalued**.
140
+
141
+
142
+ Search configuration
143
+ --------------------
144
+
145
+ In solr controlpanel (*/@@solrpush-settings*) there are some field that allows admins to setup some query parameters.
146
+
147
+ 'qf' specifies a list of fields, each of which is assigned a boost factor to increase
148
+ or decrease that particular field’s relevance in the query.
149
+
150
+ For example if you want to give more relevance to results that contains searched
151
+ text into their title than in the text, you could set something like this::
152
+
153
+ title^1000.0 SearchableText^1.0 description^500.0
154
+
155
+ You can also elevate by *searchwords*.
156
+
157
+ `bq` specifies an additional, optional, query clause that will be added to the user’s main query to influence the score.
158
+ For example if we want to boost results that have a specific `searchwords` term::
159
+
160
+ searchwords:something^1000
161
+
162
+ Solr will improve ranking for results that have "*something*" in their searchwords field.
163
+
164
+ `bf` specifies functions (with optional boosts) that will be used to construct FunctionQueries
165
+ which will be added to the user’s main query as optional clauses that will influence the score.
166
+ Any `function supported natively <https://lucene.apache.org/solr/guide/6_6/function-queries.html>`_ by Solr can be used, along with a boost value.
167
+ For example if we want to give less relevance to items deeper in the tree we can set something like this::
168
+
169
+ recip(path_depth,10,100,1)
170
+
171
+ *path_depth* is an index that counts tree level of an object.
172
+
173
+ Collections
174
+ ===========
175
+
176
+ There are two new Collection's criteria that allows to search on SOLR also in Collections:
177
+
178
+ - *Search with SOLR*: if checked, searches will be redirected to SOLR (the default is always on local Plone Site).
179
+ - *Sites*: a list of indexes plone sites on SOLR. The user can select on which sites perform the query.
180
+ If no sites are set (or this criteria not selected), the default search will be made only in the current site.
181
+
182
+ There is also a customized querybuilder that perform queries to SOLR or to Plone catalog.
183
+
184
+ Results from SOLR are wrapped into some brain-like objects to be fully compatible with Collection views.
185
+
186
+
187
+ Development buildout
188
+ ====================
189
+
190
+ In the buildout there is a solr configuration (in `conf` folder) and a recipe that builds a solr instance locally.
191
+
192
+ To use it, simply run::
193
+
194
+ > ./bin/solr-foreground
195
+
196
+
197
+ Installation
198
+ ============
199
+
200
+ Add rer.solrpush to buildout::
201
+
202
+ [buildout]
203
+
204
+ ...
205
+
206
+ eggs =
207
+ rer.solrpush
208
+
209
+
210
+ and run ``bin/buildout`` command.
211
+
212
+
213
+ Contribute
214
+ ==========
215
+
216
+ - Issue Tracker: https://github.com/RegioneER/rer.solrpush/issues
217
+ - Source Code: https://github.com/RegioneER/rer.solrpush
218
+
219
+ Compatibility
220
+ =============
221
+
222
+ This product has been tested on Plone 5.1 and 5.2
223
+
224
+
225
+ Credits
226
+ =======
227
+
228
+ Developed with the support of `Regione Emilia Romagna`__;
229
+
230
+ Regione Emilia Romagna supports the `PloneGov initiative`__.
231
+
232
+ __ http://www.regione.emilia-romagna.it/
233
+ __ http://www.plonegov.it/
234
+
235
+ Authors
236
+ =======
237
+
238
+ This product was developed by RedTurtle Technology team.
239
+
240
+ .. image:: http://www.redturtle.net/redturtle_banner.png
241
+ :alt: RedTurtle Technology Site
242
+ :target: http://www.redturtle.net/
243
+
244
+
245
+ Contributors
246
+ ============
247
+
248
+ - RedTurtle, sviluppoplone@redturtle.it
249
+
250
+
251
+ Changelog
252
+ =========
253
+
254
+
255
+ 1.3.4 (2024-12-05)
256
+ ------------------
257
+
258
+ - Handle also boolean indexes.
259
+ [cekk]
260
+
261
+ 1.3.3 (2023-11-08)
262
+ ------------------
263
+
264
+ - Fix RSS Feed.
265
+ [cekk]
266
+
267
+ 1.3.2 (2023-11-08)
268
+ ------------------
269
+
270
+ - Update translation for content_remove_error.
271
+ [cekk]
272
+
273
+ 1.3.1 (2023-08-01)
274
+ ------------------
275
+
276
+ - Update translation.
277
+ [cekk]
278
+
279
+
280
+ 1.3.0 (2022-09-29)
281
+ ------------------
282
+
283
+ - Add ``search_enabled`` flag to temporary disable search on SOLR.
284
+ [cekk]
285
+
286
+
287
+ 1.2.0 (2022-01-20)
288
+ ------------------
289
+
290
+ - Custom scales view to get images from remote contents (to handle also direction).
291
+ [cekk]
292
+
293
+
294
+ 1.1.0 (2021-12-22)
295
+ ------------------
296
+
297
+ - Add indexers for path infos.
298
+ [cekk]
299
+
300
+
301
+ 1.0.0 (2021-12-20)
302
+ ------------------
303
+
304
+ - Fix elevate logic.
305
+ [cekk]
306
+ - Add invariant validation for elevate.
307
+ [cekk]
308
+
309
+
310
+ 0.8.0 (2021-11-18)
311
+ ------------------
312
+
313
+ - SolrBrains now can return img tags if the original content has an image.
314
+ [cekk]
315
+
316
+
317
+ 0.7.1 (2021-10-14)
318
+ ------------------
319
+
320
+ - Removed unused view.
321
+ [cekk]
322
+
323
+ 0.7.0 (2021-10-14)
324
+ ------------------
325
+
326
+ - Add new criteria: solr_portal_types to select a list of portal_types indexed on SOLR.
327
+ [cekk]
328
+ - Add link to Elevate control panel also in user actions.
329
+ [cekk]
330
+ - Fix remote elevate conditions.
331
+ [cekk]
332
+
333
+ 0.6.4 (2021-09-27)
334
+ ------------------
335
+
336
+ - Fix how querybuilder create queries.
337
+ [cekk]
338
+
339
+
340
+ 0.6.3 (2021-09-21)
341
+ ------------------
342
+
343
+ - Add new feature: if "Query debug" flag is enabled in settings, the SOLR query will be shown to managers.
344
+ [cekk]
345
+ - In example schema.xml files (dev and test), set "searchwords" as **lowercase** type, to be case insensitive.
346
+ [cekk]
347
+ - Disable facet.limit default value (100) to get all facets.
348
+ [cekk]
349
+ - Use swallow_duplicates in Keywords vocabulary to avoid duplicated tokens by truncated strings by SimpleTerm init.
350
+ [cekk]
351
+
352
+ 0.6.2 (2021-07-15)
353
+ ------------------
354
+
355
+ - Do not escape queries in querybuilder because solr_search already manage them.
356
+ [cekk]
357
+
358
+
359
+ 0.6.1 (2021-06-10)
360
+ ------------------
361
+
362
+ - [fix] now sort_on is not ignored on querybuilder customization.
363
+ [cekk]
364
+ - [fix] remove / from frontend_url when not needed in indexing.
365
+ [cekk]
366
+
367
+
368
+ 0.6.0 (2021-05-20)
369
+ ------------------
370
+
371
+ - Add criteria for search by Subject stored in SOLR.
372
+ [cekk]
373
+ - Now solr brains also return right content-type icon.
374
+ [cekk]
375
+
376
+ 0.5.1 (2021-04-29)
377
+ ------------------
378
+
379
+ - Fix release.
380
+ [cekk]
381
+
382
+
383
+ 0.5.0 (2021-04-20)
384
+ ------------------
385
+
386
+ - Handle all possible exceptions on search call.
387
+ [cekk]
388
+ - Fix encodings (again) for attachement in POST calls.
389
+ [cekk]
390
+ - Handle multilanguage paths in querybuilder for collections (use navigation root path instead portal path).
391
+ [cekk]
392
+
393
+ 0.4.1 (2021-03-26)
394
+ ------------------
395
+
396
+ - Fix encodings for attachement in POST calls.
397
+ [cekk]
398
+
399
+
400
+ 0.4.0 (2021-03-25)
401
+ ------------------
402
+
403
+ - Handle encodings for attachement POST calls.
404
+ [cekk]
405
+
406
+
407
+ 0.3.4 (2021-03-18)
408
+ ------------------
409
+
410
+ - Fix logs.
411
+ [cekk]
412
+
413
+
414
+ 0.3.3 (2021-03-15)
415
+ ------------------
416
+
417
+ - Make immediate commits optional from control panel.
418
+ [cekk]
419
+
420
+
421
+ 0.3.2 (2021-02-15)
422
+ ------------------
423
+
424
+ - Handle simple datetmie dates.
425
+ [cekk]
426
+
427
+
428
+ 0.3.1 (2021-02-11)
429
+ ------------------
430
+
431
+ - Fix tika indexing parameters: now modified and created dates are correctly indexed.
432
+ [cekk]
433
+
434
+
435
+ 0.3.0 (2021-02-09)
436
+ ------------------
437
+
438
+ - Refactor elevate control panel and use collective.z3cform.jsonwidget.
439
+ [cekk]
440
+ - Some improvements in indexing.
441
+ [cekk]
442
+
443
+
444
+ 0.2.4 (2021-01-28)
445
+ ------------------
446
+
447
+ - Fix logic in maintenance view.
448
+ [cekk]
449
+
450
+
451
+ 0.2.3 (2021-01-27)
452
+ ------------------
453
+
454
+ - Fix maintenance sync view.
455
+ [cekk]
456
+
457
+ 0.2.2 (2020-12-14)
458
+ ------------------
459
+
460
+ - Fix encoding problems in `escape_special_characters` method for python2.
461
+ [cekk]
462
+ - Remove collective.z3cform.datagrifield dependency and temporary disable elevate control panel.
463
+ [cekk]
464
+
465
+ 0.2.1 (2020-12-03)
466
+ ------------------
467
+
468
+ - Fix date indexes in query when they already are in "solr syntax".
469
+ [cekk]
470
+
471
+
472
+ 0.2.0 (2020-12-03)
473
+ ------------------
474
+
475
+ - Add styles for elevate widget
476
+ [nzambello]
477
+ - Refactor indexer logic.
478
+ [mamico]
479
+ - Add support for *bq* and *qf* in search.
480
+ [mamico]
481
+ - Index files with tika.
482
+ [cekk]
483
+ - Add support for collections.
484
+ [cekk]
485
+ - Mute noisy solr logs in maintenance.
486
+ [cekk]
487
+
488
+ 0.1.2 (2019-12-12)
489
+ ------------------
490
+
491
+ - Remove noisy logger for queries.
492
+ [cekk]
493
+
494
+
495
+ 0.1.1 (2019-12-12)
496
+ ------------------
497
+
498
+ - Add new index: path_depth
499
+ [cekk]
500
+ - Fix unicode errors when there is a site name with accents.
501
+ [cekk]
502
+
503
+ 0.1.0 (2019-12-05)
504
+ ------------------
505
+
506
+ - Initial release.
507
+ [cekk]
@@ -0,0 +1,116 @@
1
+ rer.solrpush-1.3.4-py3.10-nspkg.pth,sha256=NjPRajyWjTacy7EZfQmxdJuVhDnoXcIrTTJNBu24t5k,524
2
+ rer/solrpush/__init__.py,sha256=FRqPX2M0W8YR2uyYRLcrlhiOm9Qec-gZz6HDidwqmNM,130
3
+ rer/solrpush/configure.zcml,sha256=61nXxtNdj8RT05S2Avpl7fsbaiVWwlygBFCVkiuZhGU,2423
4
+ rer/solrpush/indexer.py,sha256=A6iLm8Ia_ubxyiSIa-TZb_WlhTT9Xlczy69bip4orqw,4080
5
+ rer/solrpush/parser.py,sha256=T_F9-xWhDmxrfYTa4IyD6qilXKVvDxUAvbGD-NRdHnw,6130
6
+ rer/solrpush/permissions.zcml,sha256=rH0nHJNavOcyNjxqAEUlqV48NZ8e81ie8KZx177ZOqc,424
7
+ rer/solrpush/setuphandlers.py,sha256=sTT5GRLMgerYhb8o4rIqnuzxO1Mox3URHoxlz7QIB-c,610
8
+ rer/solrpush/testing.py,sha256=Gnqr2OhJVJlGMM5T-AUG6_8WoFodTD9IkbmX3HH8uQo,5232
9
+ rer/solrpush/upgrades.py,sha256=2U3ocoHH88rS62S8U0nDTNTYQzBIE7LyseaVlnpvFe8,2213
10
+ rer/solrpush/upgrades.zcml,sha256=9XdkRyD-DcjumxLcg0OnWCXOctSG3mvsSYXkJKOgKVc,2288
11
+ rer/solrpush/vocabularies.py,sha256=bqwLCkUAgJ24RXCwQcb4BJTdDZzTZnL1Kxp4Ln3h8fE,1599
12
+ rer/solrpush/adapters/__init__.py,sha256=iwhKnzeBJLKxpRVjvzwiRE63_zNpIBfaKLITauVph-0,24
13
+ rer/solrpush/adapters/configure.zcml,sha256=gx0RXzxzWp0YoXWWnYKUm09m-GjbLvq0ITR7JNdTfyU,348
14
+ rer/solrpush/adapters/file.py,sha256=LZHIPFQEbHyckU1aoqFJ3mvWOszO1XHrdVwO4mr7fh0,1439
15
+ rer/solrpush/adapters/rss_feed.py,sha256=MBpFD_Nw4qo0XKoTUJ2tAqSRczfwX-a77nn1zxyRkSY,706
16
+ rer/solrpush/behaviors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
+ rer/solrpush/behaviors/configure.zcml,sha256=ylGe8I3r3mytxsE0JiRIAsSR0jRUy3epxF8p81bdD2E,458
18
+ rer/solrpush/behaviors/solr_fields.py,sha256=hjlHueAe2UvG02l7IQvSZMOq5HwGNw9_z31RKJX2pHE,1148
19
+ rer/solrpush/browser/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
+ rer/solrpush/browser/configure.zcml,sha256=vdbI8i6ZIKBhAXCjZyPz6WQNd5W5ixD5_kmQbM11oaU,3421
21
+ rer/solrpush/browser/controlpanel.py,sha256=UoZlWf6An1db53pvFyyi5_d-mbokyaLxOFe4_Da9OJ8,3304
22
+ rer/solrpush/browser/elevate_settings.py,sha256=qnohJLO0t7-pM8QIUmShYd-zaOo6fAVDZdvRHk_odYo,1205
23
+ rer/solrpush/browser/maintenance.py,sha256=GGPRZ0sqALzRdccsYew3RS1cltyGGgs7gPBd5Ayr4u0,16058
24
+ rer/solrpush/browser/query_debug.py,sha256=i4AXVS3yztjk7O3J8PTYervso-HBBl_t0tVHGo8zrBI,350
25
+ rer/solrpush/browser/querybuilder.py,sha256=oJCUhFAIEGTcOZb31QdrxEVcm3So--PF47gWRfAlsq8,6247
26
+ rer/solrpush/browser/scales.py,sha256=iKNQxdsooHZ6F1ZbcW3npuwb9jDuwFCcJ_UH58_SXqU,2322
27
+ rer/solrpush/browser/static/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
+ rer/solrpush/browser/static/package.json,sha256=I0b05qn6t-Tb_BMnqrk7JkN3E-o8Sb9Eubv-_J2ofK4,258
29
+ rer/solrpush/browser/static/styles.css,sha256=vYpYn9s_8o6dt45mCK2oFMsalrY12Mi5ghfVjxk9yHg,618
30
+ rer/solrpush/browser/static/styles.css.map,sha256=ahN-rQoU-zzh2QeY1p4yxtBEqBXXQOcUrEuhJQUprdI,174
31
+ rer/solrpush/browser/static/styles.scss,sha256=20_8XNL0j8kXCIMBmBxBiD5QnPBUAgsTBSOf6shzo3w,431
32
+ rer/solrpush/browser/static/yarn.lock,sha256=jbX7_DJ93YJbaMhNIREj6UiEKYtnd41Oe18k9uMGueQ,57992
33
+ rer/solrpush/browser/static/dist/dev/main.js,sha256=P4w-gCPYTmSf8OSPCDcEyE6179sYxMwPUZvEOOB0CKU,2311368
34
+ rer/solrpush/browser/static/dist/dev/main.js.map,sha256=0MYlHtVA8GX85jyNLGwljiVltnUdkv_qkiW0-UbaUeo,1783747
35
+ rer/solrpush/browser/static/dist/prod/main.js,sha256=traxp6SC9mEEIqv8ZA4hF5Ow0S1lH2PUBPcNhvlzpq8,294024
36
+ rer/solrpush/browser/static/dist/prod/main.js.map,sha256=1f7rwCRrSUNT4rxpMUsuibbcblulJqlDNIQiD31vD2Y,159
37
+ rer/solrpush/browser/static/javascripts/index.js,sha256=IsByD88JQR7egvh1vlyeOx_wlLFL3_9vTgUxNB9Q7EE,455
38
+ rer/solrpush/browser/static/javascripts/FacetsContainer/index.js,sha256=aA81TtbpKd6vioqbZlMCA5Pl-T6N6wizsZANQOP0Z9E,1025
39
+ rer/solrpush/browser/static/javascripts/ProgressBar/index.js,sha256=6CfTADzDTKyhaaIkOSPYnotGLm1WeWJJD_T68moOJSY,946
40
+ rer/solrpush/browser/static/javascripts/ProgressBarContainer/index.js,sha256=9NSq8mNGk3ySJiWBakEAJNr-2JMyqiknsb6b4TqPDk0,1737
41
+ rer/solrpush/browser/templates/controlpanel_layout.pt,sha256=q1baqoujDspUDPL4cxIwDh1IrE4EGtrAqD_cAt7F4Dg,1822
42
+ rer/solrpush/browser/templates/query_debug.pt,sha256=_hhQcGQd1MZ7dQZf04_axKSMG1rW_Y8OVvZH-uVoSnA,498
43
+ rer/solrpush/browser/templates/reindex_solr.pt,sha256=bYPoQRSlQ6qCrWZg3rBcyppwwcXCz6S-BkbW5da_5sY,1453
44
+ rer/solrpush/interfaces/__init__.py,sha256=98w8rOEXEnNlSTEskevUhewkDcKzLZEM25ot2IbCJXU,282
45
+ rer/solrpush/interfaces/adapter.py,sha256=GNXHvFfdwA8Ev5QJJ2YOU5pnEH-nnVwAIG6d6bLk7jk,307
46
+ rer/solrpush/interfaces/elevate.py,sha256=SUAo28bwa-6k-bMrWKZvXBSLyj9hlHKXaNkAN8_xHR8,3344
47
+ rer/solrpush/interfaces/layer.py,sha256=iPDI8q2A4fckC2kFvm_CmuOarhKA9C5djK1JtnrNZkA,197
48
+ rer/solrpush/interfaces/queueprocessor.py,sha256=4YtHNiDceAgtOjiTlr8VUCTOcdIJrZLhCxGq5eimEn4,153
49
+ rer/solrpush/interfaces/settings.py,sha256=Ie1QrZiBuFpEiz1KfTfdgbp7bIbwf366yklcGihWZII,6735
50
+ rer/solrpush/locales/README.rst,sha256=fS2h1MYp7b5Im-GcnIsZLHhK1N4F-_VuHBf_DorI2_A,611
51
+ rer/solrpush/locales/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
52
+ rer/solrpush/locales/rer.solrpush.pot,sha256=4CNJ3HGxQYI8pDk5t0WJiLk8SUgwkWhvpxPjurFro5Q,11694
53
+ rer/solrpush/locales/update.py,sha256=9X4oKDXfiEryy0Unix5FHcOwtqBmPUk3YOw3AvH3V6c,1528
54
+ rer/solrpush/locales/update.sh,sha256=T2WMQlx9_hp7rJvnhAj2NLygiKeSNtJdeg2Ky0k5ABQ,473
55
+ rer/solrpush/locales/en/LC_MESSAGES/rer.solrpush.mo,sha256=CCRSvv-xyxG7ZEx-gpbeiANWrE6kdds0fuqyatLgASI,458
56
+ rer/solrpush/locales/en/LC_MESSAGES/rer.solrpush.po,sha256=jGeswp1sZLLvJkJb_e20OFAPADcF1G63jecdaDULWwk,11576
57
+ rer/solrpush/locales/it/LC_MESSAGES/rer.solrpush.mo,sha256=41CI-T9O30T8vkuHFIRx_yVawoUhKdqGnEbQOp7-Byo,9290
58
+ rer/solrpush/locales/it/LC_MESSAGES/rer.solrpush.po,sha256=RdaXwtxP2NURHxlsMgIsniG51DIYVcvLnlalsFvT0LA,16728
59
+ rer/solrpush/profiles/default/actions.xml,sha256=7DPokOwE2W4mjooN1QqkHiTcEjUJNGxuukWQ0JkmL6Q,854
60
+ rer/solrpush/profiles/default/browserlayer.xml,sha256=cRjsrPcJ6IAM96ycDRMyLgabutUEFkzq_7FTW2MDlxg,162
61
+ rer/solrpush/profiles/default/catalog.xml,sha256=eQe9ZYuIEj2oBN3Yg4PzMGxn0_Z0QFWj3784ar5E34U,105
62
+ rer/solrpush/profiles/default/controlpanel.xml,sha256=B0CsVo9WBzqeXtZPFUhPZITNwlwcWqH9QbcKxdjjqs8,953
63
+ rer/solrpush/profiles/default/metadata.xml,sha256=zG94IFUGQRom4TBOoONhXai9Vlbj8B_fJ8y0fDnrIxk,257
64
+ rer/solrpush/profiles/default/rolemap.xml,sha256=ZB9XvA4gWX5d8UT65YMW1AcwVDfv0OXABRL_MvxyLtQ,387
65
+ rer/solrpush/profiles/default/registry/bundle.xml,sha256=pcw3KLaXCc1Gr3nmgBiN0ZsMVQXIa_84khGjOPXzWlU,891
66
+ rer/solrpush/profiles/default/registry/criteria.xml,sha256=w9A3Vyx1wEJkdFeaBAk0q9xKJVP-z84biTV9FJWkG8Q,2828
67
+ rer/solrpush/profiles/default/registry/settings.xml,sha256=vc-UzNbs-kiBMYEqXaYZ73gpNb-ualyCAkuqI5sOKEo,278
68
+ rer/solrpush/profiles/default/types/Document.xml,sha256=HhhmPT_THv-mvyOsAyWytsdVm9kLcNZ4gIqCcInl_1s,299
69
+ rer/solrpush/profiles/to_1100/componentregistry.xml,sha256=EzAMBEMZqwgK1pXfJpoFEXy_wRajIL6NcRbmrWR0JTo,232
70
+ rer/solrpush/profiles/to_1100/metadata.xml,sha256=4vyHcW7xaBmAvSQ2xE-UyRN9-xHs0f_hLIvVSnb0Mpc,97
71
+ rer/solrpush/profiles/to_1300/controlpanel.xml,sha256=3BQPb7f8vwzaskJm7B-c7jNFI16IBpzWMOS7bB29Xss,322
72
+ rer/solrpush/profiles/to_1300/registry.xml,sha256=3Gs1VjhHg46HPeFSgNFVU_7jXrBYQTPK-_4KM6JvjRQ,211
73
+ rer/solrpush/profiles/uninstall/browserlayer.xml,sha256=kUDJBCu2P-kfuxzs1NKQAg0J-TggkpIqJVE18wVwecs,122
74
+ rer/solrpush/profiles/uninstall/controlpanel.xml,sha256=Q1DuykUkUoRzeU8ZcUV5pJ3pdGB1PpwkZuJQTd81-8M,536
75
+ rer/solrpush/profiles/uninstall/registry.xml,sha256=SRlydIJQF0GPJaNUen9ylJ6MSMnANwp7VKLYFgzB1Ro,605
76
+ rer/solrpush/restapi/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
77
+ rer/solrpush/restapi/configure.zcml,sha256=0bOVBIKEao-9RLQr30OR6V51zN9nDpj4wkdKPODth1A,216
78
+ rer/solrpush/restapi/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
79
+ rer/solrpush/restapi/services/configure.zcml,sha256=9hqL5roegYLZC7Uk4FvXJGgOcej6nDxbfIWrWgRTDRg,200
80
+ rer/solrpush/restapi/services/elevate_schema/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
81
+ rer/solrpush/restapi/services/elevate_schema/configure.zcml,sha256=7uTlUxeP7r4hBgLsMaDdCeoshAYQgyg70SOvcBQ7oeY,344
82
+ rer/solrpush/restapi/services/elevate_schema/get.py,sha256=xyHGJ2aC3bxR4cdCo6GVne33HYxWPKCv1ZsxGmi-9Ic,355
83
+ rer/solrpush/restapi/services/solr_search/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
84
+ rer/solrpush/restapi/services/solr_search/batch.py,sha256=vStC7-Ge1Hvz9yVmDTIVlue7i0s3eMIem-_7-r1f0IU,3891
85
+ rer/solrpush/restapi/services/solr_search/configure.zcml,sha256=QGw7TaIGF56QdA8_8W8m0wVnk5tvXFMBLrobhaEueS8,334
86
+ rer/solrpush/restapi/services/solr_search/get.py,sha256=5FbfTasiSAP7e_W-7rNxuzzf0MDZ-_X47Ef5-B6W1PQ,919
87
+ rer/solrpush/restapi/services/solr_search/solr_search_handler.py,sha256=g4dj1qUKBKJuGWPgN2Es3LnhfXDm-daASXdaWlzGKVM,3064
88
+ rer/solrpush/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
89
+ rer/solrpush/tests/test_behaviors.py,sha256=g9dhws0nWQZQ5cg0NhrO0IDWgDGTh5WPYPOJWVXLlZw,2079
90
+ rer/solrpush/tests/test_elevate.py,sha256=jO8JN2Kr2LdsC6IeV33QBhbtlGz3gdkRgq832Fu7wAU,4328
91
+ rer/solrpush/tests/test_events.py,sha256=YQB9vxRINxnqicRZQn5D1-4c7IV5UIeyr6ED1jwlidg,6398
92
+ rer/solrpush/tests/test_image_tags.py,sha256=poWa-3y1mxRMt7rOjt-XiXCETWtHDkd3a3BjdK2ZywM,3137
93
+ rer/solrpush/tests/test_maintenance.py,sha256=wJuEPAI9tmmFnaSui0LSDyoZ0QMBFwpDabPq6H4GqJQ,6364
94
+ rer/solrpush/tests/test_querybuilder.py,sha256=H6XkecLTmCMnk2mPmz--xO5PIU4Rd-dR-bftPTSLwD4,9366
95
+ rer/solrpush/tests/test_restapi_search.py,sha256=3c-rOsEdYD5Z7v6EBOIcqT4ratykULQ4EcYYFGbgrYk,4467
96
+ rer/solrpush/tests/test_search.py,sha256=BtsCZgFndehCaUzPnVgbuqnV-0GrPrNlyxaoiyVx3MI,5992
97
+ rer/solrpush/tests/test_setup.py,sha256=CkTOS0xkQFTxS_1CPAV67kLURrVnNlc07PTN1Pkf26o,2295
98
+ rer/solrpush/tests/test_solr_interface.py,sha256=nQIG9Nbu_lEWx8HG5mc9wlN4hC44j9YiSM_Vn7at7gk,14837
99
+ rer/solrpush/tests/test_tika.py,sha256=poWa-3y1mxRMt7rOjt-XiXCETWtHDkd3a3BjdK2ZywM,3137
100
+ rer/solrpush/tests/test_vocabularies.py,sha256=fhcGFtaOMTxbGaBPY7q_Z6_bkQVn1a4AA5BUH-1ZGjA,3700
101
+ rer/solrpush/tests/docs/example.docx,sha256=lcVkktFvOfh79yi-RWJIVsAtq4ZgG2izZ7RXSPPPJtQ,6207
102
+ rer/solrpush/tests/docs/example.ods,sha256=n-kd14MyiNCmx6hfGsMVq0-3ogRxdBNW7IjZRxWMYmg,8355
103
+ rer/solrpush/tests/docs/example.pdf,sha256=V815GnjEkExxtNeDlJAiZCVW1ZtxZKlsh6SXjl7r_Ew,13430
104
+ rer/solrpush/tests/docs/plone_logo.png,sha256=j6TIAMugkbW2T_uoTMokz85JMxddlIwbQVdv0X37OgI,14135
105
+ rer/solrpush/utils/__init__.py,sha256=Bsg45men70wpF52N7hA0z5WKiAayo7lSbME48ujRJZk,345
106
+ rer/solrpush/utils/solr_common.py,sha256=FfOJA7lsGwqVaopHJh-SuLtdGf_BeHdaMH0xiE3FFr8,3813
107
+ rer/solrpush/utils/solr_indexer.py,sha256=V2s7259ZSz12364uDd7pR5LPGzBgVlXoz5XScobHlqA,8791
108
+ rer/solrpush/utils/solr_search.py,sha256=TjnSGY0TVEDIAqaXDU9sJSPezMHBT5IS8tRmDIv2SzE,10848
109
+ rer.solrpush-1.3.4.dist-info/LICENSE.GPL,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
110
+ rer.solrpush-1.3.4.dist-info/LICENSE.rst,sha256=V8OYS2-MT537WCXwxkrkvIjU06jItwHSTilJuB3UEzg,652
111
+ rer.solrpush-1.3.4.dist-info/METADATA,sha256=HJy_w4u3hubwQyrLEobxW1aKNYRyKcyyBTEe1_dveTU,13644
112
+ rer.solrpush-1.3.4.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
113
+ rer.solrpush-1.3.4.dist-info/entry_points.txt,sha256=xPBaLbWEX5V4xSdD6sHXjXXTDPynFBOrkfrqgfdeJGA,117
114
+ rer.solrpush-1.3.4.dist-info/namespace_packages.txt,sha256=tPHnkj8I50c8us_Kvmfu_L59N06lq4rvb7zqQuhHBVM,4
115
+ rer.solrpush-1.3.4.dist-info/top_level.txt,sha256=tPHnkj8I50c8us_Kvmfu_L59N06lq4rvb7zqQuhHBVM,4
116
+ rer.solrpush-1.3.4.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.43.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,5 @@
1
+ [console_scripts]
2
+ update_locale = rer.solrpush.locales.update:update_locale
3
+
4
+ [z3c.autoinclude.plugin]
5
+ target = plone
@@ -0,0 +1 @@
1
+ rer