forked from collective/collective.solr
-
Notifications
You must be signed in to change notification settings - Fork 1
/
CHANGES.txt
791 lines (544 loc) · 21.7 KB
/
CHANGES.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
Changelog
=========
3.1 - unreleased
----------------
3.0 - 2012-02-06
----------------
- Ignore a batch start parameter when selecting a facet to filter on.
https://github.com/Jarn/collective.solr/issues/12
[mj]
3.0b5 - 2011-12-07
------------------
- Removed `solr_dump_catalog` and `solr_import_dump` command line scripts.
They were too dependent on internals and had subtle bugs.
[hannosch]
- Sort arguments in `buildQuery` to get a stable ordering for test output.
[hannosch]
- Solr facet queries on unknown fields will now raise a SolrException.
[hannosch]
- Update example configuration to Solr 3.5.
[hannosch]
- Fix control panel adapter to save the search_pattern as utf-8.
[ggozad]
3.0b4 - 2011-11-10
------------------
- Revert `unrestrictedSearchResults` change, as it breaks additional catalogs,
like the membrane catalogs.
[hannosch]
3.0b3 - 2011-11-09
------------------
- Made maintenance sync view compatible with latest internals of field indexes.
[hannosch]
- Also dispatch `unrestrictedSearchResults` to the Solr server.
https://github.com/Jarn/collective.solr/issues/5
[reinhardt, hannosch]
- Tweak search form to better match sunburst proportions.
[elro]
3.0b2 - 2011-10-05
------------------
- Facet titles can now be provided by specialized vocabularies. Register a named
IFacetTitleVocabularyFactory utility and it'll be used to get a vocabulary
for the facet field with the same name.
[mj]
3.0b1 - 2011-09-27
------------------
- Extend the wildcard search term manipulation to do Unicode to ascii folding,
to keep up with the default field settings of the text field.
[hannosch, mj]
3.0a5 - 2011-09-26
------------------
- Don't treat search terms ending in numbers as `simple`, as Solr doesn't deal
with wildcard searches for numbers.
[hannosch]
- Include CMFCore's `permissions.zcml`.
[witekdev, hannosch]
3.0a4 - 2011-08-22
------------------
* Fixed bug in `extender.searchwords` indexer - terms need to be lowercased
explicitly.
[hannosch]
3.0a3 - 2011-08-22
------------------
* Fixed handling of intra-word hyphens to be taken literally instead of being
interpreted as syntax for text fields.
[hannosch]
* Explicitly require Plone 4.1 / Zope 2.13.
[hannosch]
* Depend on the new c.indexing 2.0a2.
[hannosch]
* Added an `archetypes.schemaextender` dependency and register two fields for
all objects providing `IATContentType`. `showinsearch` is a boolean field that
can be used to hide specific content items from search results. `searchwords`
is a lines field, which lets you specify words that an object should be found
under.
[hannosch]
* Standardize on `solr` as the i18n domain.
[hannosch]
3.0a2 - 2011-07-10
------------------
* Adjust munin configs for query cache handlers to `c.r.solrinstance 3.5`
changes using `FastLRUCache`.
[hannosch]
* Added munin configs for the `/update/extract`, the direct update handler,
query cache size and warmup time, admin file requests used to get the
Solr schema and the searcher warmup time.
[hannosch]
* Added tests for splitting words on `:` and `-`.
[hannosch]
* Update example configuration to Solr 3.3.
[hannosch]
* Add `getRID` and `_unrestrictedGetObject` to our flare implementation.
[hannosch]
* Added documentation on setting up a master-slave configuration using the
`SolrReplication` support.
[hannosch]
* Adjust tests to work with latest `collective.recipe.solrinstance = 3.3` and
its new ICU-based text field.
[hannosch]
3.0a1 - 2011-06-23
------------------
Upgrade notes
*************
* Changed the names of the indexes used to emulate the `path` index. You need
to adjust your schema and rename `physicalPath` to `path_string`,
`physicalDepth` to `path_depth` and `parentPaths` to `path_parents`. This
also requires a full Solr reindex to pick up the new data.
[hannosch]
Changes
*******
* Added `object_provides` index to example schema, as it's used in the
collection portlet to find collections.
[hannosch]
* Rewrote the `maintenance/sync` method for more performance, dropped the
optional `path` restriction from it and removed the `cache` argument. It
should be able to sync datasets in the 100,000 object range in the matter of
a couple minutes.
[hannosch]
* Changed the `maintenance/reindex` method to only flush data to Solr but not
commit after each batch. Instead we only commit once at the end. You should
configure auto commit policies on the Solr server side or `commitWithin`.
[hannosch]
* Adjusted the `mangleQuery` function to calculate extended path indexes from
the Solr schema instead of hardcoding `path`. If you have any additional
extended path indexes, you need to provide indexers with the same three
suffixes as we do ourselves in the `attributes` module for the `path` index
and add those to the Solr schema.
[hannosch]
* Added documentation on Java process, monitoring production settings and
include a number of useful munin plugin configurations.
[hannosch]
* Updated example config to include production settings and JMX.
[hannosch]
* Updated example config to collective.recipe.solrinstance 3.1 and Solr 3.2.
[hannosch]
2.0 - 2011-06-04
----------------
* Updated readme and project description, adding detailed information about how
Solr works and how we integrate with it.
[hannosch]
2.0b2 - 2011-05-18
------------------
* Added optional support for the `Lazy` backports founds in catalogqueryplan.
[hannosch]
* Fixed patch of LazyCat's `__add__` method to patch the base class instead, as
the method was moved.
[hannosch]
* Updated test config to Solr 3.1, which should be supported but hasn't seen
extensive production use.
[hannosch]
* Avoid using the deprecated `five:implements` directive.
[hannosch]
2.0b1 - 2011-04-06
------------------
* Rewrite the `isSimpleSearch` function to use a less complex regular
expression, which doesn't have O(2**n) scaling properties.
[hannosch]
* Use the standard libraries doctest module.
[hannosch]
* Fix the pretty_title_or_id method from PloneFlare; the implementation
was broken, now delegates to the standard Plone implementation.
[mj]
2.0a3 - 2011-01-26
------------------
* In `solr_dump_catalog` correctly handle boolean values and empty text fields.
[hannosch]
2.0a2 - 2011-01-10
------------------
* Provide a dummy request in the `solr_dump_catalog` command.
[hannosch]
2.0a1 - 2011-01-10
------------------
* Handle utf-8 encoded data correctly in `utils.isWildCard`.
[hannosch]
* Gracefully handle exceptions raised during index data retrieval.
[tom_gross, hannosch]
* Added `zopectl.command` entry points for three new scripts.
`solr_clear_index` will remove all entries from Solr. `solr_dump_catalog`
will efficiently dump the content of the catalog onto the filesystem and
`solr_import_dump` will import the dump into Solr. This can be used to
bootstrap an empty Solr index or update it when the boost logic has changed.
All scripts will either take the first Plone site found in the database or
accept an unnamed command line argument to specify the id. The Solr server
needs to be running and the connection info needs to be configured in the
Plone site. Example use: ``bin/instance solr_dump_catalog Plone``. In this
example the data would be stored in `var/instance/solr_dump_plone`. The data
can be transferred between machines and calling `solr_dump_catalog` multiple
times will append new data to the existing dump. To get Solr up-to-date you
should still call `@@solr-maintenance/sync`.
[hannosch, witsch]
* Changed search pattern syntax to use `str.format` syntax and make both
`{value}` and `{base_value}` available in the pattern.
[hannosch]
* Add possibility to calculate site-specific boost values via a skin script.
[hannosch, witsch]
* Fix wildcard searches for patterns other than just ending with an asterisk.
[hannosch, witsch]
* Require Plone 4.x, declare package dependencies & remove BBB bits.
[hannosch, witsch]
* Add configurable setting for custom search pattern for simple searches,
allowing to include multiple fields with specific boost values.
[hannosch, witsch]
* Don't modify search parameters during indexing.
[hannosch, witsch]
* Fixed auto-commit support to actually sent the data to Solr, but omit the
commit message.
[hannosch]
* Added support for ``commitWithin`` support on add messages as per SOLR-793.
This feature requires a Solr 1.4 server.
[hannosch]
* Split out 404 auto-suggestion tests into a separate file and disabled them
under Plone 4 - the feature is no longer part of Plone.
[hannosch]
* Fixed error handling code to deal with different exception string
representations in Python 2.6.
[hannosch]
* Made tests independent of the ``Large Folder`` content type, as it no longer
exists in Plone 4.
[hannosch]
* Avoid using the incompatible TestRequest from zope.publisher inside Zope 2.
[hannosch]
* Fixed undefined variables in ``search.pt`` for Plone 4 compatibility.
[hannosch]
1.1 - Released March 17, 2011
-----------------------------
* Still index, if a field can't be accessed.
[tom_gross]
* Fix the pretty_title_or_id method from PloneFlare; the implementation
was broken, now delegates to the standard Plone implementation.
[mj]
1.0 - Released September 14, 2010
---------------------------------
* Enable multi-field "fq" statements.
[tesdal, witsch]
* Prevent logging of "unknown" search attributes for `use_solr` and the
infamous `-C` Zope startup parameter.
[witsch]
1.0rc3 - Released September 9, 2010
-----------------------------------
* Add logging of queries without explicit "rows" parameter.
[witsch]
* Add configuration to exclude user from ``allowedRolesAndUsers`` for
better cacheability.
[tesdal, witsch]
* Add configuration for effective date steps.
[tesdal, witsch]
* Handle python `datetime` and `date` objects.
[do3cc, witsch]
* Fixed a grammar error in ``error.pt``.
[hannosch]
1.0rc2 - Released August 31, 2010
---------------------------------
* Fix regression about catalog fallback with required, but empty parameters.
[tesdal, witsch]
1.0rc1 - Released July 30, 2010
-------------------------------
* Handle broken or timed out connections during schema retrieval gracefully.
Refs http://plone.org/products/collective.solr/issues/23
[ftoth, witsch]
1.0b24 - Released July 29, 2010
-------------------------------
* Fix security issue with `getObject` on Solr flares, which used unrestricted
traversal on the entire path, potentially leading to information leaks.
Refs http://plone.org/products/collective.solr/issues/27
[pilz, witsch]
* Add missing `CreationDate` method to flares.
This fixes http://plone.org/products/collective.solr/issues/16
[witsch]
* Add logging for slow queries along with the query time as reported by Solr.
[witsch]
* Limit number of matches looked up during live search for speedier replies.
[witsch]
* Renamed the batch parameters to ``b_start`` and ``b_size`` to avoid
conflicts with index names and be consistent with existing template code.
[do3cc]
* Added a new config option ``auto-commit`` which is enabled by default. You
can disable this, which avoids any explicit commit messages to be sent to
the Solr server by the client. You have to configure commit policies on
the server side instead.
[hannosch]
* Added support for a special query key ``use_solr`` which forces queries to
be sent to Solr even though none of the required keys match. This can be
used to sent individual catalog queries to Solr.
[hannosch]
1.0b23 - Released May 15, 2010
------------------------------
* Add support for batching, i.e. only fetch and parse items from Solr,
which are part of the currently handled batch.
[witsch]
* Fix quoting of operators for multi-word search terms.
[witsch]
* Use the faster C implementations of `elementtree`/`xml.etree` if available.
[hannosch, witsch]
* Grant restricted code access to the search results, e.g. skin scripts.
[do3cc, witsch]
* Fix handling of 'depth' argument when querying multiple paths.
[reinhardt, witsch]
* Don't break when filter queries should be used for all parameters.
[reinhardt, witsch]
* Always provide values for all metadata columns like the catalog does.
[witsch]
* Always fall back to portal catalog for "navtree" queries so the set of
required query parameters can be empty.
This refs http://plone.org/products/collective.solr/issues/18
[reinhardt, witsch]
* Prevent parsing errors for dates from before 1000 A.D. in combination
with 32-bit systems and Solr 1.4.
[reinhardt, witsch]
* Don't process content with its own indexing methods, e.g. ``reindexObject``,
via the `reindex` maintenance view.
[witsch]
* Let query builder handle sets of possible boolean values as passed by
boolean topic criteria for example.
[hannosch, witsch]
* Recognize new ``solr.TrieDateField`` field type and handle it in the same
way as we handle the older ``solr.DateField``.
[hannosch]
* Warn about missing search indices and non-stored sort parameters.
[witsch]
* Fix issue when reindexing objects with empty date fields.
[witsch]
* Changed the default schema for ``is_folderish`` to store the value. The
reference browser search expects it on the brain.
[hannosch]
* Changed the GenericSetup export/import handler for the Solr manager to
ignore non-persistent utilities.
[hannosch]
* Add support for `LinguaPlone`.
[witsch]
* Update sample Solr buildout configuration and documentation to recommend a
high enough default setting for maximum search results returned by Solr.
This refs http://plone.org/products/collective.solr/issues/20
[witsch]
1.0b22 - Released February 23, 2010
-----------------------------------
* Split out a ``BaseSolrConnectionConfig`` class, to be used for registering a
non-persistent connection configuration.
[hannosch]
* Fix bug regarding timeout locking.
[witsch]
* Convert test setup to `collective.testcaselayer`.
[witsch]
* Only apply timeout decorator when actually committing changes to Solr,
also re-enabling the use of query parameters for maintenance views again.
[witsch]
* We also need to change the ``SearchDispatcher`` to use the original method
in case Solr isn't active.
[hannosch]
* Changed the ``searchResults`` monkey to store and use the method found on
the class instead of assuming it comes from the base class. This makes
things work with `LinguaPlone` which also patches this method.
[hannosch]
* Add dutch translation.
[WouterVH]
* Refactor buildout to allow running tests against Plone 4.x.
[witsch]
* Optimize reindex behavior when populating the Solr index for the first time.
[hannosch, witsch]
* Only register indexable attributes the old way on Plone 3.x.
[jcbrand]
* Fix timeout decorator to work ttw.
[hannosch, witsch]
* Add "z3c.autoinclude.plugin" entry point, so in Plone 3.3+ you can avoid
loading the ZCML file.
[hannosch]
1.0b21 - Released February 11, 2010
-----------------------------------
* Fix unindexing to not fetch more data from the objects than necessary.
[witsch]
* Use decorator to lock timeouts and make sure the lock is always released.
[witsch]
* Fix maintenance views to work without setting up a Solr connection first.
[witsch]
1.0b20 - Released January 26, 2010
----------------------------------
* Fix reindexing to always provide data for all fields defined in the schema
as support for "updateable/modifiable documents" is only planned for Solr
1.5. See https://issues.apache.org/jira/browse/SOLR-139 for more info.
[witsch]
* Fix CSS issues regarding facet display on IE6.
[witsch]
1.0b19 - Released January 24, 2010
----------------------------------
* Fix partial reindexing to preserve data for indices that are not stored.
[witsch]
* Help with improved logging of auto-flushes for easier performance tuning.
[witsch]
1.0b18 - Released January 23, 2010
----------------------------------
* Work around layout issue regarding facet counts on IE6.
[witsch]
1.0b17 - Released January 21, 2010
----------------------------------
* Don't confuse pre-configured filter queries with facet selections.
[witsch]
* Always display selected facets, even, or especially, without search results.
[witsch]
1.0b16 - Released January 11, 2010
----------------------------------
* Remove `catalogSync` maintenance view since it would need to fetch
additional data (for non-stored indices) from the objects themselves in
order to work correctly.
[witsch]
* Fix `reindex` maintenance view to preserve data that cannot be fetched from
Solr during partial indexing, i.e. indices that are not stored.
[witsch]
* Use wildcard searches for simple search terms to reflect Plone's default
behaviour.
[witsch]
* Fix drill-down for facet values containing white space.
[witsch]
* Add support for partial syncing of catalog and solr indexes.
[witsch]
1.0b15 - Released October 12, 2009
----------------------------------
* Filter control characters from all input to prevent indexing errors.
This refs http://plone.org/products/collective.solr/issues/1
[witsch]
1.0b14 - Released September 17, 2009
------------------------------------
* Fix query builder to use explicit `OR`\s so that it becomes possible to
change Solr's default operator to `AND`.
[witsch]
* Remove relevance information from search results as they don't make sense
to the user.
[witsch]
1.0b13 - Released August 20, 2009
---------------------------------
* Fix `reindex` and `catalogSync` maintenance views to not pass invalid data
back to Solr when indexing an explicit list of attributes.
[witsch]
1.0b12 - Released August 15, 2009
---------------------------------
* Fix `reindex` maintenance view to keep any existing data when indexing a
given list of attributes.
[witsch]
* Add support for facet dependencies: Specifying a facet "foo" like "foo:bar"
only makes it show up when a value for "bar" has been previously selected.
[witsch]
* Allow indexer methods to raise `AttributeError` to prevent an attribute
from being indexed.
[witsch]
1.0b11 - Released July 2, 2009
------------------------------
* Fix maintenance view for adding/syncing single indexes using catalog data.
[witsch]
* Allow to configure query parameters for which filter queries should be
used (see http://wiki.apache.org/solr/FilterQueryGuidance for more info)
[fschulze, witsch]
* Encode unicode strings when building facet links.
[fschulze, witsch]
* Fix facet display to try to keep the given order of facets.
[witsch]
* Allow facet values to be translated.
[witsch]
1.0b10 - Released June 11, 2009
-------------------------------
* Range queries must not be quoted with the new query parser.
[witsch]
* Disable socket timeouts during maintenance tasks.
[witsch]
* Close the response object after searching in order to avoid
`ResponseNotReady` errors triggering duplicate queries.
[witsch]
* Use proper way of accessing jQuery & fix IE6 syntax error.
[fschulze]
* Format relevance value for search results.
[witsch]
1.0b9 - Released May 12, 2009
-----------------------------
* Add safety net for using a translation map on unicode strings.
This fixes http://plone.org/products/collective.solr/issues/4
[witsch]
* Add workaround for issue with `SearchableText` criteria in topics.
This fixes http://plone.org/products/collective.solr/issues/3
[witsch]
* Add maintenance view for adding/syncing single indexes using already
existing data from the portal catalog.
[witsch]
* Fix hard-coded unique key in maintenance view.
[witsch]
1.0b8 - Released May 4, 2009
----------------------------
* Fix indexing regarding Plone 3.3, `plone.indexer`_ & `PLIP 239`_.
This fixes http://plone.org/products/collective.solr/issues/6
[witsch]
.. _`plone.indexer`: http://pypi.python.org/pypi/plone.indexer/
.. _`PLIP 239`: http://plone.org/products/plone/roadmap/239
1.0b7 - Released April 28, 2009
-------------------------------
* Fix unintended (de)activation of the Solr integration during profile
(re)application.
[witsch]
* Fix display of facet information with no active facets.
[witsch]
* Register import and export steps using ZCML.
[witsch]
1.0b6 - Released April 20, 2009
-------------------------------
* Add support for facetted searches.
[witsch]
* Update code to comply to PEP8 style guide lines.
[witsch]
* Expose additional information provided by Solr - for example about headers
and search facets.
[witsch]
* Handle edge cases like invalid range queries by quoting
[tesdal]
* Parse and quote the query to filter invalid query syntax.
[tesdal]
* In solrSearchResults, if the passed in request is a dict, look up
request to enable adaptation into PloneFlare.
[tesdal]
* Added support for objects with a 'query' attribute as search values.
[tmog]
1.0b5 - Released December 16, 2008
----------------------------------
* Fix and extend logging in "sync" maintenance view.
[witsch]
1.0b4 - Released November 23, 2008
----------------------------------
* Filter control characters to prevent indexing errors. This fixes
http://plone.org/products/collective.solr/issues/1
[witsch]
* Avoid using brains when getting all objects from the catalog for sync runs.
[witsch]
* Prefix output from maintenance views with a time-stamp.
[witsch]
1.0b3 - Released November 12, 2008
----------------------------------
* Fix url fallback during schema retrieval.
[witsch]
* Fix issue regarding quoting of white space when searching.
[witsch]
* Make indexing operations more robust in case the schema is missing a
unique key or couldn't be parsed.
[witsch]
1.0b2 - Released November 7, 2008
---------------------------------
* Make schema retrieval slightly more robust to not let network failures
prevent access to the site.
[witsch]
1.0b1 - Released November 5, 2008
---------------------------------
* Initial release
[witsch]