Class CloudSearchUtils


  • public class CloudSearchUtils
    extends Object
    • Constructor Detail

      • CloudSearchUtils

        public CloudSearchUtils()
    • Method Detail

      • getID

        public static String getID​(String url)
        Returns a normalised doc ID based on the URL of a document
        Parameters:
        url - the document url to obtain an ID for
        Returns:
        A unique ID for the document. A document ID can contain any letter or number and the following characters: _ - = # ; : / ? @ &. Document IDs must be at least 1 and no more than 128 characters long.
        See Also:
        creating-document-batches
      • stripNonCharCodepoints

        public static String stripNonCharCodepoints​(String input)