Package org.springframework.data.solr
Class VersionUtil
java.lang.Object
org.springframework.data.solr.VersionUtil
Version util uses
ClassUtils.isPresent(String, ClassLoader) to determine presence of
certain classes that are unique to some libraries, which allows to en-/disable some of the features in eg.
DefaultQueryParser.-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic boolean
-
Method Details
-
isJodaTimeAvailable
public static boolean isJodaTimeAvailable()- Returns:
- true if
org.joda.time.DateTimeis in path
-
isIsSolr7
public static boolean isIsSolr7()- Returns:
- true if Solr7 is on the classpath.
- Since:
- 4.0
-