Package org.apache.solr.util
package org.apache.solr.util
Common utility classes used throughout Solr
-
ClassDescriptionSimple utilities for working Hostname/IP AddressesA TreeSet that ensures it never grows beyond a max size.ConcurrentLRUCache<K,
V> A LRU cache implementation based upon ConcurrentHashMap and other techniques to reduce contention and synchronization overhead to utilize multiple CPU cores more effectively.A utility class with helpers for various signature and certificate tasksConfigNode impl that applies property substitutions on access.A Simple Utility class for parsing "math" like strings relating to Dates.Used with a spatial field type for all distance measurements.Read using DOMAn efficient map for storing keys as integer in range from 0..n with n can be estimated up-front.Utility class to guess the mime type of file based on its magic number.Represents an operation that accepts a singlefloat-valued argument and returns no result.Helper class for generating unique ID-s.Wraps anIndexOutputto expose it as anOutputStream.IOFunction<T,R> A Function that may throw an IOExceptionUtility methods to find a MBeanServer.Along-based iterator.A native long priority queue.MapListener<K,V> Wraps another map, keeping track of each key that was seen viaMapListener.get(Object)orMapListener.remove(Object).Deprecated.Parses the list of modules the user has requested in solr.xml, property solr.modules or environment SOLR_MODULES.Enum for modeling the elements of a (nested) pivot entry as expressed in a NamedListUtilities for primitive Java data types.RefCounted<Type>Keep track of a reference count on a resource and close it when the count hits zero.Accepts any file whose name matches the patternA simple timer.A recursive timer.Some utility methods for parsing XML in a safe way.this class provides a mapping between Solr'sJsonPropertyannotation to a corresponding annotation in jackson see SOLR-13841 for more detailsUtilities that may be of use to RequestHandlers.A subclass of SolrQueryParser that supports aliasing fields for constructing DisjunctionMaxQueries.A simple container for storing alias infoUtility methods pertaining to spatial.Handles programmatic modification of logging during startupThis is a helper class to support resolving of XIncludes or other hrefs inside XML files on top of aResourceLoader.Allows random faults to be injected in running code during test runs.Allows tracking information about the current thread using the JVM's built-in management beanThreadMXBean.Timeout tool to ease checking time left, time elapsed, and waiting on a condition.Simple utilities for working with TimeZones