-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathNEWS
More file actions
6210 lines (4303 loc) · 239 KB
/
NEWS
File metadata and controls
6210 lines (4303 loc) · 239 KB
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
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
========================
2010-11-25: Summa 1.6.8
========================
* Bugfix: Removes asterisk from default transliteration as it made
truncated search fail.
========================
2010-11-24: Summa 1.6.7
========================
* Bugfix: Reversed heritrix to 1.14.3 due to conflict with apache
commons lang 2.1.
* Bugfix: Removed faulty doctype for service.xml for non java
properties files.
* Feature: The base statistic table is used and updated. This is a
fixe for #110.
Implemented use of base statistic table, when ever status/holdings
are called and invalidating it when ingest is done.
* Fixed bug #87, it is now possible to delete suggestion from the
suggestion storage, either via the suggest-tool or the web
service.
* Feature: Added reverse sort option to test-GUI.
* Bugfix: Closing database connection after use.
* Moved PayloadBufferFilter to the source branch.
* Updated Summix scripts, so they work on MAC OSX.
========================
2010-11-10: Summa 1.6.6_1
========================
* Bugfix: Fixed handling of existing databases.
* Code quality.
========================
2010-11-03: Summa 1.6.5
========================
* Bugfix: StorageWS re-initialized for each session, putting
garbage in perm space, making a lot of external request and
generally performed horribly.
* Bugfix: fixed last modification time for all base, which was
wrongly set when a databsase storage was closed an restarted.
This is a fix for #109
* Feature: The FileReader now sets lastModificationTime for files
marked as completed
* Bugfix: fixed memory leak, from not closing connection.
* Bugfix: fixed summix package, data is now placed in the rigth place.
* Added filter (StorageValidationFilter) for stopping the ingester
chain early, when there is no storage connected.
* Bugfix: Output from failing main methods is no consistent.
* Bugfix: Added VisualVm name to summix scripts.
* Fork mode always in unit test.
========================
2010-10-11: Summa 1.6.4
========================
* Bugfix: Added Lib to CLASSPATH so that resources can be found
outside the summix package directory.
* Bugfix: The default locations for configuration were wrong.
========================
2010-09-30: Summa 1.6.3
========================
* NOTICE: By Summa 1.6.3 we are upgrading build tool to Maven2. The
README file is updated accordingly. The SBForge repository is
still not accessible from the out site world, so lib folder
continues to hold used libraries.
Idea project has been deleted.
* Bugfix: Changed default sort method to lucene build in. The static
and multipass were broken by Lucene 3.0 and will be replaced
shortly by exposed.
* Bugfix: The default recursion depth/height for RecordReader was
unlimited. The default maximal depth/height is set to 100.
* Bugfix: Setting indexable false when deleting records.
Made UpdateFromFulldumpFilter less chatty
* Moved XML configuration from source tree to data directory.
* JavaDoc: Clarification on timestamps in ReadableStorage.
* Bugfix: Removed output from clean test run, fixed all System.out
and redirected these to log file.
Logging in test targets are now silent.
* Known weakness: RemoteStorage should extend
RemoteReadableStorage and RemoteWritableStorage.
* Feature: Added possible non-verbose to Client/ControlShell,
usages is:
./bin/control-shell.sh [-v] [commands ....]
./bin/client-shell.sh target-id [-v] [commands ....]
* Bugfix: Fixed scripts for control module, such that they now
return the return code from the java application.
Fixed different runnable java files, and given every exit a
return code.
This fixes #101.
* Bugfix: #11 - When a bundle in the incoming directory isn't imported
there will be created a bundle_file_name.error file next to it,
describing what went wrong when importing this file.
* Upgrade to SB Util 0.5.1
========================
2010-07-26: Summa 1.6.2
========================
* Major lookover of the Shell components. The following features are
added:
- 'clear' command to core shell - it obviously is clearing the shell.
- Added support for aliases in core shell functionality.
- Tab-completion for core shell for known commands and aliases.
* Change: Record was changed to accept null as content by assigning
a byte-array of length 0 when null was received. This was done to
support pseudo-records consisting only og id and base.
* Bugfix: Fixed bug where missing records from a fulldump where not
deleted, this was due to a mistake in the ResultSetCursor, where
newly created records wasn't returned.
* Bugfix: Handling XML CDATA blocks correct. Tracker ID #96.
* Bugfix: Removed possible NullPointerException in ShellContextFeedback.
* Bugfix: Updated LuceneBooster with Lucene 3.0.1 queries.
* Removed warnings from JavaDoc.
* Unittest fixes.
* Summa now compiles with -Xlint flag, warnings are removed.
* Update the following classes to correct use of Lucene 3.0.1 IndexWriter/
IndexWriterConfig:
- dk.statsbiblioteket.summa.index.lucene.LuceneManipulator
- dk.statsbiblioteket.summa.common.lucene.BuildPerformance
- dk.statsbiblioteket.summa.common.lucene.IndexReducer
- dk.statsbiblioteket.summa.common.lucene.IndexSpeed
========================
2010-06-22: Summa 1.6.1
========================
* The DocIDCollector did not tahe docBase into account when
collecting IDs for faceting.
* Feature: Added XSLT to convert from SummaDocument to SolrDocument.
* Bugfix: DidYouMeanSearchNode is now able to create a
didyoumean-index from scratch.
* Bugfix: Log message now specify which index to use in
DidyoumeanSearchNode.
* Bugfix: Cleanup after DidYouMeanSearchNode close() is called, fixed.
* Bugfix: Tracker id: 95. If there is no update, there is a big
overhead in fetching all record ids from storage when
initializing the filter. Now we fetch all records first time we
find an update.
* Bugfix: MarcMultiVolumeMerger now keeps a local XSLT transformer,
instead of using SBUtil's XSLT.transform, which create a new
local transformer. This is because of a pontential memory leak in
the getLegacyRecord call from the StorageWS
MarcMultiVolumeMerger uses a simple XSLT transformer pool.
* Updated lucene-didyoumean-3.0.1.jar:
Library update, with close methods for indexes.
========================
2010-06-07: Summa 1.6.0
========================
* Upgrade Lucene to version 3.0.1.
* Feature: Added lowercase analyzer, see SummaLowercaseAnalyzer
* Moved progress.xml to root of persistent directory.
* Known bug: Supplied data to Summix isn't working.
========================
2010-05-25: Summa 1.5.5
========================
* NOTE: This is last Summa release with Lucene 2.4.
* Updated H2 to 1.2.132.
* Feature: Added ARC file reading support.
* Feature: Added configuration
'summa.support.didyoumean.closeonnonexistingindex', when set to true,
which is the default value, DidYouMeanSearchNode#managedOpen logs a
fatal error and throws an RemoteException, if the didyoumean index
doesn't exists.
* Feature: It is now possible to query getModifiedRecords for just
id, base etc. and get these faster. This is due to an added feature
in QueryOptions, which allow specification of which attributes there
should be returned.
* Feature: added support for getting multiple records in one go.
Sample can be found in:
Web/src/dk/statsbiblioteket/summa/web/services/GetRecordsResponseSample.xml
Schema can be found in:
Web/src/dk/statsbiblioteket/summa/web/services/GetRecordsResponse.xsd.
* Feature: Made unicode / UTF-8 sanitiser to handle non-controlled
input such as web content 'SanitiseUnicodeFilter', this filter handle
meta data as well as content and streams.
* Feature: Added snippet extrator filter Snippetfilter.
* Feature: RecordShaperFilter can now copy meta data from Payload
to Record.
Extended RecordShaperFilter with optional md5 summing of id when
the ID is more than a given length.
* Feature: Extended TikaFilter to handle input as both Payload
Stream and Record.content.
* Feature: Added nearly conforming parser for danMARC2 Linjeformat.
NOTE: Special charecters not mapped directly to Unicode are ignored.
* Feature: Added option for specifying input charset and subfield
divider for Aleph2XML.
* Feature: Support for granularity and ignore-changes-newer-than
for rss feed on status page.
* Feature: In the test interface, it is now possible to turn
didyoumean search on/off. It is off by default, and is turned on
by a checkbox.
* Bugfix: The XMLSplitterHandler double-encoded CDATA-blocks.
* Bugfix: Fix to Bug #9 on tracker. Updated Configuration class to use
SubConfiguraionNotSupportedException, when sub configurations is not
supported.
* Bugfix: Sorting of the characters 'aa', which are Collator-wise
treated as 'å' in danish, was inconsistent and resulted in
unnecessary rebuilding of facet structures with sortLocale "da".
* Bugfix: Changed setting 'summa.support.didyoumen.location' to
'summa.support.didyoumean.location'.
* Bugfix: Updated UpdateFromFulldumpFilter to only get Id and base
from records. This is faster over RMI.
* Bugfix: When receiving an NoSuchElementException in
StorageReaderClient over RMI, it is packed inside a RemoteException.
This is now checked when recieving an RemoteException over RMI.
Fixed bug in AggregatingStorage where MergingContext should use a
variable from IteratorContext but redeclared it.
* Performance: Added option to skip "expunge deleted" for the
LuceneManipulator.
========================
2010-03-24: Summa 1.5.4
========================
* Feature: Did-You-Mean service built index on start-up, iff index
is not already present. Searching while building index results in
an empty search response.
Added DidYouMean support to the sample website.
* NOTICE: Did-You-Mean static root for index is renamed to 'index'
since the index created by FSDirectory is by default placed in
the directory 'didyoumean'.
* NOTICE: didyoumean.xml config file, uses a RAMDirectory as standard.
Should be changed to FSDirectory if using large indexes to generate
the Did-You-Mean index.
* Feature: Added merge method to merge responses to Did-You-Mean
service.
* Feature: Added Did-You-Mean search tool. Found in
'didyoumean-tool.sh' or 'didyoumean-tool.bat'.
* Feature: Status and Sample website now shows version number and
revision tag. This fixes #78 in tracker.
* Bugfix: Updated SearchWS so it now returns valid XML, when an
error occur in creation of a search response. See schema
'SearchErrorResponse.xsd' for details.
* Bugfix: Sample and status websites are updated to XHTML 1.0.
* Bugfix: in PriorityQueue.
* Cleanup in ant targets.
- ant jars - which builds all jar/war files and creates
'/dist/summa-test-$version.zip', with all jars
and wars, along with a summix.
This is done in approximately 20 seconds on ssd.
- ant release - builds a full release zip in /dist.
This takes approximately 105 seconds on ssd.
Furthermore each module has the possibility to make a 'jar' or
'release'.
========================
2010-03-11: Summa 1.5.3
========================
* NOTICE: The didYouMean web services is only experimetal. API and
configuration keys may still change.
* Added UpdateFromFulldumpFilter which from a fulldump treat the dump
as an update on a single base. This means:
- updating changed records.
- delete non-existing records.
- records that hasn't changed are ignored.
* Feature: Added Did-You-Mean support for FSDirectory as well as
RAMDirectory. This is a configuration.
Feature: Added didyoumean tool to Samples/
Updated Did-You-Mean example response xml and schema.
* Feature: Added junit test functionality to all ant files, which
include generating xml and html files for showing result of junit
tests on a single webpage.
NOTE: The control module, is not working at this point.
* Bugfix: The MarcMultiVolumeMerger threw an Exception logging
errors for multi volume.
* Bugfix: The DatabaseStorage made a single commit at the end of
base delete. In the current version of h2, this commit required a
very large amount of memory (½GB+ for 400K records). This has
been changed to commit every 500 records, which has very little
memory overhead.
* Bugfix: Fixed ticket #31, now RecordUtil.toXML doesn't show the
underlying XML framework to API.
* Bugfix: Added teardown method, to stop storage and close connections.
========================
2010-02-19: Summa 1.5.2
========================
* NOTICE: The didYouMean web services is only experimetal. API and
configuration keys may still change.
* Bugfix: Updated status page, so it present a valid html site.
* Bugfix: Added LuceneIndexDescriptor.xsd schema
* Bugfix: Updated sample xml response, to be consisted in naming
with schemas
* Bugfix: Storage.batchJob() would
set the 'last' variable in the batch job whenever the job crossed
a page boundary while iterating over the selected records for the
batch job
* Feature: Expose a didYouMean webservice under the standard SearchWS.
Web service can return more than one result, this is configurable
at query time, defaulting to 1.
Import Lucene didyoumean libs from
http://github.com/mkamstrup/lucene-didyoumean/downloads
* Feature: Sleep time in
Workflow/src/dk/statsbiblioteket/summa/workflow/WaitForStatusStep.java
is now configurable.
* Feature: Implement a 'batchjob' command for storage-tool.sh
* Release includes all xsd schemas for xml responses found in /doc/schema/
========================
2010-02-05: Summa 1.5.1
========================
* Bugfix: Proper escaping of messages from sub-services in the status web
service. The status web service would return invalid XML if any
of the monitored services returned properties with names that
was not valid XML.
========================
2010-01-27: Summa 1.5.00
========================
* NOTICE: Convert entire Summa source tree to Apache 2 license
* Storage ABI break (source compatibility preserved): Add variants
of flush() and flushAll() that takes an extra QueryOptions
parameter.
* ABI break: Add setter methods for QueryOptions.meta(). We alreay
broke the Storage binary protocol so it's no biggie.
* Update H2 dep. to 1.2.126, which among other fixes includes: "The
database is now closed after an out of memory exception, because
the database could get corrupt otherwise.". and disable the H2
level 2 cache by default for SuggestStorageH2.
* New API Storage.batchJob for running predefined batch jobs in any
scripting language accrose of subsets of the storage.
Bundled sample batch jobs with Summix:
collect_ids.job.js, delete.job.js, and count.job.js
* Add a 'holdings' command to storage-tool
* Add a __holdings__ record to storage containing detailed storage
statistic. Show storage __holdings__ in status page and feed
The holdings can also be looked up with the "holdings" action in
storage-tool.sh
* Define a meta flag "TRY_UPDATE", which alter default behaviour of
Storage.flush() and Storage.flushAll() to not update records if they
already are up to date.
* New boolean property on RecordWriter:
"summa.storage.recordwriter.tryupdate" to pass TRY_UPDATE=true in
the QueryOptions to flushAll()
* Bugfix: Allow both old and new H2 file formats in H2Storage and
SuggestStorageH2 (ie. allow both .data.db and .h2.db)
* Bugfix: There was an elusive deadlock in QueuedInputStream used
by the ZipParser class. It both involved a missing 'synchronized'
statement and a bad cast of byte to int. We have replaced the
entire implementation with Java's native Piped{In,Out}putStream.
* Bugfix: The result of an IndexLookup was scrabled when a
sortLocale was defined for the facet
* Bugfix: The FacetResults did not perform entity escaping
correctly
* Bugfix: UniqueTimestampGenerator.MAX_TIME was not constructed
correctly and was in fact negative!
* Bugfix: LuceneManipulator kept running in the event of out of
disk space
* BugFix: Tag-representations were double entity-encoded
* Bugfix: The SortedPoolImpl was not thread-safe for reads
* BugFix: Sort failed with an ArrayIndexOutOfBoundsException if
certain documents did not contain a term for the sort field
* Bugfix: The sample website did not support sorted search or
paging
* Bugfix: The MultipassSortcomparator works now, but used the
memory-inefficient BitsArrayInts
Testing: A bug has been discovered in BitsArrayPacked, where
assigning to a value nullifies the subsequent value
* Feature: Made the LuceneManipulator optionally multi threaded
(deafult is 1 thread, which mimicks the old behaviour). As par of
this, the IndexManipulator-interface was extended with support
for signalling if the order of documents gets unreliable
* Feature: Added filter for post-processing in ingest workflows
involving full dumps. The primary usage is clearing of old data
from Storage
* Feature: Provided an option for enabling lenient marc-parsing in
ISO2709ToMARCXMLFilter
* Feature: Made it possible to specify the sort comparators used by
a LuceneSearchNode, making it possible to choose between memory
usage and speed when sorting fields with many terms. Still in the
experimental phase
* Make StorageRunner.main(), SummaSearcherRunner.main(), and
FilterControl.main() do a System.exit(1) if they encounter a fatal
top level exception
* Use 'set -e' in all Summix .sh script to have them bail out on
any uncaught errors
* Make all Summix .sh shell scripts use 'exec' when launching their
primary child process. This way we don't litter 3 processes for
each service - we have one process/service and that is that of
the JVM.
* Logging for Summix: Services now log to log/<service-type>.log
and log/<service-type>.fatal.log. All *-tool.sh log to
log/tools.log. Here <service-type> is derived from the basename of
the config file
========================
2009-12-02: Summa 1.4.15
========================
* Bump SB Util dependency to 0.4.8. This enables some fixes in our collator
based sorts as well as some more aggresive fast pathing of XSLT processing
when namespaces are ignored (SB)
* Include "Most popular queries the last 24 hours" in the status page and
rss feed (SB)
* Implemented PipedStream: A bridge from OutputStream to InputStream
with buffering and callback
* Bugfix/logging: Make sure we always store the last 5 fatal.log (or error.log)
files (we used to only store 2)
* Remove all attic code as agreed with Toke. To dig out the attic code from
svn it is probably easiest to do:
svn co https://summa.svn.sourceforge.net/svnroot/summa/tags/summa-1.4.14
* The status web service now exposes a xml.jsp, index.jsp, and rss.jsp. All
fully working (however with minimal content for now).
The RSS feed will be marked as updated if any one of the following
conditions hold:
- There is an error anywhere
- The storage/index has been been updated since last check
* New helper classes in Web module to help build RSS feeds
* Made the ID-delimiter configurable in Aleph2XML
* Bugfix: Changed all usages of Collator to (optionally where appropriate)
consider space a char that goes before any other chars (SB)
* Bugfix: Disable the level 2 cache in the H2Storage by default. Some memory
balloning has been experienced with the L2 cache enabled (SB)
* Bugfix: The status webservice did not allow duplicate keys in a group.
This made queryCount reporting throw away queries with the same
count. Rant: Why is there no SortedList class in Java!? (SB)
========================
2009-11-23: Summa 1.4.14
========================
* IMPORTANT: Updated core storage database libs. H2 upgraded from 1.1.118
to 1.2.124. This brings along a new optimized db storage format that gives
better disk usage and faster queries.
In order to use the new storage format you need to completely rebuild your
storage - by deleting all the old storage files. Summa continues to work
with the old storage files, but you will not benefit from the newest
enhancements.
* New exception policy: When any service encounters an uncaught exception in
a thread it will be treated as a fatal error and the JVM will exit leaving
fatal errors in the log and on stderr.
* Bugfix: Fix a very elusive bug where the storage would corrupt its internal
indexes. The only symptom was that one could no longer retrieve
batches of records with the getRecordsModifiedAfter() method.
It would always return an empty iterator.
This bug was very hard to reproduce except on some specific hardware
and operating systems. Nonetheless it was there.
* Bugfix: Fix NullPointerException when running a filter chain that was closed
without ever having received any payloads.
========================
2009-11-18: Summa 1.4.13
========================
* Optimization: Storage.clearBase() would at times require big memory
allocations. This has been partly remedied. The execution
speed of this function should also have improved somewhat.
* Add a new filter MachineStatsFilter logging stats about the JVM. This is
enabled by default in the Summix indexer and ingester
* Log JVM stats from StorageRunner and SummaSearcherRunner. This means that
Storage and Searcher services in Summix will log stats by default
* Enable the log4j CleanSlateRollingFileAppender appender in the Summix
log4j config.
* Error handling: Major reworking of RMI wrapper classes to handle
Errors by sending alerts and shutting down. Note that we
are talking Errors and not normal Exceptions
* Bugfix: Calling close() on ZIPParser before EOF left the
ZIP-thread hanging
* Bugfix: Fixed racing deadlock problem in ZIPParser
* Bugfix: There was a chance that the ThreadedStreamParser did not
terminate properly when close on sourcePayload failed
========================
2009-11-03: Summa 1.4.12
========================
* Critical bugfix: When clearing a base via ClearBaseFilter or any other means,
the H2Storage module (the default) had a race condition
causing a risk of the database indexes would be corrupted.
* New web service StatusWS. Can collect a very simple status report from
the storage-, searcher-, and suggest services. We plan to expand this
functionality in the future. Especially more detailed status from each
service and the ability to get the status as an RSS feed
* Optimized the special case of a standard search where the number of wanted
records is 0. The use case here is asking for a hit count on a given query,
without needing the records
* Less verbose logging from MARCParser
* Changed the default timeout for ZIP to Integer.MAX_VALUE, as ZIP-files
containing very large files can take a lot of time to process
* Major cleanup of ThreadedStreamParser, reducing formerly complex logic to
clearly defined and consistent workflow
* Added the inverse equivalent to ContentToStreamFilter, namely a
StreamToContentFilter - creating a Record payload from a stream payload
with the record content set to the contents of the stream
* Bugfix: The clearBase() method on DerbyStorage didn't work
* Bugfix: The PayloadQueue did not add the size of parents and
children to the size for a Record
* Bugfix: The MarcMultiVolumeMerger had a one-off error that was
triggered by XML without linebreaks between tags
* Bugfix: Changed build to include dtd and ent for XHTML entity
resolver
========================
2009-10-22: Summa 1.4.11
========================
* WARNING: Another DB schema change for the suggest service
* WARNING: ABI break for FacetResultExternal. This will require you to run
the same version of Summa on your web services as your Summa
search engine
* New API for the suggest web service; getRecentSuggestions. Used to
retrieve the last N suggestions updated within the last X seconds.
* New API for the search web service; filterSearchSorted. Used to pass
in an extra filter-query that will not affect the ranking of the "real"
query. This is useful
* The default Suggest engine backend (SuggestStorageH2) now features a
"query sanitizer" (which is a configurable class of Lucene Analyzer
controlled by the property summa.support.suggest.sanitizer) that will be
run over user queries to be added to the DB. The default is a
Lucene WhitespaceAnalyzer which will result in the fix for the bug
mentioned below (bug #61)
* A new RollingFileAppender for Log4J that rolls the logs each time the
application starts. Set the class attribute of the appender element
in your log4j.xml to
dk.statsbiblioteket.summa.common.util.CleanSlateRollingFileAppender
* Bump SBUtil to 0.4.7. This should improve performance on some XSLT operations
* Bugfix: The merging of Facet results from different searcher
setups failed when the facets weren't the same
* Bugfix: Fix #59: The XMLSplitterHandler did not handle multiple default
name spaces properly
* Bugfix: Patch from Jens Henrik Jensen (SB) to fix some issues
with the client-shell.sh, control-shell, and control.sh scripts:
- Set the script mode to always exit on errors
- Be runnable disregarding the working dir
- To not call popd as last function in the script,
overriding the exit value of command
* Bugfix: ReaderInputstream did not close th encapsulated
Inputstream upon close
* Bugfix: The toXML-method in RecordUtil performen an endless
recursion when parent-child-relations were double-linked
* Bugfix: Fix bug #63: "Suggestions with same normalized key show
same hitcount"
* Bugfix: Fix bug #61: "Whitespace garbage in suggest strings"
* Bugfix: Fix bug #65: "ZipException: invalid bit length repeat; during
ingest". The trick is to ensure that all operations on the
ZipInputStream happen in the same thread. This is achieved by
implementing a QueuedInputStream that holds an internal blocking
queue all data is pushed over. There's a lot of room for
optimization here, see the fixme in the header for QueuedInputStream
========================
2009-09-14: Summa 1.4.10
========================
* The RecordWriter filter, responsible for inserting Records into Storage,
now has a memory cap for its internal queue that can be set via the
summa.storage.recordwriter.batchmaxmemory property. Huge Records could cause
freak OOMs on the Storage
* New deployment mechanism LocalDeployer that can be used to bypass the need
for an SSH session when deploying+starting a client on a local machine.
Pass '-t local' to the 'deploy' command when deploying a client from
the control-shell
* A lot of work on the Suggest service - particularly some serious
performance issues should have been ironed out
- Compare strings by normalizing them with a Lucene analyzer,
using SummaKeywordAnalyzer by default
- The property summa.support.suggest.lowercasequeries has been renamed to
summa.support.suggest.normalizequeries since we can do more advanced
transformations now (see point above)
- Introduces max rows setting to h2 backend for suggest, ensuring
lower response times for parts of a large result set (for example single
character prefixes)
- Make import for suggest drop and re-create indexes,
greatly improving import performance
- Add a new search key to fetch the most recently updated sugegstions.
Pass in summa.support.suggest.recent to test this out. It is also
supported in suggest-tool.sh shipped in Summix
* WARNING: The afore mentioned work on the Suggest service has broken the
database layout of the default backend SuggestStorageH2. You will need to
export your old data and import it in a new empty suggest instance
* search-tool.sh will now echo the search response time in ms (also applies
to suggest-tool.sh)
* Created ContentToStreamFilter to wrap content from Record into a
Stream on Payload
* Made the XMLSplitter optionally namespace-aware with regard to
record specification
* Bugfix: The RecordWriter needed to run with debug logging enabled
in order to run at oeak performance
* Bugfix: The StreamingDocumentCreator filter that is responsible for creating
Lucene documents could raise StackOverflowErrors on huge
SummaDocuments. This was caused by a misuse of recursion inside the
XMLStreamReader shipped with Java, see:
http://sbdevel.wordpress.com/2009/09/04/an-excursion-in-java-recursion/
* Bugfix: ScriptFilter did not resolve the script engine correctly when
sniffing only on the script extension.
=======================
2009-09-01: Summa 1.4.9
=======================
* The ClearBaseFilter can now select to clear the configured base only
if the incoming payload matches a criteria in the same that a RegexFilter
matches Payloads+Records (SB)
* Make the default Storage backend (H2Storage) perform an analyze
every 100000 records on flushAll, and skip the corresponding analysis
on startup. This should improve boot times on big databases considerably (SB)
* Added clear/import/export commands to the Suggest service. Also supported
by the command line tool 'suggest-tool.sh' (SB)
* Enable the H2 second level LRU page cache by default. This should speed up
large bases, but might be a small hit for smaller bases. This feature
can be controlled via the summa.storage.database.l2cache boolean property
* when specifying a static root for SummasearcherImpl, it will now be
expanded with Resolver.getPersistentFile instead of being used directly
* Bugfix: Make sure that the database indexes are used in the H2 Suggest
backend (SB)
* Bugfix: Log uncaught exceptions in the RecordBatcher thread in
the RecordWriter filter (SB)
* Bugfix: In DatabaseStorage explicitly rollback connections with
any errors detected (the rollbacks where implicit from closing
the connection before - this is not good JDBC behaviour) (SB)
* Bugfix: Bundle Tool should escape property refs inside <jvmArg>
tags (SB)
* Bugfix: Fix db connection leak in flushAll() when we fail to set
the connection in write-mode. This is categorized as a
corner-case bug, but a bug nonetheless (SB)
* Bugfix: Added check for endless recursion in H2Storage.touchParent
=======================
2009-08-18: Summa 1.4.8
=======================
* Added setting for filters in FilterSequence to control whether the filter
is enabled or not. Set the property "filter.enabled" to true or false to
control this
* New new filter called TikaDocumentCreator that creates Lucene documents
directly from Tika XHTML events. This bypasses the needs for XSLT processing
and can provide big performance gains where raw Tika processing is applicable
* New filters RecordShaperFilter and DocumentShaperFilter for restructuring and'
handling record metadata and Lucene document fields (respectively) in the
filter pipeline
* XMLSplitterFilter supports splitting streams into Records without
extracting IDs. This is useful in conjunction with the new RecordShaperFilter
* Bump SBUtil dependency to 0.4.6
* Introduce experimental API to do super fast alphabetical index listings via the
facet browser. See dk.statsbiblioteket.summa.facetbrowser.api.IndexKeys for
a starting point
* Bugfix: Automagically free all RMI services registered via the
RemoteHelper when the JVM exits (this means pertty much all RMI
services). This should fix some bugs where the services refused
to come back up when started from a ClientShell, but killed with
'kill <pid>' from a Unix shell. The problem was that Java doesn't
do this clean up by default - go figure
* Bugfix: Don't resolve DTDs in the XMLSplitter{Parser,Handler,Filter}
* Bugfix: Fix https://sourceforge.net/apps/trac/summa/ticket/41 -
"Search-time boosts in the IndexDescriptor are not used"
* Bugfix: Fix https://sourceforge.net/apps/trac/summa/ticket/28 -
"DatabaseStorage.clearBase() doesn't update record mtimes"
=======================
2009-06-26: Summa 1.4.7
=======================
* Critical bugfix: The ThreadedStreamParser class, which is the base class for
many of the core filters, could drop payloads when the
internal queue was overflowed
=======================
2009-06-23: Summa 1.4.6
=======================
* New default: The storage web service will longer XML-escape the embedded
record contents. To control this behavior set the property
summa.common.recordutil.escapecontent to true or false (SB)
* Include a RegexFilter that can black- or white list Payloads based on
regex matching on their, id, base, and/or content (SB)
* Add a new backend for the ThreadedStreamParser filter, called ZIPParser.
This can be used as a filter for extracting Payloads from a zip stream (SB)
* Changed the threadedStreamParser to use PayloadQueue which allows for
limit on queue-size based on memory usage
* Enhanced Suggest to allow for switching between case-sensitive and
case-insensitive operation (SB)
* Added listSuggestions and addSuggestions to Suggest to prepare for
export and import of bulk lists of suggestions (SB)
* Experimental: Extraction and merging of Lucene index term statistics. This
is intended to be used in the upcoming "distributed ranking on a
sharded index" (SB)
* Bugfix: The threadedStreamParser did not close Payloads on
exceptions (Refind)
* Bugfix: The PayloadQueue failed when queueing Payloads without Records
with a fixed ceiling on memory usage (SB)
* Bugfix: The H2 suggest storage did not store queryCount for
new suggestions (SB)
* Bugfix: Don't hardcode port 27000 and remote console in the DeployCommand
on ControlShell
=======================
2009-06-04: Summa 1.4.5
=======================
* Bump SBUtil dependency to 0.4.5 (SB)
* Bump internal Derby dep. to the new 10.5.1.1 hotness. This brings in
client side paging via LIMIT/FETCH clauses which has been much awaited (SB)
* Add a TikaFilter that extracts metadata from crawled files and converts them
to an intermediate XHTML structure. This can be used as the base for a
hard disk indexer (SB)
* A new filter, ReplaceFilter, that can replace substrings in Records or
streams (Refind)
* New filter, StdOutFilter, that drops Records (or optionally only their
content) to stdout (Refind)
* Added optional forceConsolidateOnClose to the IndexController (SB)
* Include a ScriptService service class that launches an inlined or external
script (anything supported by Java's ScriptEngine API) wrapped behind
a Service interface (SB)
* Inject a 'log' variable into ScriptFilter that can be used to access the
common-logging logger of the filter (SB)
* Make clearTagsOnConsolidate default to true as it speeds up facet building
tremendously for larger indexes (SB)
* Bugfix: It was not possible to dertermine the payload ids of failed payloads
from ObjectFilterImpls (which means most filters) when the process
threw a non-Exception throwable. These cases are now logged very
verbosely because they often hide very nasty bugs (OOM etc) (SB)
* Bugfix: The maxTags in the FacetScructure configuration was used
as wantedTags when doing faceting, resulting in 200 tags/facet
for the default setup (SB)
* Bugix: Exceptions from FilterControl, SummaSearcherRunner, and
StorageRunner's main() methods could be dropped. Install
uncaught exception handlers that logs any top level exceptions (SB)
* Bugfix: RecordUtil.toXML() did not close <element> tags in the
<meta> section (Refind)
* Bugfix: The {Memory,Disk}Pools did not accept adds with position
above their size (SB)
* Bugfix: DerbyStorage works again now (and is probably a lot faster than
before, but this is yet to be tested) (SB)
=======================
2009-05-19: Summa 1.4.4
=======================
* Critical Bugfix: The web services leaked connections to search, suggest
and storage
* Ported a Lucene sorter that uses cached collator and
index-based sorting from Stable Summa to head. This should
provide a speed-increase for sorted searches along with less
memory consumption (thill not ideal though. For that we need to
hack the faceting system)
* The Javascript configuration backend, JStorage, is now marked as stable,
although it has not seen extensive real-world tests
* Lots of polish to the client/control shells:
- Don't print debug messages by default in the shell
- Print the correct Summa version number when starting a
shell instead of some outdated CVS-mumbo-jumbo
- Make the shell Core exit when the input stream is closed.
This way one can pipe commands into the shell with standard unix
pipes as well as exit the shell with Ctrl-d
- Allow fetching status of deployed services from the
Control shell. Just pass clientId/serviceId to the status command
- Add command to list services deployed on a client directly from
the Control shell, optionally printing the status of each service
- Add a -f/--format switch to 'services' and 'status' commands on client-
and control shells. With this switch enabled they print out in a canonical
machine parseable format
- Add -w and --wait to the 'start' command in the Client
shell and implement a 'wait' command as well
- Add a -b and --bundle switch to the 'services' command
in client- and control shells