code: private static Term getLowerTerm(String lowerName) {
          String text;
          if (lowerName == null) {
              text = "";
          } else {
              text = lowerName;
          }
          return new Term(FieldNames.LOCAL_NAME, text);
      }
docs: Creates a {@link Term} for the lower bound local name.
  
  @param lowerName the lower bound local name.
  @return a {@link Term} for the lower bound local name.