Enumeration<NetworkInterface> interfaces = NetworkInterface.getNetworkInterfaces(); while (interfaces.hasMoreElements()) { NetworkInterface nic = interfaces.nextElement(); System.out.print("Interface Name : [" + nic.getDisplayName() + "]"); System.out.println(", Is connected : [" + nic.isUp() + "]"); }Additionally several new useful methods such as isLoopBack(), isPointToPoint() and many more have been added in JDK 1.6 release. Refer to the Javadocs for more information on NetworkInterface class in java.net package.
SOLR: Non English (Latin) Characters in Field Name
-
The SOLR documentation mentions following requirement for defining name of
a field.
*name*
*The name of the field. Field names should consist of alphanumer...
4 years ago