protected void addPathValue ( Document doc , String fieldName , Object pathString ) { doc . add ( createFieldWithoutNorms ( fieldName , pathString . toString ( ) , PropertyType . PATH ) ) ; }
Adds the path value to the document as the named field . The path value is converted to an indexable string value using the name space mappings with which this class has been created .