code: protected void addNameValue(Document doc, String fieldName, Object internalValue)
     {
        doc.add(createFieldWithoutNorms(fieldName, internalValue.toString(), PropertyType.NAME));
     }
docs: Adds the name value to the document as the named field. The name
  value is converted to an indexable string treating the internal value
  as a qualified name and mapping the name space using the name space
  mappings with which this class has been created.
  
  @param doc           The document to which to add the field
  @param fieldName     The name of the field to add
  @param internalValue The value for the field to add to the document.