Class MCRSolrUtils

java.lang.Object
org.mycore.solr.MCRSolrUtils

public class MCRSolrUtils extends Object
Author:
Thomas Scheffler (yagee)
  • Constructor Details

    • MCRSolrUtils

      public MCRSolrUtils()
  • Method Details

    • escapeSearchValue

      public static String escapeSearchValue(String value)
      Escapes characters in search values that need to be escaped for SOLR.
      Parameters:
      value - any value to look for in a field
      Returns:
      null if value is null
      See Also:
    • useNestedDocuments

      public static boolean useNestedDocuments()
      Checks if the application uses nested documents. If so, each reindex requires an extra deletion. Using nested documents slows the solr index performance.
      Returns:
      true if nested documents are used, otherwise false
    • getCoreConfigMissingException

      public static MCRConfigurationException getCoreConfigMissingException(String coreID)