forked from influxdata/telegraf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
testdata3_test.go
789 lines (784 loc) · 36.5 KB
/
testdata3_test.go
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
package solr
const mBeansSolr3MainResponse = `{
"solr-mbeans": [
"CORE",
{
"searcher": {
"class": "org.apache.solr.search.SolrIndexSearcher",
"version": "1.0",
"description": "index searcher",
"srcId": "$Id: SolrIndexSearcher.java 1201291 2011-11-12 18:02:03Z simonw $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java $",
"docs": null,
"stats": {
"searcherName": "Searcher@4eea69e8 main",
"caching": true,
"numDocs": 117166,
"maxDoc": 117305,
"reader": "SolrIndexReader{this=2ee29b0,r=ReadOnlyDirectoryReader@2ee29b0,refCnt=1,segments=5}",
"readerDir": "org.apache.lucene.store.MMapDirectory:org.apache.lucene.store.MMapDirectory@/usr/solrData/search/index lockFactory=org.apache.lucene.store.NativeFSLockFactory@178671d8",
"indexVersion": 1491861981523,
"openedAt": "2018-01-17T20:14:54.677Z",
"registeredAt": "2018-01-17T20:14:54.679Z",
"warmupTime": 1
}
},
"core": {
"class": "search",
"version": "1.0",
"description": "SolrCore",
"srcId": "$Id: SolrCore.java 1190108 2011-10-28 01:13:25Z yonik $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/core/SolrCore.java $",
"docs": null,
"stats": {
"coreName": "search",
"startTime": "2018-01-16T06:15:53.152Z",
"refCount": 2,
"aliases": [
"search"
]
}
},
"Searcher@4eea69e8 main": {
"class": "org.apache.solr.search.SolrIndexSearcher",
"version": "1.0",
"description": "index searcher",
"srcId": "$Id: SolrIndexSearcher.java 1201291 2011-11-12 18:02:03Z simonw $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java $",
"docs": null,
"stats": {
"searcherName": "Searcher@4eea69e8 main",
"caching": true,
"numDocs": 117166,
"maxDoc": 117305,
"reader": "SolrIndexReader{this=2ee29b0,r=ReadOnlyDirectoryReader@2ee29b0,refCnt=1,segments=5}",
"readerDir": "org.apache.lucene.store.MMapDirectory:org.apache.lucene.store.MMapDirectory@/usr/solrData/search/index lockFactory=org.apache.lucene.store.NativeFSLockFactory@178671d8",
"indexVersion": 1491861981523,
"openedAt": "2018-01-17T20:14:54.677Z",
"registeredAt": "2018-01-17T20:14:54.679Z",
"warmupTime": 1
}
}
},
"QUERYHANDLER",
{
"/admin/system": {
"class": "org.apache.solr.handler.admin.SystemInfoHandler",
"version": "$Revision: 1067172 $",
"description": "Get System Info",
"srcId": "$Id: SystemInfoHandler.java 1067172 2011-02-04 12:50:14Z uschindler $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/handler/admin/SystemInfoHandler.java $",
"docs": null,
"stats": {
"handlerStart": 1516083353227,
"requests": 0,
"errors": 0,
"timeouts": 0,
"totalTime": 0,
"avgTimePerRequest": "NaN",
"avgRequestsPerSecond": 0
}
},
"/admin/plugins": {
"class": "org.apache.solr.handler.admin.PluginInfoHandler",
"version": "$Revision: 1052938 $",
"description": "Registry",
"srcId": "$Id: PluginInfoHandler.java 1052938 2010-12-26 20:21:48Z rmuir $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/handler/admin/PluginInfoHandler.java $",
"docs": null,
"stats": {
"handlerStart": 1516083353227,
"requests": 0,
"errors": 0,
"timeouts": 0,
"totalTime": 0,
"avgTimePerRequest": "NaN",
"avgRequestsPerSecond": 0
}
},
"/admin/file": {
"class": "org.apache.solr.handler.admin.ShowFileRequestHandler",
"version": "$Revision: 1146806 $",
"description": "Admin Get File -- view config files directly",
"srcId": "$Id: ShowFileRequestHandler.java 1146806 2011-07-14 17:01:37Z erick $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/handler/admin/ShowFileRequestHandler.java $",
"docs": null,
"stats": {
"handlerStart": 1516083353227,
"requests": 0,
"errors": 0,
"timeouts": 0,
"totalTime": 0,
"avgTimePerRequest": "NaN",
"avgRequestsPerSecond": 0
}
},
"/update/javabin": {
"class": "org.apache.solr.handler.BinaryUpdateRequestHandler",
"version": "$Revision: 1165749 $",
"description": "Add/Update multiple documents with javabin format",
"srcId": "$Id: BinaryUpdateRequestHandler.java 1165749 2011-09-06 16:20:07Z janhoy $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/handler/BinaryUpdateRequestHandler.java $",
"docs": null,
"stats": {
"handlerStart": 1516083353158,
"requests": 0,
"errors": 0,
"timeouts": 0,
"totalTime": 0,
"avgTimePerRequest": "NaN",
"avgRequestsPerSecond": 0
}
},
"/admin/luke": {
"class": "org.apache.solr.handler.admin.LukeRequestHandler",
"version": "$Revision: 1201265 $",
"description": "Lucene Index Browser. Inspired and modeled after Luke: http://www.getopt.org/luke/",
"srcId": "$Id: LukeRequestHandler.java 1201265 2011-11-12 14:09:28Z mikemccand $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/handler/admin/LukeRequestHandler.java $",
"docs": [
"java.net.URL:http://wiki.apache.org/solr/LukeRequestHandler"
],
"stats": {
"handlerStart": 1516083353227,
"requests": 0,
"errors": 0,
"timeouts": 0,
"totalTime": 0,
"avgTimePerRequest": "NaN",
"avgRequestsPerSecond": 0
}
},
"/dataimport": {
"class": "org.apache.solr.handler.dataimport.DataImportHandler",
"version": "1.0",
"description": "Manage data import from databases to Solr",
"srcId": "$Id: DataImportHandler.java 1171306 2011-09-15 22:43:33Z janhoy $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/DataImportHandler.java $",
"docs": null,
"stats": [
"Status",
"IDLE",
"Documents Processed",
"java.util.concurrent.atomic.AtomicLong:1",
"Requests made to DataSource",
"java.util.concurrent.atomic.AtomicLong:2",
"Rows Fetched",
"java.util.concurrent.atomic.AtomicLong:2",
"Documents Deleted",
"java.util.concurrent.atomic.AtomicLong:0",
"Documents Skipped",
"java.util.concurrent.atomic.AtomicLong:0",
"Total Documents Processed",
"java.util.concurrent.atomic.AtomicLong:351705",
"Total Requests made to DataSource",
"java.util.concurrent.atomic.AtomicLong:1438",
"Total Rows Fetched",
"java.util.concurrent.atomic.AtomicLong:876393",
"Total Documents Deleted",
"java.util.concurrent.atomic.AtomicLong:0",
"Total Documents Skipped",
"java.util.concurrent.atomic.AtomicLong:0",
"handlerStart",
1516083353155,
"requests",
2442,
"errors",
0,
"timeouts",
0,
"totalTime",
1748,
"avgTimePerRequest",
0.7158067,
"avgRequestsPerSecond",
0.017792022
]
},
"/update": {
"class": "org.apache.solr.handler.XmlUpdateRequestHandler",
"version": "$Revision: 1165749 $",
"description": "Add documents with XML",
"srcId": "$Id: XmlUpdateRequestHandler.java 1165749 2011-09-06 16:20:07Z janhoy $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/handler/XmlUpdateRequestHandler.java $",
"docs": null,
"stats": {
"handlerStart": 1516083353157,
"requests": 0,
"errors": 0,
"timeouts": 0,
"totalTime": 0,
"avgTimePerRequest": "NaN",
"avgRequestsPerSecond": 0
}
},
"/terms": {
"class": "Lazy[solr.SearchHandler]",
"version": "$Revision: 1086822 $",
"description": "Lazy[solr.SearchHandler]",
"srcId": "$Id: RequestHandlers.java 1086822 2011-03-30 02:23:07Z koji $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/core/RequestHandlers.java $",
"docs": null,
"stats": {
"note": "not initialized yet"
}
},
"org.apache.solr.handler.XmlUpdateRequestHandler": {
"class": "org.apache.solr.handler.XmlUpdateRequestHandler",
"version": "$Revision: 1165749 $",
"description": "Add documents with XML",
"srcId": "$Id: XmlUpdateRequestHandler.java 1165749 2011-09-06 16:20:07Z janhoy $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/handler/XmlUpdateRequestHandler.java $",
"docs": null,
"stats": {
"handlerStart": 1516083353157,
"requests": 0,
"errors": 0,
"timeouts": 0,
"totalTime": 0,
"avgTimePerRequest": "NaN",
"avgRequestsPerSecond": 0
}
},
"org.apache.solr.handler.PingRequestHandler": {
"class": "org.apache.solr.handler.PingRequestHandler",
"version": "$Revision: 1142180 $",
"description": "Reports application health to a load-balancer",
"srcId": "$Id: PingRequestHandler.java 1142180 2011-07-02 09:04:29Z uschindler $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/handler/PingRequestHandler.java $",
"docs": null,
"stats": {
"handlerStart": 1516083353163,
"requests": 0,
"errors": 0,
"timeouts": 0,
"totalTime": 0,
"avgTimePerRequest": "NaN",
"avgRequestsPerSecond": 0
}
},
"/admin/threads": {
"class": "org.apache.solr.handler.admin.ThreadDumpHandler",
"version": "$Revision: 1052938 $",
"description": "Thread Dump",
"srcId": "$Id: ThreadDumpHandler.java 1052938 2010-12-26 20:21:48Z rmuir $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/handler/admin/ThreadDumpHandler.java $",
"docs": null,
"stats": {
"handlerStart": 1516083353227,
"requests": 0,
"errors": 0,
"timeouts": 0,
"totalTime": 0,
"avgTimePerRequest": "NaN",
"avgRequestsPerSecond": 0
}
},
"org.apache.solr.handler.BinaryUpdateRequestHandler": {
"class": "org.apache.solr.handler.BinaryUpdateRequestHandler",
"version": "$Revision: 1165749 $",
"description": "Add/Update multiple documents with javabin format",
"srcId": "$Id: BinaryUpdateRequestHandler.java 1165749 2011-09-06 16:20:07Z janhoy $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/handler/BinaryUpdateRequestHandler.java $",
"docs": null,
"stats": {
"handlerStart": 1516083353158,
"requests": 0,
"errors": 0,
"timeouts": 0,
"totalTime": 0,
"avgTimePerRequest": "NaN",
"avgRequestsPerSecond": 0
}
},
"org.apache.solr.handler.dataimport.DataImportHandler": {
"class": "org.apache.solr.handler.dataimport.DataImportHandler",
"version": "1.0",
"description": "Manage data import from databases to Solr",
"srcId": "$Id: DataImportHandler.java 1171306 2011-09-15 22:43:33Z janhoy $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/DataImportHandler.java $",
"docs": null,
"stats": [
"Status",
"IDLE",
"Documents Processed",
"java.util.concurrent.atomic.AtomicLong:1",
"Requests made to DataSource",
"java.util.concurrent.atomic.AtomicLong:2",
"Rows Fetched",
"java.util.concurrent.atomic.AtomicLong:2",
"Documents Deleted",
"java.util.concurrent.atomic.AtomicLong:0",
"Documents Skipped",
"java.util.concurrent.atomic.AtomicLong:0",
"Total Documents Processed",
"java.util.concurrent.atomic.AtomicLong:351705",
"Total Requests made to DataSource",
"java.util.concurrent.atomic.AtomicLong:1438",
"Total Rows Fetched",
"java.util.concurrent.atomic.AtomicLong:876393",
"Total Documents Deleted",
"java.util.concurrent.atomic.AtomicLong:0",
"Total Documents Skipped",
"java.util.concurrent.atomic.AtomicLong:0",
"handlerStart",
1516083353155,
"requests",
2442,
"errors",
0,
"timeouts",
0,
"totalTime",
1748,
"avgTimePerRequest",
0.7158067,
"avgRequestsPerSecond",
0.017792022
]
},
"/analysis/field": {
"class": "Lazy[solr.FieldAnalysisRequestHandler]",
"version": "$Revision: 1086822 $",
"description": "Lazy[solr.FieldAnalysisRequestHandler]",
"srcId": "$Id: RequestHandlers.java 1086822 2011-03-30 02:23:07Z koji $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/core/RequestHandlers.java $",
"docs": null,
"stats": {
"note": "not initialized yet"
}
},
"/browse": {
"class": "org.apache.solr.handler.component.SearchHandler",
"version": "$Revision: 1052938 $",
"description": "Search using components: org.apache.solr.handler.component.QueryComponent,org.apache.solr.handler.component.FacetComponent,org.apache.solr.handler.component.MoreLikeThisComponent,org.apache.solr.handler.component.HighlightComponent,org.apache.solr.handler.component.StatsComponent,org.apache.solr.handler.component.SpellCheckComponent,org.apache.solr.handler.component.DebugComponent,",
"srcId": "$Id: SearchHandler.java 1052938 2010-12-26 20:21:48Z rmuir $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/handler/component/SearchHandler.java $",
"docs": null,
"stats": {
"handlerStart": 1516083353156,
"requests": 0,
"errors": 0,
"timeouts": 0,
"totalTime": 0,
"avgTimePerRequest": "NaN",
"avgRequestsPerSecond": 0
}
},
"/admin/ping": {
"class": "org.apache.solr.handler.PingRequestHandler",
"version": "$Revision: 1142180 $",
"description": "Reports application health to a load-balancer",
"srcId": "$Id: PingRequestHandler.java 1142180 2011-07-02 09:04:29Z uschindler $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/handler/PingRequestHandler.java $",
"docs": null,
"stats": {
"handlerStart": 1516083353163,
"requests": 0,
"errors": 0,
"timeouts": 0,
"totalTime": 0,
"avgTimePerRequest": "NaN",
"avgRequestsPerSecond": 0
}
},
"/admin/mbeans": {
"class": "org.apache.solr.handler.admin.SolrInfoMBeanHandler",
"version": "$Revision: 1065312 $",
"description": "Get Info (and statistics) about all registered SolrInfoMBeans",
"srcId": "$Id: SolrInfoMBeanHandler.java 1065312 2011-01-30 16:08:25Z rmuir $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/handler/admin/SolrInfoMBeanHandler.java $",
"docs": null,
"stats": {
"handlerStart": 1516083353227,
"requests": 1078,
"errors": 0,
"timeouts": 0,
"totalTime": 547,
"avgTimePerRequest": 0.50742114,
"avgRequestsPerSecond": 0.00785414
}
},
"/analysis/document": {
"class": "Lazy[solr.DocumentAnalysisRequestHandler]",
"version": "$Revision: 1086822 $",
"description": "Lazy[solr.DocumentAnalysisRequestHandler]",
"srcId": "$Id: RequestHandlers.java 1086822 2011-03-30 02:23:07Z koji $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/core/RequestHandlers.java $",
"docs": null,
"stats": {
"note": "not initialized yet"
}
},
"search": {
"class": "org.apache.solr.handler.component.SearchHandler",
"version": "$Revision: 1052938 $",
"description": "Search using components: org.apache.solr.handler.component.QueryComponent,org.apache.solr.handler.component.FacetComponent,org.apache.solr.handler.component.MoreLikeThisComponent,org.apache.solr.handler.component.HighlightComponent,org.apache.solr.handler.component.StatsComponent,org.apache.solr.handler.component.DebugComponent,",
"srcId": "$Id: SearchHandler.java 1052938 2010-12-26 20:21:48Z rmuir $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/handler/component/SearchHandler.java $",
"docs": null,
"stats": {
"handlerStart": 1516083353156,
"requests": 0,
"errors": 0,
"timeouts": 0,
"totalTime": 0,
"avgTimePerRequest": "NaN",
"avgRequestsPerSecond": 0
}
},
"/update/csv": {
"class": "Lazy[solr.CSVRequestHandler]",
"version": "$Revision: 1086822 $",
"description": "Lazy[solr.CSVRequestHandler]",
"srcId": "$Id: RequestHandlers.java 1086822 2011-03-30 02:23:07Z koji $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/core/RequestHandlers.java $",
"docs": null,
"stats": {
"note": "not initialized yet"
}
},
"/update/json": {
"class": "Lazy[solr.JsonUpdateRequestHandler]",
"version": "$Revision: 1086822 $ :: $Revision: 1102081 $",
"description": "Add documents with JSON",
"srcId": "$Id: RequestHandlers.java 1086822 2011-03-30 02:23:07Z koji $ :: $Id: JsonUpdateRequestHandler.java 1102081 2011-05-11 20:37:04Z yonik $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/core/RequestHandlers.java $\n$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/handler/JsonUpdateRequestHandler.java $",
"docs": null,
"stats": {
"handlerStart": 1516103486630,
"requests": 2530,
"errors": 26,
"timeouts": 0,
"totalTime": 132438,
"avgTimePerRequest": 52.347034,
"avgRequestsPerSecond": 0.02160195
}
},
"/admin/": {
"class": "org.apache.solr.handler.admin.AdminHandlers",
"version": "$Revision: 953887 $",
"description": "Register Standard Admin Handlers",
"srcId": "$Id: AdminHandlers.java 953887 2010-06-11 21:53:43Z hossman $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/handler/admin/AdminHandlers.java $",
"docs": null,
"stats": null
},
"standard": {
"class": "org.apache.solr.handler.component.SearchHandler",
"version": "$Revision: 1052938 $",
"description": "Search using components: org.apache.solr.handler.component.QueryComponent,org.apache.solr.handler.component.FacetComponent,org.apache.solr.handler.component.MoreLikeThisComponent,org.apache.solr.handler.component.HighlightComponent,org.apache.solr.handler.component.StatsComponent,org.apache.solr.handler.component.DebugComponent,",
"srcId": "$Id: SearchHandler.java 1052938 2010-12-26 20:21:48Z rmuir $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/handler/component/SearchHandler.java $",
"docs": null,
"stats": {
"handlerStart": 1516083353155,
"requests": 11480,
"errors": 0,
"timeouts": 0,
"totalTime": 318753,
"avgTimePerRequest": 27.765942,
"avgRequestsPerSecond": 0.08364145
}
},
"org.apache.solr.handler.admin.AdminHandlers": {
"class": "org.apache.solr.handler.admin.AdminHandlers",
"version": "$Revision: 953887 $",
"description": "Register Standard Admin Handlers",
"srcId": "$Id: AdminHandlers.java 953887 2010-06-11 21:53:43Z hossman $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/handler/admin/AdminHandlers.java $",
"docs": null,
"stats": null
},
"tvrh": {
"class": "Lazy[solr.SearchHandler]",
"version": "$Revision: 1086822 $",
"description": "Lazy[solr.SearchHandler]",
"srcId": "$Id: RequestHandlers.java 1086822 2011-03-30 02:23:07Z koji $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/core/RequestHandlers.java $",
"docs": null,
"stats": {
"note": "not initialized yet"
}
},
"org.apache.solr.handler.DumpRequestHandler": {
"class": "org.apache.solr.handler.DumpRequestHandler",
"version": "$Revision: 1067172 $",
"description": "Dump handler (debug)",
"srcId": "$Id: DumpRequestHandler.java 1067172 2011-02-04 12:50:14Z uschindler $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/handler/DumpRequestHandler.java $",
"docs": null,
"stats": {
"handlerStart": 1516083353163,
"requests": 0,
"errors": 0,
"timeouts": 0,
"totalTime": 0,
"avgTimePerRequest": "NaN",
"avgRequestsPerSecond": 0
}
},
"/update/extract": {
"class": "Lazy[solr.extraction.ExtractingRequestHandler]",
"version": "$Revision: 1086822 $",
"description": "Lazy[solr.extraction.ExtractingRequestHandler]",
"srcId": "$Id: RequestHandlers.java 1086822 2011-03-30 02:23:07Z koji $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/core/RequestHandlers.java $",
"docs": null,
"stats": {
"note": "not initialized yet"
}
},
"/admin/properties": {
"class": "org.apache.solr.handler.admin.PropertiesRequestHandler",
"version": "$Revision: 898152 $",
"description": "Get System Properties",
"srcId": "$Id: PropertiesRequestHandler.java 898152 2010-01-12 02:19:56Z ryan $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/handler/admin/PropertiesRequestHandler.java $",
"docs": null,
"stats": {
"handlerStart": 1516083353227,
"requests": 0,
"errors": 0,
"timeouts": 0,
"totalTime": 0,
"avgTimePerRequest": "NaN",
"avgRequestsPerSecond": 0
}
},
"org.apache.solr.handler.component.SearchHandler": {
"class": "org.apache.solr.handler.component.SearchHandler",
"version": "$Revision: 1052938 $",
"description": "Search using components: org.apache.solr.handler.component.QueryComponent,org.apache.solr.handler.component.FacetComponent,org.apache.solr.handler.component.MoreLikeThisComponent,org.apache.solr.handler.component.HighlightComponent,org.apache.solr.handler.component.StatsComponent,org.apache.solr.handler.component.SpellCheckComponent,org.apache.solr.handler.component.DebugComponent,",
"srcId": "$Id: SearchHandler.java 1052938 2010-12-26 20:21:48Z rmuir $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/handler/component/SearchHandler.java $",
"docs": null,
"stats": {
"handlerStart": 1516083353156,
"requests": 0,
"errors": 0,
"timeouts": 0,
"totalTime": 0,
"avgTimePerRequest": "NaN",
"avgRequestsPerSecond": 0
}
},
"/spell": {
"class": "Lazy[solr.SearchHandler]",
"version": "$Revision: 1086822 $",
"description": "Lazy[solr.SearchHandler]",
"srcId": "$Id: RequestHandlers.java 1086822 2011-03-30 02:23:07Z koji $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/core/RequestHandlers.java $",
"docs": null,
"stats": {
"note": "not initialized yet"
}
},
"/debug/dump": {
"class": "org.apache.solr.handler.DumpRequestHandler",
"version": "$Revision: 1067172 $",
"description": "Dump handler (debug)",
"srcId": "$Id: DumpRequestHandler.java 1067172 2011-02-04 12:50:14Z uschindler $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/handler/DumpRequestHandler.java $",
"docs": null,
"stats": {
"handlerStart": 1516083353163,
"requests": 0,
"errors": 0,
"timeouts": 0,
"totalTime": 0,
"avgTimePerRequest": "NaN",
"avgRequestsPerSecond": 0
}
}
},
"UPDATEHANDLER",
{
"updateHandler": {
"class": "org.apache.solr.update.DirectUpdateHandler2",
"version": "1.0",
"description": "Update handler that efficiently directly updates the on-disk main lucene index",
"srcId": "$Id: DirectUpdateHandler2.java 1203770 2011-11-18 17:55:52Z mikemccand $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/update/DirectUpdateHandler2.java $",
"docs": null,
"stats": {
"commits": 3220,
"autocommits": 0,
"optimizes": 3,
"rollbacks": 0,
"expungeDeletes": 0,
"docsPending": 0,
"adds": 0,
"deletesById": 0,
"deletesByQuery": 0,
"errors": 0,
"cumulative_adds": 354209,
"cumulative_deletesById": 0,
"cumulative_deletesByQuery": 3,
"cumulative_errors": 0
}
}
},
"CACHE",
{
"queryResultCache": {
"class": "org.apache.solr.search.LRUCache",
"version": "1.0",
"description": "LRU Cache(maxSize=512, initialSize=512)",
"srcId": "$Id: LRUCache.java 1065312 2011-01-30 16:08:25Z rmuir $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/search/LRUCache.java $",
"docs": null,
"stats": {
"lookups": 4,
"hits": 2,
"hitratio": "0.50",
"inserts": 2,
"evictions": 0,
"size": 2,
"warmupTime": 0,
"cumulative_lookups": 10630,
"cumulative_hits": 5509,
"cumulative_hitratio": "0.51",
"cumulative_inserts": 5626,
"cumulative_evictions": 0
}
},
"fieldCache": {
"class": "org.apache.solr.search.SolrFieldCacheMBean",
"version": "1.0",
"description": "Provides introspection of the Lucene FieldCache, this is **NOT** a cache that is managed by Solr.",
"srcId": "$Id: SolrFieldCacheMBean.java 984594 2010-08-11 21:42:04Z yonik $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/search/SolrFieldCacheMBean.java $",
"docs": null,
"stats": {
"entries_count": 174,
"entry#0": "'MMapIndexInput(path=\"/usr/solrData/search/index/_9eir.frq\")'=>'latlng_0_coordinate',double,org.apache.lucene.search.FieldCache.NUMERIC_UTILS_DOUBLE_PARSER=>[D#661647869",
"insanity_count": 1,
"insanity#0": "SUBREADER: Found caches for descendants of ReadOnlyDirectoryReader(segments_1wo _3kl(3.5):C133115/12 _3kw(3.5):C17/2 _3kx(3.5):C6 _3ky(3.5):C1 _3kz(3.5):C2 _3l0(3.5):C2 _3l1(3.5):C1 _3l2(3.5):C1 _3l3(3.5):C1 _3l4(3.5):C1)+owner\n\t'ReadOnlyDirectoryReader(segments_1wo _3kl(3.5):C133115/12 _3kw(3.5):C17/2 _3kx(3.5):C6 _3ky(3.5):C1 _3kz(3.5):C2 _3l0(3.5):C2 _3l1(3.5):C1 _3l2(3.5):C1 _3l3(3.5):C1 _3l4(3.5):C1)'=>'owner',class org.apache.lucene.search.FieldCache$StringIndex,null=>org.apache.lucene.search.FieldCache$StringIndex#927712538\n\t'MMapIndexInput(path=\"/usr/solrData/search/index/_3kx.frq\")'=>'owner',class org.apache.lucene.search.FieldCache$StringIndex,null=>org.apache.lucene.search.FieldCache$StringIndex#969886745\n\t'MMapIndexInput(path=\"/usr/solrData/search/index/_3kz.frq\")'=>'owner',class org.apache.lucene.search.FieldCache$StringIndex,null=>org.apache.lucene.search.FieldCache$StringIndex#495952608\n\t'MMapIndexInput(path=\"/usr/solrData/search/index/_3ky.frq\")'=>'owner',class org.apache.lucene.search.FieldCache$StringIndex,null=>org.apache.lucene.search.FieldCache$StringIndex#1581258843\n\t'MMapIndexInput(path=\"/usr/solrData/search/index/_3l1.frq\")'=>'owner',class org.apache.lucene.search.FieldCache$StringIndex,null=>org.apache.lucene.search.FieldCache$StringIndex#359550090\n\t'MMapIndexInput(path=\"/usr/solrData/search/index/_3kl.frq\")'=>'owner',class org.apache.lucene.search.FieldCache$StringIndex,null=>org.apache.lucene.search.FieldCache$StringIndex#1748227582\n\t'MMapIndexInput(path=\"/usr/solrData/search/index/_3l4.frq\")'=>'owner',class org.apache.lucene.search.FieldCache$StringIndex,null=>org.apache.lucene.search.FieldCache$StringIndex#1084424163\n\t'MMapIndexInput(path=\"/usr/solrData/search/index/_3l3.frq\")'=>'owner',class org.apache.lucene.search.FieldCache$StringIndex,null=>org.apache.lucene.search.FieldCache$StringIndex#1116912780\n\t'MMapIndexInput(path=\"/usr/solrData/search/index/_3l0.frq\")'=>'owner',class org.apache.lucene.search.FieldCache$StringIndex,null=>org.apache.lucene.search.FieldCache$StringIndex#1187916045\n\t'MMapIndexInput(path=\"/usr/solrData/search/index/_3l2.frq\")'=>'owner',class org.apache.lucene.search.FieldCache$StringIndex,null=>org.apache.lucene.search.FieldCache$StringIndex#62119827\n\t'MMapIndexInput(path=\"/usr/solrData/search/index/_3kw.frq\")'=>'owner',class org.apache.lucene.search.FieldCache$StringIndex,null=>org.apache.lucene.search.FieldCache$StringIndex#1756606907\n"
}
},
"documentCache": {
"class": "org.apache.solr.search.LRUCache",
"version": "1.0",
"description": "LRU Cache(maxSize=512, initialSize=512)",
"srcId": "$Id: LRUCache.java 1065312 2011-01-30 16:08:25Z rmuir $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/search/LRUCache.java $",
"docs": null,
"stats": {
"lookups": 0,
"hits": 0,
"hitratio": "0.00",
"inserts": 0,
"evictions": 0,
"size": 0,
"warmupTime": 0,
"cumulative_lookups": 180435,
"cumulative_hits": 22584,
"cumulative_hitratio": "0.12",
"cumulative_inserts": 157851,
"cumulative_evictions": 40344
}
},
"fieldValueCache": {
"class": "org.apache.solr.search.FastLRUCache",
"version": "1.0",
"description": "Concurrent LRU Cache(maxSize=10000, initialSize=10, minSize=9000, acceptableSize=9500, cleanupThread=false)",
"srcId": "$Id: FastLRUCache.java 1170772 2011-09-14 19:09:56Z sarowe $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/search/FastLRUCache.java $",
"docs": null,
"stats": {
"lookups": 5,
"hits": 3,
"hitratio": "0.60",
"inserts": 1,
"evictions": 0,
"size": 1,
"warmupTime": 0,
"cumulative_lookups": 8529,
"cumulative_hits": 5432,
"cumulative_hitratio": "0.63",
"cumulative_inserts": 1437,
"cumulative_evictions": 0,
"item_parentCompanyId": "{field=parentCompanyId,memSize=785156,tindexSize=13056,time=136,phase1=135,nTerms=75696,bigTerms=0,termInstances=117166,uses=4}"
}
},
"filterCache": {
"class": "org.apache.solr.search.FastLRUCache",
"version": "1.0",
"description": "Concurrent LRU Cache(maxSize=512, initialSize=512, minSize=460, acceptableSize=486, cleanupThread=false)",
"srcId": "$Id: FastLRUCache.java 1170772 2011-09-14 19:09:56Z sarowe $",
"src": "$URL: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/solr/core/src/java/org/apache/solr/search/FastLRUCache.java $",
"docs": null,
"stats": {
"lookups": 2,
"hits": 2,
"hitratio": "1.00",
"inserts": 2,
"evictions": 0,
"size": 2,
"warmupTime": 0,
"cumulative_lookups": 4041,
"cumulative_hits": 4041,
"cumulative_hitratio": "1.00",
"cumulative_inserts": 2828,
"cumulative_evictions": 0
}
}
}
]
}
`
var solr3CoreExpected = map[string]interface{}{
"num_docs": int64(117166),
"max_docs": int64(117305),
"deleted_docs": int64(0),
}
var solr3QueryHandlerExpected = map[string]interface{}{
"15min_rate_reqs_per_second": float64(0),
"5min_rate_reqs_per_second": float64(0),
"75th_pc_request_time": float64(0),
"95th_pc_request_time": float64(0),
"999th_pc_request_time": float64(0),
"99th_pc_request_time": float64(0),
"avg_requests_per_second": float64(0),
"avg_time_per_request": float64(0),
"errors": int64(0),
"handler_start": int64(1516083353156),
"median_request_time": float64(0),
"requests": int64(0),
"timeouts": int64(0),
"total_time": float64(0),
}
var solr3UpdateHandlerExpected = map[string]interface{}{
"adds": int64(0),
"autocommit_max_docs": int64(0),
"autocommit_max_time": int64(0),
"autocommits": int64(0),
"commits": int64(3220),
"cumulative_adds": int64(354209),
"cumulative_deletes_by_id": int64(0),
"cumulative_deletes_by_query": int64(3),
"cumulative_errors": int64(0),
"deletes_by_id": int64(0),
"deletes_by_query": int64(0),
"docs_pending": int64(0),
"errors": int64(0),
"expunge_deletes": int64(0),
"optimizes": int64(3),
"rollbacks": int64(0),
"soft_autocommits": int64(0),
}
var solr3CacheExpected = map[string]interface{}{
"cumulative_evictions": int64(0),
"cumulative_hitratio": float64(1.00),
"cumulative_hits": int64(4041),
"cumulative_inserts": int64(2828),
"cumulative_lookups": int64(4041),
"evictions": int64(0),
"hitratio": float64(1.00),
"hits": int64(2),
"inserts": int64(2),
"lookups": int64(2),
"size": int64(2),
"warmup_time": int64(0),
}