05efcbc9284b114e60b594a0ac6c2a4098dd2b94
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 1
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Method | 9 | ||
Extract Method private recordEsMetrics(r SearchResponse, range TimeRange) : void extracted from public count(query String, range TimeRange, filter String) : CountResult in class org.graylog2.indexer.searches.Searches | From | To | |
Extract Method private recordEsMetrics(r SearchResponse, range TimeRange) : void extracted from public scroll(query String, range TimeRange, limit int, offset int, fields List<String>, filter String) : ScrollResult in class org.graylog2.indexer.searches.Searches | From | To | |
Extract Method private recordEsMetrics(r SearchResponse, range TimeRange) : void extracted from private oneOfIndex(index String, q QueryBuilder, sort SortOrder) : SearchHit in class org.graylog2.indexer.searches.Searches | From | To | |
Extract Method private recordEsMetrics(r SearchResponse, range TimeRange) : void extracted from public search(config SearchesConfig) : SearchResult in class org.graylog2.indexer.searches.Searches | From | To | |
Extract Method private recordEsMetrics(r SearchResponse, range TimeRange) : void extracted from public terms(field String, size int, query String, filter String, range TimeRange) : TermsResult in class org.graylog2.indexer.searches.Searches | From | To | |
Extract Method private recordEsMetrics(r SearchResponse, range TimeRange) : void extracted from public histogram(query String, interval DateHistogramInterval, filter String, range TimeRange) : HistogramResult in class org.graylog2.indexer.searches.Searches | From | To | |
Extract Method private recordEsMetrics(r SearchResponse, range TimeRange) : void extracted from public termsStats(keyField String, valueField String, order TermsStatsOrder, size int, query String, filter String, range TimeRange) : TermsStatsResult in class org.graylog2.indexer.searches.Searches | From | To | |
Extract Method private recordEsMetrics(r SearchResponse, range TimeRange) : void extracted from public fieldHistogram(query String, field String, interval DateHistogramInterval, filter String, range TimeRange, includeCardinality boolean) : HistogramResult in class org.graylog2.indexer.searches.Searches | From | To | |
Extract Method private recordEsMetrics(r SearchResponse, range TimeRange) : void extracted from public fieldStats(field String, query String, filter String, range TimeRange, includeCardinality boolean, onlyCardinality boolean) : FieldStatsResult in class org.graylog2.indexer.searches.Searches | From | To |