@Override public IndexableField createField(SchemaField field,Object value,float boost){
  throw new UnsupportedOperationException("PointType uses multiple fields.  field=" + field.getName());
}

@ Override public IndexableField createField ( SchemaField field , Object value , float boost ) { throw new UnsupportedOperationException ( "PointType uses multiple fields.  field=" + field . getName ( ) ) ; }
it never makes sense to create a single field , so make it impossible to happen by throwing unsupportedoperationexception
