List of usage examples for org.apache.lucene.util StringHelper idToString
public static String idToString(byte id[])
Returns the string (null) if the id is null.
From source file:org.apache.solr.util.IdUtils.java
License:Apache License
/** * Generate a short random id (see {@link StringHelper#randomId()}). */// w w w. ja v a2 s. c om public static final String randomId() { return StringHelper.idToString(StringHelper.randomId()); }